pretty up publish page. Publish page done.

This commit is contained in:
Sanj 2011-07-10 04:50:05 +05:30
parent 6036984300
commit 385c20ebf3
2 changed files with 44 additions and 13 deletions

View File

@ -23,3 +23,34 @@ margin-left: 40px;
font-size: 11px;
}
.articleList li a {
text-decoration: none;
font-size: 11px;
font-weight: bold;
margin-right: 4px;
color: #2E64FE;
}
.articleList, .articleList li {
margin: 0;
padding: 0;
}
.articleList {
margin-top: 8px;
margin-left: 8px;
margin-bottom: 8px;
}
.articleList li a:hover {
color: #3B240B;
}
.articleList li {
font-size: 12px;
}
.articleTitle {
margin-right: 8px;
}

View File

@ -53,7 +53,7 @@ If you are a participant looking to open a new account, please write to contact@
</div>
<div id="publishBlockright">
<h4 class="listHeader">Edit your own articles:</h4>
<ul id="ownList">
<ul id="ownList" class="articleList">
{% for o in own_list %}
<li data-id="{{ o.id }}">
<span class="articleTitle">{{ o.title }}</span>
@ -63,20 +63,20 @@ If you are a participant looking to open a new account, please write to contact@
</li>
{% endfor %}
</ul>
<h4 class="listHeader">Create New Article - Pick a template and click 'copy':</h4>
<ul id="templateList">
{% for t in tmpl_list %}
<li data-id="{{ t.id }}">
<span class="articleTitle">{{ t.title }}</span>
{% if o.is_locked %} {% else %} <a href="{{ t.edit_url }}" title="Edit Article" target="_blank">edit</a> {% endif %}
<a href="{{ t.web_url }}" title="View as Webpage" target="_blank">web</a>
<a href="#" class="createCopy">copy</a>
</li>
{% endfor %}
</ul>
<h4 class="listHeader">Create New Article - Pick a template and click 'copy':</h4>
<ul id="templateList" class="articleList">
{% for t in tmpl_list %}
<li data-id="{{ t.id }}">
<span class="articleTitle">{{ t.title }}</span>
{% if o.is_locked %} {% else %} <a href="{{ t.edit_url }}" title="Edit Article" target="_blank">edit</a> {% endif %}
<a href="{{ t.web_url }}" title="View as Webpage" target="_blank">web</a>
<a href="#" class="createCopy">copy</a>
</li>
{% endfor %}
</ul>
<h4 class="listHeader">Create a copy of any existing published article:</h4>
<ul id="publishedList">
<ul id="publishedList" class="articleList">
{% for p in pub_list %}
<li data-id="{{ p.id }}">
<span class="articleTitle">{{ p.title }}</span>