minor, css

This commit is contained in:
Sanj 2011-05-15 19:00:29 +05:30
parent dc9f50feee
commit d075e3d97f
2 changed files with 8 additions and 1 deletions

View File

@ -6,5 +6,5 @@
{% endfor %}
<br /> <br />
<a href="create_article" title="Create New Article">Create Article</a>
<a href="create_article" title="Create New Article">Create New Article</a>
{% endblock %}

View File

@ -6,6 +6,11 @@
cursor: pointer;
font-family: sans-serif;
margin-bottom: 6px;
color: #393939;
}
.templateArticle:hover {
color: #000;
}
</style>
@ -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() {
<div id="articleInstructions">
<b>Instructions:</b> 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!
</div>
<br /><br />
<form id="newArticleForm" action="" method="POST">
<label for="article_name">Article Name:</label> <input type="text" id="articleName" name="article_name" /> <br />
<input type="hidden" id="articleId" name="article_id" />