frontpages

This commit is contained in:
ashok sukumaran 2011-07-04 21:31:21 +05:30
commit 92b02a73bc
2 changed files with 47 additions and 28 deletions

View File

@ -205,7 +205,8 @@ function getItemForm(f) {
var $submit = $('<input />').addClass("submitItem").attr("type", "submit").val("Submit").appendTo($submitP);
var $submitStatus = $('<span />').addClass("submitStatus").appendTo($submitP);
$submit.click(function(e) {
if (typeof($(this).attr("disabled")) != 'undefined') {
if ($(this).attr("disabled")) {
// console.log($(this).attr("disabled"));
return false;
}
var url = "/files/editFile/";

View File

@ -1,6 +1,7 @@
{% extends 'base.html' %}
{% extends 'main_base.html' %}
{% block head %}
{% block extra_head %}
<link rel="stylesheet" href="/static/css/files/publish.css" />
<style type="text/css">
.templateArticle {
cursor: pointer;
@ -43,7 +44,24 @@ $(function() {
</script>
{% endblock %}
{% block body %}
{% block content %}
<div id="publishWrapper">
<div id="publishBlockleft">
<p>
Welcome to the publishing area of edgwareroad.org, and to our printing tool.
To use the tool, you have to be logged in. To test-run the tool, use the login:guest and password:guest.
</p> <br/>
<p>
Since the tool uses Html5 and features standard only in newer browsers, please note that the tool will only work in Firefox 3.5+, Google Chrome, and Safari.
</p><br/>
<p>
If you are a participant looking to open a new account, please write to contact@edgwareroad.org. A basic introduction to its features are found in our first publication, Instructions for Printing, here.
</p>
</div>
<div id="formWrapper">
<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>
@ -68,5 +86,5 @@ $(function() {
</div>
{% endfor %}
</div>
</div>
{% endblock %}