From e0cec5a0731a687ec77d1dda8def8fe18a1cd611 Mon Sep 17 00:00:00 2001 From: Julian Viereck Date: Sat, 21 May 2011 11:43:37 +0200 Subject: [PATCH] Style the Ace Bookmarklet Build page --- Makefile.dryice.js | 5 + build_support/editor_textarea.html | 62 ++++---- build_support/style.css | 230 +++++++++++++++++++++++++++++ 3 files changed, 270 insertions(+), 27 deletions(-) create mode 100644 build_support/style.css diff --git a/Makefile.dryice.js b/Makefile.dryice.js index 2335fb77..94d1ad9c 100755 --- a/Makefile.dryice.js +++ b/Makefile.dryice.js @@ -21,6 +21,7 @@ * * Contributor(s): * Fabian Jakobs + * Julian Viereck * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -94,6 +95,10 @@ if (target == "normal") { source: "build_support/editor_textarea.html", dest: targetDir + '/editor.html' }); + copy({ + source: "build_support/style.css", + dest: targetDir + '/style.css' + }); } var project = copy.createCommonJsProject(aceProject); diff --git a/build_support/editor_textarea.html b/build_support/editor_textarea.html index 82a8f990..a4d4da65 100644 --- a/build_support/editor_textarea.html +++ b/build_support/editor_textarea.html @@ -3,37 +3,45 @@ - Editor + + Ace Bookmarklet Builder -

Ace Bookmarklet Builder

+
+
+
+
+ SourceUrl:
+
+
+
+
+

Ace Bookmarklet Builder

-

-WARNING: Currently, this is only fully supported in non IE browsers. -

+

+ WARNING: Currently, this is only supported in non IE browsers. +

-

-How to use it: -

    -
  • Select the options below as you want them to be by default.
  • -
  • Enter the "SourceUrl" where you placed the source data which you find under build/textarea/src (you can also leave the default to server the scripts from GitHub).
  • -
  • Click the "Build Link" button to generate your custom Ace Bookmarklet.
  • -
  • Drag the generated link to your toolbar or store it somewhere else.
  • -
  • Go to a page with an textarea element and click the bookmarklet - wait a little bit till the files are loaded.
  • -
  • Click 3 times on the textarea you want to replace - Ace will replace it.
  • -
  • To change settings, just click the red icon in the bottom right corner.
  • -
-

- -
-SourceUrl: - -
+

How to use it:

+
    +
  • Select the options as you want them to be by default.
  • +
  • Enter the "SourceUrl". This has to be the URL pointing to build/textarea/src/ (you can leave the default to server the scripts from GitHub).
  • +
  • Click the "Build Link" button to generate your custom Ace Bookmarklet.
  • +
  • Drag the generated link to your toolbar or store it somewhere else.
  • +
  • Go to a page with a textarea element and click the bookmarklet - wait a little bit till the files are loaded.
  • +
  • Click three times on the textarea you want to replace - Ace will replace it.
  • +
  • To change settings, just click the red icon in the bottom right corner.
  • +
+
+
+