Admin dashboard updated

This commit is contained in:
Ysolyne Gresille
2012-07-04 18:26:09 +02:00
parent 4424855645
commit ba1fe7a10a
15 changed files with 304 additions and 260 deletions

View File

@@ -322,12 +322,12 @@ class setup
{ {
$registry = registry::get_instance(); $registry = registry::get_instance();
?> ?>
<h1>Apache Server mods avalaibility</h1> <h2>Apache Server mods avalaibility</h2>
<div style="position:relative;float:left;"> <p>
<?php <?php
echo _('Attention, seul le test de l\'activation des mods est effectue, leur bon fonctionnement ne l\'est pas ') echo _('Attention, seul le test de l\'activation des mods est effectue, leur bon fonctionnement ne l\'est pas ')
?> ?>
</div> </p>
<ul id="apache_mods_checker" class="setup"> <ul id="apache_mods_checker" class="setup">
@@ -358,49 +358,49 @@ class setup
<div class="infos"><img style="vertical-align:middle" src="/skins/icons/alert.png"/> <?php echo _('Attention, veuillez verifier la configuration h264_streaming, actuellement activee dans le setup'); ?></div> <div class="infos"><img style="vertical-align:middle" src="/skins/icons/alert.png"/> <?php echo _('Attention, veuillez verifier la configuration h264_streaming, actuellement activee dans le setup'); ?></div>
<?php } ?> <?php } ?>
</li> </li>
<style type="text/css"> </ul>
#apache_mods_checker div.infos{ <style type="text/css">
display:none; #apache_mods_checker div.infos{
display:none;
}
#apache_mods_checker .blocker div.infos{
display:block;
}
</style>
<script type="text/javascript">
$(document).ready(function(){
$('#apache_mods_checker a').trigger('click');
});
function check_apache_mod(el,mod)
{
var url = '/admin/test-';
switch (mod) {
case 'rewrite':
url += 'rewrite';
break;
case 'xsendfile':
url += 'xsendfile';
break;
case 'authtoken':
url += 'authtoken';
break;
case 'h264':
url += 'h264';
break;
} }
#apache_mods_checker .blocker div.infos{
display:block; $.get(url, function(data) {
} if(data == '1')
</style> $(el).closest('li').removeClass('blocker');
<script type="text/javascript"> else
$(document).ready(function(){ $(el).closest('li').addClass('blocker');
$('#apache_mods_checker a').trigger('click');
}); });
function check_apache_mod(el,mod) }
{ </script>
var url = '/admin/test-';
switch (mod) {
case 'rewrite':
url += 'rewrite';
break;
case 'xsendfile':
url += 'xsendfile';
break;
case 'authtoken':
url += 'authtoken';
break;
case 'h264':
url += 'h264';
break;
}
$.get(url, function(data) {
if(data == '1')
$(el).closest('li').removeClass('blocker');
else
$(el).closest('li').addClass('blocker');
});
}
</script>
<?php <?php
echo '</ul>';
} }
public static function check_phrasea() public static function check_phrasea()
@@ -545,7 +545,7 @@ class setup
{ {
$Core = \bootstrap::getCore(); $Core = \bootstrap::getCore();
echo '<h1>' . _('setup:: Serveur Memcached') . '</h1>'; echo '<h2>' . _('setup:: Serveur Memcached') . '</h2>';
echo '<ul class="setup">'; echo '<ul class="setup">';
$registry = registry::get_instance(); $registry = registry::get_instance();
@@ -645,7 +645,7 @@ class setup
$engine = new searchEngine_adapter($registry); $engine = new searchEngine_adapter($registry);
$status = $engine->get_status(); $status = $engine->get_status();
echo '<h1>' . _('setup::Etat du moteur de recherche') . '</h1>'; echo '<h2>' . _('setup::Etat du moteur de recherche') . '</h2>';
echo '<ul class="setup">'; echo '<ul class="setup">';
foreach ($status as $value) { foreach ($status as $value) {
echo '<li>' . sprintf('%s : %s', $value[0], $value[1]) . '</li>'; echo '<li>' . sprintf('%s : %s', $value[0], $value[1]) . '</li>';
@@ -653,7 +653,7 @@ class setup
echo '</ul>'; echo '</ul>';
} catch (Exception $e) { } catch (Exception $e) {
echo '<h1>' . _('setup::Sphinx confguration') . '</h1>'; echo '<h2>' . _('setup::Sphinx confguration') . '</h2>';
echo '<ul class="setup">'; echo '<ul class="setup">';
echo '<li class="blocker">' . $e->getMessage() . '</li>'; echo '<li class="blocker">' . $e->getMessage() . '</li>';
echo '</ul>'; echo '</ul>';

View File

@@ -41,8 +41,8 @@
<blockquote>* {% trans 'This can not be changed' %}</blockquote> <blockquote>* {% trans 'This can not be changed' %}</blockquote>
</div> </div>
<div class="btn-toolbar"> <div class="btn-toolbar">
<button class="field_adder btn">{% trans 'boutton::ajouter' %}</button> <button class="field_adder btn btn-warning">{% trans 'boutton::ajouter' %}</button>
<button class="struct_saver btn">{% trans 'Valider' %}</button> <button class="struct_saver btn btn-warning">{% trans 'Valider' %}</button>
</div> </div>
<form id="form_struct" action="/admin/description/{{ databox.get_sbas_id() }}/" method="post" target="_self"> <form id="form_struct" action="/admin/description/{{ databox.get_sbas_id() }}/" method="post" target="_self">
@@ -154,7 +154,7 @@
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
<button type="submit" class="btn">{% trans 'Valider' %}</button> <button type="submit" class="btn btn-warning">{% trans 'Valider' %}</button>
</form> </form>
<style> <style>
.ui-autocomplete { .ui-autocomplete {

View File

@@ -9,7 +9,7 @@
{% block stylesheet %} {% block stylesheet %}
<!--<link type="text/css" rel="stylesheet" href="/include/minify/f=include/jslibs/yui2.8/build/reset/reset.css,include/jslibs/jquery-ui-1.8.17/css/ui-lightness/jquery-ui-1.8.17.custom.css,include/jslibs/jquery-treeview/jquery.treeview.css,skins/common/main.css,skins/admin/admincolor.css,login/geonames.css,include/jslibs/jquery.contextmenu.css" />--> <!--<link type="text/css" rel="stylesheet" href="/include/minify/f=include/jslibs/yui2.8/build/reset/reset.css,include/jslibs/jquery-ui-1.8.17/css/ui-lightness/jquery-ui-1.8.17.custom.css,include/jslibs/jquery-treeview/jquery.treeview.css,skins/common/main.css,skins/admin/admincolor.css,login/geonames.css,include/jslibs/jquery.contextmenu.css" />-->
<link type="text/css" rel="stylesheet" href="/include/minify/f=include/jslibs/yui2.8/build/reset/reset.css,include/jslibs/jquery-treeview/jquery.treeview.css,include/jslibs/jquery.contextmenu.css,login/geonames.css,skins/common/main.css,skins/admin/admincolor.css,skins/admin/css/Main.css,skins/admin/css/Bases.css,skins/admin/css/Tables.css" /> <link type="text/css" rel="stylesheet" href="/include/minify/f=include/jslibs/yui2.8/build/reset/reset.css,include/jslibs/jquery-treeview/jquery.treeview.css,include/jslibs/jquery.contextmenu.css,login/geonames.css,skins/common/main.css,skins/admin/css/Main.css,skins/admin/css/Bases.css,skins/admin/css/Tables.css" />
{% endblock %} {% endblock %}

View File

@@ -116,7 +116,7 @@
</div> </div>
</div> </div>
<div> <div>
<button class="btn" type="submit">{% trans 'boutton::valider' %}</button> <button class="btn btn-warning" type="submit">{% trans 'boutton::valider' %}</button>
<a href="/admin/publications/list/" class="btn" style="text-decoration:none;">{% trans 'boutton::annuler' %}</a> <a href="/admin/publications/list/" class="btn" style="text-decoration:none;">{% trans 'boutton::annuler' %}</a>
</div> </div>
</form> </form>

View File

@@ -39,7 +39,7 @@
</label> </label>
</div> </div>
</div> </div>
<button type="submit" class="btn">{% trans 'boutton::valider' %}</button> <button type="submit" class="btn btn-warning">{% trans 'boutton::valider' %}</button>
</form> </form>
<table class="admintable" cellspacing="0" cellpadding="0"> <table class="admintable" cellspacing="0" cellpadding="0">

View File

@@ -48,7 +48,7 @@
<form id="users_reset_rights" method="post" action="/admin/users/rights/reset/" target="_self" style="float:right"> <form id="users_reset_rights" method="post" action="/admin/users/rights/reset/" target="_self" style="float:right">
<input type="hidden" value="" name="users"> <input type="hidden" value="" name="users">
<button type='button' class="btn">{% trans 'reset users rights' %}</button> <button type='button' class="btn btn-warning">{% trans 'reset users rights' %}</button>
</form> </form>
<table id="users" cellspacing="0" cellpadding="0" border="0" class="admintable"> <table id="users" cellspacing="0" cellpadding="0" border="0" class="admintable">
@@ -155,7 +155,7 @@
<form id="users_page_form" method="post" target="_self" action="/admin/users/search/"> <form id="users_page_form" method="post" target="_self" action="/admin/users/search/">
<p> <p>
<span>{{users.get_total}} resultats,</span> <span>{{users.get_total}} resultats,</span>
{% set pages = users.get_total() / parm['per_page'] %} {% set pages = users.get_total() / parm['per_page'] %}
{% set modulo = users.get_total() % parm['per_page'] %} {% set modulo = users.get_total() % parm['per_page'] %}
@@ -222,7 +222,7 @@
{% endif %} {% endif %}
<input name="like_value" value="{{parm.like_value}}" type="hidden" /> <input name="like_value" value="{{parm.like_value}}" type="hidden" />
<input name="like_field" value="{{parm.like_field}}" type="hidden" /> <input name="like_field" value="{{parm.like_field}}" type="hidden" />
<button class="btn">{% trans 'boutton::exporter' %}</button> <button class="btn btn-warning">{% trans 'boutton::exporter' %}</button>
</form> </form>
<script type="text/javascript"> <script type="text/javascript">

View File

@@ -296,7 +296,7 @@ if ($createBase || $mountBase) {
?> ?>
<form action="databases.php" method="post" > <form action="databases.php" method="post" >
<input type="hidden" value="" name="upgrade" /> <input type="hidden" value="" name="upgrade" />
<input type="submit" class="btn" value="<?php echo _('update::Verifier els tables') ?>" /> <input type="submit" class="btn btn-warning" value="<?php echo _('update::Verifier els tables') ?>" />
</form> </form>
</div> </div>

View File

@@ -193,7 +193,7 @@ $JS = '$(document).ready(function() {
}); });
'; ';
?> ?>
<input type="submit" class="btn input-medium" style="margin-bottom: 10px;" value="<?php echo _('boutton::valider') ?>"/> <input type="submit" class="btn btn-warning" style="margin-bottom: 10px;" value="<?php echo _('boutton::valider') ?>"/>
</form> </form>
<script type='text/javascript'> <script type='text/javascript'>
<?php echo $JS ?> <?php echo $JS ?>

View File

@@ -41,48 +41,6 @@ if ($parm['flush_cache']) {
} }
?> ?>
<style type="text/css"> <style type="text/css">
h1{
position:relative;
float:left;
width:100%;
}
ul.setup {
position:relative;
float:left;
width:360px;
list-style-type:none;
padding:0 0 0 0px;
margin:5px 0 5px 40px;
border:1px solid #404040;
}
ul.setup table{
width:100%;
table-layout: fixed;
}
.setup li{
margin:0px 0;
padding:2px 5px 2px 30px;
background-image:url(/skins/icons/ok.png);
background-repeat:no-repeat;
background-position:5px center;
}
.setup li.non-blocker{
background-image:url(/skins/icons/alert.png);
}
.setup li.blocker{
background-image:url(/skins/icons/delete.png);
}
tr.even{
background-color:#CCCCCC;
}
#flush_button {
width:360px;
margin: 5px 0 5px 40px;
}
</style>
<style>
.ui-autocomplete { .ui-autocomplete {
max-height: 200px; max-height: 200px;
overflow-y: auto; overflow-y: auto;
@@ -151,161 +109,161 @@ if ($parm['admins']) {
} }
if ($cache_flushed) { if ($cache_flushed) {
?>
<div>
<?php echo _('all caches services have been flushed'); ?>
</div>
<?php
}
?> ?>
<div> <div class="board_section">
<?php echo _('all caches services have been flushed'); ?> <h1><?php echo _('setup:: administrateurs de l\'application') ?></h1>
</div> <form id="admin_adder" action="sitestruct.php" method="post">
<?php <ul>
}
?>
<div>
<h1><?php echo _('setup:: administrateurs de l\'application') ?></h1>
<form id="admin_adder" action="sitestruct.php" method="post">
<?php <?php
$admins = User_Adapter::get_sys_admins(); $admins = User_Adapter::get_sys_admins();
foreach ($admins as $usr_id => $usr_login) { foreach ($admins as $usr_id => $usr_login) {
?> ?>
<div><input name="admins[]" type="checkbox" value="<?php echo $usr_id ?>" id="adm_<?php echo $usr_id ?>" checked /><label for="adm_<?php echo $usr_id ?>"><?php echo $usr_login; ?></label></div> <li>
<?php <label class="checkbox" for="adm_<?php echo $usr_id ?>">
} <input type="checkbox" id="adm_<?php echo $usr_id ?>" name="admins[]" value="<?php echo $usr_id ?>" checked />
?> <?php echo $usr_login; ?>
<div><?php echo _('setup:: ajouter un administrateur de l\'application') ?></div> </label>
</li>
<?php
}
?>
</ul>
<label><?php echo _('setup:: ajouter un administrateur de l\'application') ?> :</label>
<input class="admin_adder input-large" />
<input type="hidden" class="new" name="admins[]" />
<input type="submit" class="btn btn-warning" value="<?php echo _('boutton::valider') ?>" />
</form>
<h2><?php echo _('setup:: Reinitialisation des droits admins') ?></h2>
<form id="admin_reset" action="sitestruct.php" method="post">
<input type="hidden" name="sudo" value="1" />
<input type="submit" class="btn btn-warning" value="<?php echo _('boutton::reinitialiser') ?>" />
</form>
</div>
<input class="admin_adder"/> <div class="board_section">
<input type="hidden" class="new" name="admins[]"/> <h1 style="margin-bottom: 0;"><?php echo _('setup:: Reglages generaux') ?></h1>
<input type="submit" value="<?php echo _('boutton::valider') ?>" /> <h2 style="margin-top: 0; font-style: italic;"><?php echo _('setup::Votre configuration') ?></h2>
</form> <div class="section_left">
<h1><?php echo _('setup:: Reinitialisation des droits admins') ?></h1> <h2><?php echo _('setup::Tests d\'envois d\'emails'); ?></h2>
<form action="sitestruct.php" method="post" id="admin_reset">
<input type="hidden" name="sudo" value="1" />
<input type="submit" value="<?php echo _('boutton::reinitialiser') ?>" />
</form>
</div>
<h1><?php echo _('setup:: Reglages generaux') ?></h1>
<br>
<h2><?php echo _('setup::Votre configuration') ?></h2>
<div>
<div style="position:relative;float:left;width:400px;">
<h1><?php echo _('setup::Tests d\'envois d\'emails'); ?></h1>
<form id="mail_checker" method="post" action="/admin/sitestruct.php" target="_self"> <form id="mail_checker" method="post" action="/admin/sitestruct.php" target="_self">
<label>Email : </label><input name="email" type="text" /> <label>Email : </label><input name="email" type="text" />
<input type="submit" value="<?php echo _('boutton::valider'); ?>"/> <input type="submit" class="btn btn-warning" value="<?php echo _('boutton::valider'); ?>"/>
</form> </form>
<?php <?php
if ($parm['email']) { if ($parm['email']) {
echo 'result : '; echo 'result : ';
var_dump(mail::mail_test($parm['email'])); var_dump(mail::mail_test($parm['email']));
} }
$php_constraints = setup::check_php_version();
$php_constraints = setup::check_php_version();
foreach ($php_constraints as $php_constraint) { foreach ($php_constraints as $php_constraint) {
echo '<h1>' . $php_constraint->get_name() . '</h1>'; echo '<h2>' . $php_constraint->get_name() . '</h2>';
echo '<ul class="setup">';
?>
<li class="<?php echo $php_constraint->is_ok() ? 'good-enough' : 'blocker'; ?>">
<?php echo $php_constraint->get_message(); ?>
</li>
<?php
echo '</ul>';
}
$php_constraints = setup::check_writability($registry);
echo '<h1>' . _('setup::Filesystem configuration') . '</h1>';
echo '<ul class="setup">'; echo '<ul class="setup">';
foreach ($php_constraints as $constraint) {
?>
<li class="<?php echo ! $constraint->is_ok() ? ($constraint->is_blocker() ? 'blocker' : 'non-blocker') : 'good-enough'; ?>">
<?php echo $constraint->get_message(); ?>
</li>
<?php
}
echo '</ul>';
$php_constraints = setup::check_binaries($registry);
echo '<h1>' . _('setup::Executables') . '</h1>';
echo '<ul class="setup">';
foreach ($php_constraints as $constraint) {
?>
<li class="<?php echo ! $constraint->is_ok() ? ($constraint->is_blocker() ? 'blocker' : 'non-blocker') : 'good-enough'; ?>">
<?php echo $constraint->get_message(); ?>
</li>
<?php
}
echo '</ul>';
$php_constraints = setup::check_php_extension();
echo '<h1>' . _('setup::PHP extensions') . '</h1>';
echo '<ul class="setup">';
foreach ($php_constraints as $constraint) {
?>
<li class="<?php echo ! $constraint->is_ok() ? ($constraint->is_blocker() ? 'blocker' : 'non-blocker') : 'good-enough'; ?>">
<?php echo $constraint->get_message(); ?>
</li>
<?php
}
echo '</ul>';
$php_constraints = setup::check_cache_server();
echo '<h1>' . _('setup::Serveur de cache') . '</h1>';
echo '<ul class="setup">';
foreach ($php_constraints as $constraint) {
?>
<li class="<?php echo ! $constraint->is_ok() ? ($constraint->is_blocker() ? 'blocker' : 'non-blocker') : 'good-enough'; ?>">
<?php echo $constraint->get_message(); ?>
</li>
<?php
}
echo '</ul>';
?>
</div>
<div style="position:relative;float:left;width:400px;margin-left:25px;">
<?php
$php_constraints = setup::check_phrasea();
echo '<h1>' . _('Phrasea Module') . '</h1>';
echo '<ul class="setup">';
foreach ($php_constraints as $constraint) {
?>
<li class="<?php echo ! $constraint->is_ok() ? ($constraint->is_blocker() ? 'blocker' : 'non-blocker') : 'good-enough'; ?>">
<?php echo $constraint->get_message(); ?>
</li>
<?php
}
echo '</ul>';
setup::check_apache();
setup::check_mod_auth_token();
setup::check_cache_opcode();
setup::check_cache_memcache();
if ($Core->getCache()->isServer()) {
?>
<form id="cache_flusher" method="post" action="sitestruct.php">
<input type="hidden" name="flush_cache" value="1"/>
<input id="flush_button" type="submit" value="Flush All Caches" />
</form>
<?php
}
echo '<h1>' . _('OPCode cache') . '</h1>';
echo '<ul class="setup">';
if ($Core['OpcodeCache']->getName() == 'array') {
echo '<li class="non-blocker">' . _('Array opcode cache is activated, but phrasea strongly recommand the use of APC or Xcache in production') . '</li>';
} else {
echo '<li>' . $Core['OpcodeCache']->getName() . '</li>';
}
echo '</ul>';
setup::check_sphinx_search();
setup::check_php_configuration();
?> ?>
</div> <li class="<?php echo $php_constraint->is_ok() ? 'good-enough' : 'blocker'; ?>">
<?php echo $php_constraint->get_message(); ?>
</li>
<?php
echo '</ul>';
}
$php_constraints = setup::check_writability($registry);
echo '<h2>' . _('setup::Filesystem configuration') . '</h2>';
echo '<ul class="setup">';
foreach ($php_constraints as $constraint) {
?>
<li class="<?php echo ! $constraint->is_ok() ? ($constraint->is_blocker() ? 'blocker' : 'non-blocker') : 'good-enough'; ?>">
<?php echo $constraint->get_message(); ?>
</li>
<?php
}
echo '</ul>';
$php_constraints = setup::check_binaries($registry);
echo '<h2>' . _('setup::Executables') . '</h2>';
echo '<ul class="setup">';
foreach ($php_constraints as $constraint) {
?>
<li class="<?php echo ! $constraint->is_ok() ? ($constraint->is_blocker() ? 'blocker' : 'non-blocker') : 'good-enough'; ?>">
<?php echo $constraint->get_message(); ?>
</li>
<?php
}
echo '</ul>';
$php_constraints = setup::check_php_extension();
echo '<h2>' . _('setup::PHP extensions') . '</h2>';
echo '<ul class="setup">';
foreach ($php_constraints as $constraint) {
?>
<li class="<?php echo ! $constraint->is_ok() ? ($constraint->is_blocker() ? 'blocker' : 'non-blocker') : 'good-enough'; ?>">
<?php echo $constraint->get_message(); ?>
</li>
<?php
}
echo '</ul>';
$php_constraints = setup::check_cache_server();
echo '<h2>' . _('setup::Serveur de cache') . '</h2>';
echo '<ul class="setup">';
foreach ($php_constraints as $constraint) {
?>
<li class="<?php echo ! $constraint->is_ok() ? ($constraint->is_blocker() ? 'blocker' : 'non-blocker') : 'good-enough'; ?>">
<?php echo $constraint->get_message(); ?>
</li>
<?php
}
echo '</ul>';
?>
</div> </div>
<div class="section_right">
<?php
$php_constraints = setup::check_phrasea();
echo '<h2>' . _('Phrasea Module') . '</h2>';
echo '<ul class="setup">';
foreach ($php_constraints as $constraint) {
?>
<li class="<?php echo ! $constraint->is_ok() ? ($constraint->is_blocker() ? 'blocker' : 'non-blocker') : 'good-enough'; ?>">
<?php echo $constraint->get_message(); ?>
</li>
<?php
}
echo '</ul>';
setup::check_apache();
setup::check_mod_auth_token();
setup::check_cache_opcode();
setup::check_cache_memcache();
if ($Core->getCache()->isServer()) {
?>
<form id="cache_flusher" method="post" action="sitestruct.php">
<input type="hidden" name="flush_cache" value="1"/>
<input type="submit" id="flush_button" class="btn btn-warning" value="Flush All Caches" />
</form>
<?php
}
echo '<h2>' . _('OPCode cache') . '</h2>';
echo '<ul class="setup">';
if ($Core['OpcodeCache']->getName() == 'array') {
echo '<li class="non-blocker">' . _('Array opcode cache is activated, but phrasea strongly recommand the use of APC or Xcache in production') . '</li>';
} else {
echo '<li>' . $Core['OpcodeCache']->getName() . '</li>';
}
echo '</ul>';
setup::check_sphinx_search();
setup::check_php_configuration();
?>
</div>
</div>

View File

@@ -1,6 +0,0 @@
/**
FFFA00 9E9C3C 777400 FFFC65 FFFEB5
**/

View File

@@ -69,12 +69,12 @@ select {
} }
li.selected, li.selected,
div.selected { div.selected {
background-color: #f0ad30; background-color: #faa732;
color: #ffffff; color: #ffffff;
} }
li.selected a, li.selected a,
div.selected a { div.selected a {
background-color: #f0ad30; background-color: #faa732;
color: #ffffff; color: #ffffff;
} }
.treeview ul { .treeview ul {
@@ -118,7 +118,7 @@ div.finder div.content div.title {
overflow: auto; overflow: auto;
} }
#FNDR li.selected { #FNDR li.selected {
background-color: #f0ad30; background-color: #faa732;
color: #ffffff; color: #ffffff;
} }
#FNDR a { #FNDR a {
@@ -204,6 +204,51 @@ div.switch_right.unchecked {
.ui-datepicker { .ui-datepicker {
z-index: 1500; z-index: 1500;
} }
/******* BOARD ****************************************************************/
.board_section {
margin: 0 0 30px;
}
.board_section ul {
margin: 0 0 15px 15px;
}
.board_section div[class^="section_"] {
width: 400px;
height: auto;
}
.board_section div[class^="section_"] h2 {
line-height: 24px;
}
.board_section div[class^="section_"] ul.setup {
width: 360px;
border: 1px solid #cccccc;
list-style-type: none;
}
.board_section div[class^="section_"] ul.setup li {
padding: 2px 5px 2px 30px;
background-image: url(/skins/icons/ok.png);
background-repeat: no-repeat;
background-position: 5px center;
}
.board_section div[class^="section_"] ul.setup li.non-blocker {
background-image: url(/skins/icons/alert.png);
}
.board_section div[class^="section_"] ul.setup li.blocker {
background-image: url(/skins/icons/delete.png);
}
.board_section div[class^="section_"] ul.setup li:hover {
background-color: #fffbcd;
}
.board_section .section_left {
float: left;
}
.board_section .section_right {
margin-left: 430px;
padding-top: 1px;
}
.board_section #flush_button {
width: 362px;
margin-left: 15px;
}
/******* PUBLICATIONS *********************************************************/ /******* PUBLICATIONS *********************************************************/
.form_publication .controls { .form_publication .controls {
margin-left: 10px; margin-left: 10px;

View File

@@ -47,7 +47,7 @@ table.admintable tr {
vertical-align: middle; vertical-align: middle;
} }
table.admintable tr.selected:hover { table.admintable tr.selected:hover {
background-color: #f0ad30; background-color: #faa732;
} }
table.admintable thead { table.admintable thead {
background-color: #e5d4a0; background-color: #e5d4a0;
@@ -61,10 +61,10 @@ table.admintable tbody tr.even {
background-color: #fffbcd; background-color: #fffbcd;
} }
table.admintable tbody tr.selected { table.admintable tbody tr.selected {
background-color: #f0ad30; background-color: #faa732;
} }
table.admintable tbody tr:hover { table.admintable tbody tr:hover {
background-color: #f0ad30; background-color: #faa732;
cursor: pointer; cursor: pointer;
} }
table.admintable tbody td { table.admintable tbody td {
@@ -87,10 +87,10 @@ table.admintable .centered {
display: none; display: none;
} }
#users th.sortable.hover { #users th.sortable.hover {
background-color: #f0ad30; background-color: #faa732;
} }
#users th.sortable.sorted { #users th.sortable.sorted {
background-color: #f0ad30; background-color: #faa732;
} }
#users th.sortable.sorted span.ord_notifier { #users th.sortable.sorted span.ord_notifier {
display: inline; display: inline;
@@ -125,8 +125,8 @@ td.users_col.options {
font-weight: bold; font-weight: bold;
} }
#tooltip-usr #tabledescexp td.tooltip-title { #tooltip-usr #tabledescexp td.tooltip-title {
background-color: #f0ad30; background-color: #faa732;
border: 1px solid #dd9510; border: 1px solid #f39106;
margin: 10px auto; margin: 10px auto;
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: 14px;

