Bug fixes

This commit is contained in:
dignajar 2015-08-13 18:41:16 -03:00
parent 1f0e439b3d
commit 72e377956f
3 changed files with 10 additions and 5 deletions

View File

@ -140,6 +140,7 @@ div.dashboardBox .nav {
div.dashboardBox .nav a { div.dashboardBox .nav a {
padding: 0 !important; padding: 0 !important;
display: inline-block; display: inline-block;
margin-left: 8px;
} }
div.dashboardBox i.iconContent { div.dashboardBox i.iconContent {
@ -154,6 +155,11 @@ div.dashboardBox div.bigContent {
font-weight: bold; font-weight: bold;
} }
div.dashboardBox span {
display: inline-block !important;
padding: 3px 6px;
}
div.dashboardBox h2 { div.dashboardBox h2 {
color: #666; color: #666;
font-size: 1.1em; font-size: 1.1em;
@ -189,6 +195,7 @@ div.dashboardBox ul.menu li.description:last-child {
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
/* ----------- FORMS ----------- */ /* ----------- FORMS ----------- */
form h4 { form h4 {

View File

@ -63,11 +63,11 @@
{ {
foreach($_draftPosts as $Post) foreach($_draftPosts as $Post)
{ {
echo '<li>('.$Language->g('Post').') <a href="'.HTML_PATH_ADMIN_ROOT.'edit-post/'.$Post->key().'">'.($Post->title()?$Post->title():'['.$Language->g('Empty title').'] ').'</a></li>'; echo '<li><span class="label label-outline label-blue smaller">'.$Language->g('Post').'</span><a href="'.HTML_PATH_ADMIN_ROOT.'edit-post/'.$Post->key().'">'.($Post->title()?$Post->title():'['.$Language->g('Empty title').'] ').'</a></li>';
} }
foreach($_draftPages as $Page) foreach($_draftPages as $Page)
{ {
echo '<li>('.$Language->g('Page').') <a href="'.HTML_PATH_ADMIN_ROOT.'edit-page/'.$Page->key().'">'.($Page->title()?$Page->title():'['.$Language->g('Empty title').'] ').'</a></li>'; echo '<li><span class="label label-outline label-green smaller">'.$Language->g('Page').'</span><a href="'.HTML_PATH_ADMIN_ROOT.'edit-page/'.$Page->key().'">'.($Page->title()?$Page->title():'['.$Language->g('Empty title').'] ').'</a></li>';
} }
} }
?> ?>
@ -75,7 +75,5 @@
</nav> </nav>
</div> </div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -22,7 +22,7 @@
echo '<td><a href="'.HTML_PATH_ADMIN_ROOT.'edit-user/'.$username.'">'.$username.'</a></td>'; echo '<td><a href="'.HTML_PATH_ADMIN_ROOT.'edit-user/'.$username.'">'.$username.'</a></td>';
echo '<td>'.$field['firstName'].'</td>'; echo '<td>'.$field['firstName'].'</td>';
echo '<td>'.$field['lastName'].'</td>'; echo '<td>'.$field['lastName'].'</td>';
echo '<td>a'.$field['role'].'</td>'; echo '<td>'.$field['role'].'</td>';
echo '<td>'.$field['email'].'</td>'; echo '<td>'.$field['email'].'</td>';
echo '<td>'.Date::format($field['registered'], '%d %B').'</td>'; echo '<td>'.Date::format($field['registered'], '%d %B').'</td>';
echo '</tr>'; echo '</tr>';