From d075e3d97fa017b7c26e25e9f4cd27e50935ad29 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 15 May 2011 19:00:29 +0530 Subject: [PATCH] minor, css --- edgware/templates/article_list.html | 2 +- edgware/templates/create_article.html | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/edgware/templates/article_list.html b/edgware/templates/article_list.html index 20b2cc0..1cc30df 100644 --- a/edgware/templates/article_list.html +++ b/edgware/templates/article_list.html @@ -6,5 +6,5 @@ {% endfor %}

- Create Article + Create New Article {% endblock %} diff --git a/edgware/templates/create_article.html b/edgware/templates/create_article.html index 29b06b2..d5cf86f 100644 --- a/edgware/templates/create_article.html +++ b/edgware/templates/create_article.html @@ -6,6 +6,11 @@ cursor: pointer; font-family: sans-serif; margin-bottom: 6px; + color: #393939; +} + +.templateArticle:hover { + color: #000; } @@ -20,6 +25,7 @@ $(function() { if ($("#articleName").val().replace(" ", "") === '') { alert("please enter a name for your article."); } else { + $('#templateArticles').fadeOut("fast"); $('#newArticleForm').submit(); } }); @@ -32,6 +38,7 @@ $(function() {
Instructions: Give your article a name and then click on a template (or other article) you would like to use as a starting point for your new article. Have fun!
+