Improves on admin area
This commit is contained in:
parent
eba94ce0d0
commit
7e19e816e2
|
@ -1,8 +1,17 @@
|
|||
/* ----------- UIKIT HACKs FOR BLUDIT ----------- */
|
||||
* {
|
||||
.uk-form * {
|
||||
border-radius: 2px !important;
|
||||
}
|
||||
|
||||
.uk-tab a {
|
||||
color: #2196f3 !important;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #2196f3 !important;
|
||||
}
|
||||
|
||||
/* UIKIT HACKs navbar
|
||||
---------------------------------------------------------------- */
|
||||
.uk-navbar {
|
||||
background: #323232 !important;
|
||||
border: 0 !important;
|
||||
|
@ -85,28 +94,26 @@ li.bludit-logo {
|
|||
padding-right: 60px !important;
|
||||
}
|
||||
|
||||
/* UIKIT HACKs buttons
|
||||
---------------------------------------------------------------- */
|
||||
.uk-button {
|
||||
color: #ffffff;
|
||||
padding: 2px 22px;
|
||||
padding: 2px 26px;
|
||||
text-shadow: none;
|
||||
background: #888888;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.uk-button:hover,
|
||||
.uk-button:focus {
|
||||
background-color: #777777;
|
||||
color: #ffffff;
|
||||
color: #333 !important;
|
||||
}
|
||||
|
||||
.uk-button-primary {
|
||||
background: #2672ec;
|
||||
background: #2196f3 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.uk-button-primary:hover {
|
||||
background: #1F5FC4;
|
||||
background: #2EA3FF;
|
||||
color: #fafafa !important;
|
||||
}
|
||||
|
||||
/* UIKIT HACKs forms
|
||||
---------------------------------------------------------------- */
|
||||
legend {
|
||||
width: 70% !important;
|
||||
margin-top: 40px !important;
|
||||
|
@ -226,23 +233,22 @@ table.statistics tr:last-child td {
|
|||
/* ----------- ALERT ----------- */
|
||||
|
||||
#alert {
|
||||
bottom: 20px;
|
||||
color: #ffffff;
|
||||
display: none;
|
||||
padding: 24px;
|
||||
padding: 10px;
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
text-align: center;
|
||||
width: 350px;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.alert-ok {
|
||||
background: rgba(48, 102, 187, 0.91);
|
||||
background: #4374C1;
|
||||
}
|
||||
|
||||
.alert-fail {
|
||||
background: rgba(187, 48, 48, 0.91);
|
||||
background: #c14343;
|
||||
}
|
||||
|
||||
/* ----------- FORM ----------- */
|
||||
|
@ -298,7 +304,8 @@ table.statistics tr:last-child td {
|
|||
}
|
||||
|
||||
#jstagList span.select {
|
||||
color: #2672ec;
|
||||
color: #2196f3;
|
||||
padding: 2px 13px;
|
||||
}
|
||||
|
||||
/* ----------- BLUDIT IMAGES V8 ----------- */
|
||||
|
|
|
@ -83,8 +83,8 @@ $(document).ready(function() {
|
|||
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-general' ?>"><?php $L->p('Settings') ?> ▾</a>
|
||||
<div class="uk-dropdown uk-dropdown-navbar">
|
||||
<ul class="uk-nav uk-nav-navbar">
|
||||
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-general' ?>"><i class="uk-icon-th-large"></i> <?php $L->p('General') ?></a></li>
|
||||
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-advanced' ?>"><i class="uk-icon-th"></i> <?php $L->p('Advanced') ?></a></li>
|
||||
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-general' ?>"><i class="uk-icon-cog"></i> <?php $L->p('General') ?></a></li>
|
||||
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-advanced' ?>"><i class="uk-icon-cogs"></i> <?php $L->p('Advanced') ?></a></li>
|
||||
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-regional' ?>"><i class="uk-icon-globe"></i> <?php $L->p('Language and timezone') ?></a></li>
|
||||
|
||||
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'plugins' ?>"><i class="uk-icon-puzzle-piece"></i> <?php $L->p('Plugins') ?></a></li>
|
||||
|
|
|
@ -26,11 +26,16 @@ echo '
|
|||
$parentTitle = '';
|
||||
}
|
||||
|
||||
|
||||
|
||||
echo '<tr>';
|
||||
echo '<td>'.($Page->parentKey()?'- ':'').'<a href="'.HTML_PATH_ADMIN_ROOT.'edit-page/'.$Page->key().'">'.($Page->published()?'':'<span class="label-draft">'.$Language->g('Draft').'</span> ').($Page->title()?$Page->title():'<span class="label-empty-title">'.$Language->g('Empty title').'</span> ').'</a></td>';
|
||||
echo '<td>'.$parentTitle.'</td>';
|
||||
echo '<td class="uk-text-center">'.$Page->position().'</td>';
|
||||
echo '<td><a target="_blank" href="'.$Page->permalink().'">'.$Url->filters('page').'/'.$Page->key().'</a></td>';
|
||||
|
||||
$friendlyURL = Text::isEmpty($Url->filters('page')) ? '/'.$Page->key() : '/'.$Url->filters('page').'/'.$Page->key();
|
||||
|
||||
echo '<td><a target="_blank" href="'.$Page->permalink().'">'.$friendlyURL.'</a></td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,10 @@ echo '
|
|||
echo '<tr>';
|
||||
echo '<td><a href="'.HTML_PATH_ADMIN_ROOT.'edit-post/'.$Post->key().'">'.($status?'<span class="label-draft">'.$status.'</span>':'').($Post->title()?$Post->title():'<span class="label-empty-title">'.$Language->g('Empty title').'</span> ').'</a></td>';
|
||||
echo '<td class="uk-text-center">'.$Post->dateRaw().'</td>';
|
||||
echo '<td><a target="_blank" href="'.$Post->permalink().'">'.$Url->filters('post').'/'.$Post->key().'</a></td>';
|
||||
|
||||
$friendlyURL = Text::isEmpty($Url->filters('post')) ? '/'.$Post->key() : '/'.$Url->filters('post').'/'.$Post->key();
|
||||
|
||||
echo '<td><a target="_blank" href="'.$Post->permalink().'">'.$friendlyURL.'</a></td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,6 @@ HTML::formOpen(array('class'=>'uk-form-horizontal'));
|
|||
'label'=>'Twitter',
|
||||
'value'=>$Site->twitter(),
|
||||
'class'=>'uk-width-1-2 uk-form-medium',
|
||||
'placeholder'=>'https://twitter.com/USERNAME',
|
||||
'tip'=>''
|
||||
));
|
||||
|
||||
|
@ -60,7 +59,6 @@ HTML::formOpen(array('class'=>'uk-form-horizontal'));
|
|||
'label'=>'Facebook',
|
||||
'value'=>$Site->facebook(),
|
||||
'class'=>'uk-width-1-2 uk-form-medium',
|
||||
'placeholder'=>'https://www.facebook.com/USERNAME',
|
||||
'tip'=>''
|
||||
));
|
||||
|
||||
|
@ -69,7 +67,6 @@ HTML::formOpen(array('class'=>'uk-form-horizontal'));
|
|||
'label'=>'Google+',
|
||||
'value'=>$Site->googlePlus(),
|
||||
'class'=>'uk-width-1-2 uk-form-medium',
|
||||
'placeholder'=>'https://plus.google.com/+USERNAME',
|
||||
'tip'=>''
|
||||
));
|
||||
|
||||
|
@ -78,7 +75,6 @@ HTML::formOpen(array('class'=>'uk-form-horizontal'));
|
|||
'label'=>'Instagram',
|
||||
'value'=>$Site->instagram(),
|
||||
'class'=>'uk-width-1-2 uk-form-medium',
|
||||
'placeholder'=>'https://www.instagram.com/USERNAME',
|
||||
'tip'=>''
|
||||
));
|
||||
|
||||
|
@ -87,7 +83,6 @@ HTML::formOpen(array('class'=>'uk-form-horizontal'));
|
|||
'label'=>'Github',
|
||||
'value'=>$Site->github(),
|
||||
'class'=>'uk-width-1-2 uk-form-medium',
|
||||
'placeholder'=>'https://github.com/USERNAME',
|
||||
'tip'=>''
|
||||
));
|
||||
|
||||
|
|
|
@ -43,7 +43,8 @@ HTML::formOpen(array('class'=>'uk-form-horizontal'));
|
|||
'name'=>'dateFormat',
|
||||
'label'=>$L->g('Date format'),
|
||||
'value'=>$Site->dateFormat(),
|
||||
'class'=>'uk-width-1-2 uk-form-medium'
|
||||
'class'=>'uk-width-1-2 uk-form-medium',
|
||||
'tip'=>$L->g('Current format').': '.Date::current($Site->dateFormat())
|
||||
));
|
||||
|
||||
echo '<div class="uk-form-row">
|
||||
|
|
|
@ -237,5 +237,6 @@
|
|||
|
||||
"social-networks-links": "Social networks links",
|
||||
|
||||
"email-access-code": "Email access code"
|
||||
"email-access-code": "Email access code",
|
||||
"current-format": "Current format"
|
||||
}
|
Loading…
Reference in New Issue