minor, css
This commit is contained in:
parent
dc9f50feee
commit
d075e3d97f
|
@ -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 %}
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user