Archived
1
0

Restyles core dashboard.

This commit is contained in:
Matthias Mees
2013-07-04 21:08:42 +02:00
parent 145ced3ea9
commit 3d5059e882
2 changed files with 23 additions and 8 deletions
+4 -6
View File
@@ -1,15 +1,13 @@
<h2>{$CONST.WELCOME_BACK} {$username|escape:"html"}</h2> <h2>{$CONST.WELCOME_BACK} {$username|escape:"html"}</h2>
{$backend_frontpage_display} {$backend_frontpage_display}
<div id="dashboard" class="clearfix"> <div id="dashboard" class="clearfix">
{if $update}
<section id="dashboard_update"> <section id="dashboard_update">
<h3>UPDATER_TITLE</h3> <h3>UPDATER_TITLE</h3>
<span class="msg_notice"><span class="icon-info-circled"></span> New Version available: {$curVersion}</span> <span class="msg_notice"><span class="icon-info-circled"></span> New Version available: {$curVersion}</span>
</section> </section>
{/if}
{if is_array($comments)} {if is_array($comments)}
<section id="dashboard_comments" class="equal_heights"> <section id="dashboard_comments" class="equal_heights quick_list">
<h3>{$CONST.COMMENTS}</h3> <h3>{$CONST.COMMENTS}</h3>
<ol class="plainList"> <ol class="plainList">
@@ -40,7 +38,7 @@
</section> </section>
{/if} {/if}
{if is_array($entries)} {if is_array($entries)}
<section id="dashboard_entries" class="equal_heights"> <section id="dashboard_entries" class="equal_heights quick_list">
<h3>Future Entries</h3> {* i18n *} <h3>Future Entries</h3> {* i18n *}
<ol class="plainList"> <ol class="plainList">
@@ -70,10 +68,10 @@
</ol> </ol>
</section> </section>
{/if} {/if}
<section id="further_links" class="equal_heights"> <section id="further_links">
<h3>{$CONST.FURTHER_LINKS}</h3> <h3>{$CONST.FURTHER_LINKS}</h3>
<ul class="plainList"> <ul class="clearfix plainList">
<li><a href="http://www.s9y.org/">{$CONST.FURTHER_LINKS_S9Y}</a></li> <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://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://blog.s9y.org/">{$CONST.FURTHER_LINKS_S9Y_BLOG}</a></li>
+19 -2
View File
@@ -1413,6 +1413,14 @@ form > .button_link:first-of-type,
border: 1px solid #aaa; border: 1px solid #aaa;
} }
#dashboard > section > h3 {
background: #eee;
border-bottom: 1px solid #aaa;
font-size: 1em;
margin: 0 -1em;
padding: .75em 1em;
}
#dashboard > section { #dashboard > section {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
@@ -1852,6 +1860,11 @@ input[name="serendipity[filter][fileCategory]"] {
margin: 1.71429em 0; margin: 1.71429em 0;
} }
#further_links li {
display: inline-block;
margin-right: 1em;
}
#image_directory_edit_form > div > .form_select { #image_directory_edit_form > div > .form_select {
float: left; float: left;
margin: 0 5% 0 0; margin: 0 5% 0 0;
@@ -1861,12 +1874,16 @@ input[name="serendipity[filter][fileCategory]"] {
#serendipityScaleForm, #serendipityScaleForm,
#serendipityScaleImg, #serendipityScaleImg,
.media_file, .media_file,
#dashboard > section { #dashboard > .quick_list {
float: left; float: left;
margin: 0 2% 1em 0; margin: 0 2% 1em 0;
width: 48%; width: 48%;
} }
#dashboard > section {
margin: 0 2% 1em 0;
}
#template_select .current_template { #template_select .current_template {
float: none; float: none;
margin: 0 0 2em; margin: 0 0 2em;
@@ -1935,7 +1952,7 @@ input[name="serendipity[filter][fileCategory]"] {
.configuration_group fieldset > fieldset, .configuration_group fieldset > fieldset,
#template_select .odd, #template_select .odd,
.media_pane .odd, .media_pane .odd,
#dashboard > section:nth-child(odd) { #dashboard > section:last-child {
clear: left; clear: left;
} }