From e47e83cf6bded3d1924b4d500193e7876833ef83 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 2 Jul 2017 13:03:43 -0400 Subject: Created admin panel Currently allows you to create and edit blogs, including associated records. Uses a WYSIWYG editor that allows uploading images. Also included jQuery :( --- .../ckeditor/plugins/image2/dev/assets/image1.jpg | Bin 0 -> 34316 bytes .../ckeditor/plugins/image2/dev/assets/image2.jpg | Bin 0 -> 27711 bytes .../ckeditor/plugins/image2/dev/contents.css | 35 +++ .../ckeditor/plugins/image2/dev/image2.html | 339 +++++++++++++++++++++ 4 files changed, 374 insertions(+) create mode 100644 app/assets/javascripts/ckeditor/plugins/image2/dev/assets/image1.jpg create mode 100644 app/assets/javascripts/ckeditor/plugins/image2/dev/assets/image2.jpg create mode 100644 app/assets/javascripts/ckeditor/plugins/image2/dev/contents.css create mode 100644 app/assets/javascripts/ckeditor/plugins/image2/dev/image2.html (limited to 'app/assets/javascripts/ckeditor/plugins/image2/dev') diff --git a/app/assets/javascripts/ckeditor/plugins/image2/dev/assets/image1.jpg b/app/assets/javascripts/ckeditor/plugins/image2/dev/assets/image1.jpg new file mode 100644 index 0000000..2fe79eb Binary files /dev/null and b/app/assets/javascripts/ckeditor/plugins/image2/dev/assets/image1.jpg differ diff --git a/app/assets/javascripts/ckeditor/plugins/image2/dev/assets/image2.jpg b/app/assets/javascripts/ckeditor/plugins/image2/dev/assets/image2.jpg new file mode 100644 index 0000000..453ece5 Binary files /dev/null and b/app/assets/javascripts/ckeditor/plugins/image2/dev/assets/image2.jpg differ diff --git a/app/assets/javascripts/ckeditor/plugins/image2/dev/contents.css b/app/assets/javascripts/ckeditor/plugins/image2/dev/contents.css new file mode 100644 index 0000000..ef29f02 --- /dev/null +++ b/app/assets/javascripts/ckeditor/plugins/image2/dev/contents.css @@ -0,0 +1,35 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +.cke_widget_wrapper:hover:after { + content: "id: " attr(data-cke-widget-id); + position: absolute; + top: 0; + right: 0; + padding: 2px 4px; + background: #EEE; + border: solid 1px #DDD; + border-radius: 2px; + color: #BBB; + font: bold 10px sans-serif; +} + +.align-left { + float: left; + margin-right: 20px; +} + +.align-right { + float: right; + margin-left: 20px; +} + +.align-center { + text-align: center; +} + +.align-center > figure { + display: inline-block; +} diff --git a/app/assets/javascripts/ckeditor/plugins/image2/dev/image2.html b/app/assets/javascripts/ckeditor/plugins/image2/dev/image2.html new file mode 100644 index 0000000..1070a6e --- /dev/null +++ b/app/assets/javascripts/ckeditor/plugins/image2/dev/image2.html @@ -0,0 +1,339 @@ + + + + + + Widget Image — CKEditor Sample + + + + + + + + + + + + +

+ CKEditor Samples » Widget Image +

+ +

Classic (iframe-based) Sample

+ + + +

Inline Sample

+ +
+

Apollo 11

+ +
+ Saturn V +
Roll out of Saturn V on launch pad
+
+ +

Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.

+ +

Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.

+ +

Broadcasting and quotes

+ +

Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:

+ +
+

One small step for [a] man, one giant leap for mankind.

+
+ +

Apollo 11 effectively ended the Space Race and fulfilled a national goal proposed in 1961 by the late U.S. President John F. Kennedy in a speech before the United States Congress:

+ +
+

[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.

+
+ +
+ The Eagle +
The Eagle in lunar orbit
+
+ +

Technical details

+ +

Launched by a Saturn V rocket from Kennedy Space Center in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of NASA's Apollo program. The Apollo spacecraft had three parts:

+ +
    +
  1. Command Module with a cabin for the three astronauts which was the only part which landed back on Earth
  2. +
  3. Service Module which supported the Command Module with propulsion, electrical power, oxygen and water
  4. +
  5. Lunar Module for landing on the Moon.
  6. +
+ +

After being sent to the Moon by the Saturn V's upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the Sea of Tranquility. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the Pacific Ocean on July 24.

+ +

+ Saturn V +

+ +
+

Source: Wikipedia.org

+
+ +

Div Editing Area Sample

+ + + +

alignClasses samples

+ + + +

+ + +

+ + + + + + -- cgit 1.4.1