Dashboard layout.
This commit is contained in:
templates/2k11/admin
@ -1,37 +1,23 @@
|
||||
<h2>{$CONST.WELCOME_BACK} {$username|escape:"html"}</h2>
|
||||
|
||||
<aside id="further_links">
|
||||
<h3>{$CONST.FURTHER_LINKS}</h3>
|
||||
|
||||
<ul class="plainList">
|
||||
<li><a href="http://www.s9y.org/">{$CONST.FURTHER_LINKS_S9Y}</a></li>
|
||||
<li><a href="http://www.s9y.org/33.html">{$CONST.FURTHER_LINKS_S9Y_DOCS}</a></li>
|
||||
<li><a href="http://blog.s9y.org/">{$CONST.FURTHER_LINKS_S9Y_BLOG}</a></li>
|
||||
<li><a href="http://www.s9y.org/forums/">{$CONST.FURTHER_LINKS_S9Y_FORUMS}</a></li>
|
||||
<li><a href="http://spartacus.s9y.org/">{$CONST.FURTHER_LINKS_S9Y_SPARTACUS}</a></li>
|
||||
<li>
|
||||
<a href="{$bookmarklet}" onclick="alert('{$CONST.FURTHER_LINKS_S9Y_BOOKMARKLET_DESC}'); return false;" title="{$CONST.FURTHER_LINKS_S9Y_BOOKMARKLET_DESC}">
|
||||
{$CONST.FURTHER_LINKS_S9Y_BOOKMARKLET}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside>
|
||||
{$backend_frontpage_display}
|
||||
{if $update}
|
||||
<section id="dashboard_update" class="dashboard">
|
||||
<div id="dashboard" class="clearfix">
|
||||
{if $update}
|
||||
<section id="dashboard_update">
|
||||
<h3>UPDATER_TITLE</h3>
|
||||
|
||||
<span class="msg_notice"><span class="icon-info-circled"></span> New Version available: {$curVersion}</span>
|
||||
</section>
|
||||
{/if}
|
||||
{if is_array($comments)}
|
||||
<section id="dashboard_comments" class="dashboard">
|
||||
{/if}
|
||||
{if is_array($comments)}
|
||||
<section id="dashboard_comments" class="equal_heights">
|
||||
<h3>{$CONST.COMMENTS}</h3>
|
||||
|
||||
<ol class="plainList">
|
||||
{foreach $comments as $comment}
|
||||
<li>
|
||||
<div class="comment_summary">{$comment.body|truncate:120:"…"}</div>
|
||||
<div class="comment_summary">
|
||||
<b>#{$comment.id}</b> – {$comment.body|truncate:100:"…"}
|
||||
</div>
|
||||
|
||||
<ul class="plainList actions">
|
||||
{if ($comment.status == 'pending') || ($comment.status == 'confirm')}
|
||||
@ -52,9 +38,9 @@
|
||||
{/foreach}
|
||||
</ol>
|
||||
</section>
|
||||
{/if}
|
||||
{if is_array($entries)}
|
||||
<section id="dashboard_entries" class="dashboard">
|
||||
{/if}
|
||||
{if is_array($entries)}
|
||||
<section id="dashboard_entries" class="equal_heights">
|
||||
<h3>Future Entries</h3> {* i18n *}
|
||||
|
||||
<ol class="plainList">
|
||||
@ -83,4 +69,23 @@
|
||||
{/foreach}
|
||||
</ol>
|
||||
</section>
|
||||
{/if}
|
||||
{/if}
|
||||
<section id="further_links" class="equal_heights">
|
||||
<h3>{$CONST.FURTHER_LINKS}</h3>
|
||||
|
||||
<ul class="plainList">
|
||||
<li><a href="http://www.s9y.org/">{$CONST.FURTHER_LINKS_S9Y}</a></li>
|
||||
<li><a href="http://www.s9y.org/33.html">{$CONST.FURTHER_LINKS_S9Y_DOCS}</a></li>
|
||||
<li><a href="http://blog.s9y.org/">{$CONST.FURTHER_LINKS_S9Y_BLOG}</a></li>
|
||||
<li><a href="http://www.s9y.org/forums/">{$CONST.FURTHER_LINKS_S9Y_FORUMS}</a></li>
|
||||
<li><a href="http://spartacus.s9y.org/">{$CONST.FURTHER_LINKS_S9Y_SPARTACUS}</a></li>
|
||||
<li>
|
||||
<a href="{$bookmarklet}" onclick="alert('{$CONST.FURTHER_LINKS_S9Y_BOOKMARKLET_DESC}'); return false;" title="{$CONST.FURTHER_LINKS_S9Y_BOOKMARKLET_DESC}">
|
||||
{$CONST.FURTHER_LINKS_S9Y_BOOKMARKLET}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<script src="{serendipity_getFile file='admin/js/jquery.syncheight.js'}"></script>
|
@ -1406,10 +1406,19 @@ form > .button_link:first-of-type {
|
||||
#serendipityScaleImg img,
|
||||
.media_file,
|
||||
.media_wrap_thumb,
|
||||
.plugins_installable > li {
|
||||
.plugins_installable > li,
|
||||
#dashboard > section {
|
||||
border: 1px solid #aaa;
|
||||
}
|
||||
|
||||
#dashboard > section {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0 0 1em;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
.media_wrap_thumb {
|
||||
float: left;
|
||||
margin: 0 2% 1em 0;
|
||||
@ -1849,7 +1858,8 @@ input[name="serendipity[filter][fileCategory]"] {
|
||||
#template_select article,
|
||||
#serendipityScaleForm,
|
||||
#serendipityScaleImg,
|
||||
.media_file {
|
||||
.media_file,
|
||||
#dashboard > section {
|
||||
float: left;
|
||||
margin: 0 2% 1em 0;
|
||||
width: 48%;
|
||||
@ -1922,7 +1932,8 @@ input[name="serendipity[filter][fileCategory]"] {
|
||||
.configuration_group .form_area,
|
||||
.configuration_group fieldset > fieldset,
|
||||
#template_select .odd,
|
||||
.media_pane .odd {
|
||||
.media_pane .odd,
|
||||
#dashboard > section:nth-child(odd) {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user