From 3a51140295f243e36635e2dad38ba389d4755447 Mon Sep 17 00:00:00 2001 From: Egil Moeller Date: Sat, 27 Mar 2010 20:20:53 +0100 Subject: More styling --- .../twitterStyleTags/static/css/tagBrowser.css | 4 +- .../twitterStyleTags/templates/tagBrowser.ejs | 50 ++++++++++++++-------- 2 files changed, 36 insertions(+), 18 deletions(-) diff --git a/etherpad/src/plugins/twitterStyleTags/static/css/tagBrowser.css b/etherpad/src/plugins/twitterStyleTags/static/css/tagBrowser.css index c9d85e0..5dfa45f 100644 --- a/etherpad/src/plugins/twitterStyleTags/static/css/tagBrowser.css +++ b/etherpad/src/plugins/twitterStyleTags/static/css/tagBrowser.css @@ -27,13 +27,15 @@ h1 { #editorcontainer { overflow: auto; + padding: 5pt; } .query-refiner { float: right; padding: 10pt; - margin: 5pt; + margin-left: 5pt; + margin-bottom: 5pt; border: 1px solid #9C9C9C; width: 40%; } diff --git a/etherpad/src/plugins/twitterStyleTags/templates/tagBrowser.ejs b/etherpad/src/plugins/twitterStyleTags/templates/tagBrowser.ejs index 74f721a..61c8e93 100644 --- a/etherpad/src/plugins/twitterStyleTags/templates/tagBrowser.ejs +++ b/etherpad/src/plugins/twitterStyleTags/templates/tagBrowser.ejs @@ -12,17 +12,34 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ %> <% - helpers.setHtmlTitle("Browse tags"); + helpers.setHtmlTitle("EtherPad: Browse tags"); + helpers.includeCss("plugins/twitterStyleTags/tagBrowser.css"); + helpers.includeCss("plugins/twitterStyleTags/pad.css"); helpers.setBodyId("padbody"); helpers.addBodyClass("limwidth nonpropad nonprouser"); helpers.includeCss("pad2_ejs.css"); - helpers.includeCss("plugins/twitterStyleTags/tagBrowser.css"); - helpers.includeCss("plugins/twitterStyleTags/pad.css"); - helpers.setRobotsPolicy({index: false, follow: false}) - helpers.includeJQuery(); + helpers.includeJs("undo-xpopup.js"); helpers.includeCometJs(); + helpers.includeJQuery(); helpers.includeJs("json2.js"); - helpers.addToHead('\n\n'); + helpers.includeJs("colorutils.js"); + helpers.includeJs("ace.js"); + helpers.includeJs("collab_client.js"); + helpers.includeJs("draggable.js"); + helpers.includeJs("pad_utils.js"); + helpers.includeJs("pad_cookie.js"); + helpers.includeJs("pad_editor.js"); + helpers.includeJs("pad_userlist.js"); + helpers.includeJs("pad_editbar.js"); + helpers.includeJs("pad_chat.js"); + helpers.includeJs("pad_docbar.js"); + helpers.includeJs("pad_impexp.js"); + helpers.includeJs("pad_savedrevs.js"); + helpers.includeJs("pad_connectionstatus.js"); + helpers.includeJs("pad_modals.js"); + helpers.includeJs("pad2.js"); + helpers.suppressGA(); + helpers.setRobotsPolicy({index: false, follow: false}); function inArray(item, arr) { for (var i = 0; i < arr.length; i++) @@ -36,14 +53,13 @@ limitations under the License. */ %>
-
- - <% if (isProAccountHolder) { %> -
<%= toHTML(account.email) %>(sign out)
- <% } else if (isPro) { %> - - <% } %> -
+
+ + <% if (isProAccountHolder) { %> +
<%= toHTML(account.email) %>(sign out)
+ <% } else if (isPro) { %> + + <% } %>
@@ -78,7 +94,7 @@ limitations under the License. */ %>
Query: <% if (tags.length == 0 && antiTags.length == 0) { %> - Please select some tags below to browse for pads + Latest changed pads <% } else { %> <% for (i = 0; i < tags.length; i++) { %> #<%= tags[i] %> @@ -89,8 +105,8 @@ limitations under the License. */ %> <% } %>
-
-
+
+

Search for pads that have the tag

<% for (i = 0; i < newTags.length; i++) { %> -- cgit v1.2.3-1-g7c22