View File

@@ -7,7 +7,7 @@
@grey: #CCC; @grey: #CCC;
@blue: #0088CC; @blue: #0088CC;
@red: #F00; @red: #F00;
@orange: #F0AD30; @orange: #FAA732; //F0AD30;
@lemon: #FCEB3F; @lemon: #FCEB3F;
@sand: #FFFBCD; @sand: #FFFBCD;
@dk-sand: #E5D4A0; @dk-sand: #E5D4A0;

View File

@@ -7,7 +7,7 @@
@grey: #CCC; @grey: #CCC;
@blue: #0088CC; @blue: #0088CC;
@red: #F00; @red: #F00;
@orange: #F0AD30; @orange: #FAA732; //F0AD30;
@lemon: #FCEB3F; @lemon: #FCEB3F;
@sand: #FFFBCD; @sand: #FFFBCD;
@dk-sand: #E5D4A0; @dk-sand: #E5D4A0;
@@ -247,6 +247,53 @@ div.switch_right {
z-index:1500; z-index:1500;
} }
/******* BOARD ****************************************************************/
.board_section {
margin: 0 0 30px;
ul {
margin: 0 0 15px 15px;
}
div[class^="section_"] {
width: 400px;
height: auto;
h2 {
line-height: 24px;
}
ul.setup {
width: 360px;
border: 1px solid @grey;
list-style-type: none;
li {
padding: 2px 5px 2px 30px;
background-image: url(/skins/icons/ok.png);
background-repeat: no-repeat;
background-position: 5px center;
&.non-blocker {
background-image: url(/skins/icons/alert.png);
}
&.blocker {
background-image: url(/skins/icons/delete.png);
}
&:hover {
.bg(@sand);
}
}
}
}
.section_left {
float: left;
}
.section_right {
margin-left: 430px;
padding-top: 1px;
}
#flush_button {
width: 362px;
margin-left: 15px;
}
}
/******* PUBLICATIONS *********************************************************/ /******* PUBLICATIONS *********************************************************/
.form_publication { .form_publication {

View File

@@ -7,7 +7,7 @@
@grey: #CCC; @grey: #CCC;
@blue: #0088CC; @blue: #0088CC;
@red: #F00; @red: #F00;
@orange: #F0AD30; @orange: #FAA732; //F0AD30;
@lemon: #FCEB3F; @lemon: #FCEB3F;
@sand: #FFFBCD; @sand: #FFFBCD;
@dk-sand: #E5D4A0; @dk-sand: #E5D4A0;