Browse Source

[Administration] Header : tri producteurs hors-ligne

feature/souke
Guillaume Bourgeois 1 year ago
parent
commit
2c630d6749
3 changed files with 57 additions and 32 deletions
  1. +39
    -31
      backend/web/css/screen.css
  2. +9
    -0
      backend/web/js/backend.js
  3. +9
    -1
      backend/web/sass/_adminlte.scss

+ 39
- 31
backend/web/css/screen.css View File

top: -2px; top: -2px;
left: 0px; left: 0px;
} }
/* line 87, ../sass/_adminlte.scss */
/* line 85, ../sass/_adminlte.scss */
body.skin-black .main-header .navbar .nav li.producer-menu #link-display-producers-offline {
color: #FF7F00;
}
/* line 89, ../sass/_adminlte.scss */
body.skin-black .main-header .navbar .nav li.producer-menu .offline {
display: none;
}
/* line 95, ../sass/_adminlte.scss */
body.skin-black .sidebar-menu > li.active > a { body.skin-black .sidebar-menu > li.active > a {
border-color: #FF7F00; border-color: #FF7F00;
} }
/* line 91, ../sass/_adminlte.scss */
/* line 99, ../sass/_adminlte.scss */
body.skin-black .content-wrapper { body.skin-black .content-wrapper {
background-color: #f5f5f5; background-color: #f5f5f5;
} }
/* line 94, ../sass/_adminlte.scss */
/* line 102, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .content-header { body.skin-black .content-wrapper .content-header {
background-color: #F5F5F5; background-color: #F5F5F5;
padding-bottom: 15px; padding-bottom: 15px;
border-bottom: solid 1px #e0e0e0; border-bottom: solid 1px #e0e0e0;
border-top: solid 1px #e0e0e0; border-top: solid 1px #e0e0e0;
} }
/* line 100, ../sass/_adminlte.scss */
/* line 108, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .content-header .btn { body.skin-black .content-wrapper .content-header .btn {
padding: 3px 6px; padding: 3px 6px;
font-size: 10px; font-size: 10px;
font-family: Arial; font-family: Arial;
text-transform: uppercase; text-transform: uppercase;
} }
/* line 107, ../sass/_adminlte.scss */
/* line 115, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .content-header h1 { body.skin-black .content-wrapper .content-header h1 {
font-family: "highvoltageregular"; font-family: "highvoltageregular";
} }
/* line 114, ../sass/_adminlte.scss */
/* line 122, ../sass/_adminlte.scss */
body.skin-black .content-wrapper a { body.skin-black .content-wrapper a {
color: #FF7F00; color: #FF7F00;
} }
/* line 118, ../sass/_adminlte.scss */
/* line 126, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .btn { body.skin-black .content-wrapper .btn {
color: white; color: white;
} }
/* line 122, ../sass/_adminlte.scss */
/* line 130, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .btn-default { body.skin-black .content-wrapper .btn-default {
color: #333; color: #333;
background-color: white; background-color: white;
} }
/* line 127, ../sass/_adminlte.scss */
/* line 135, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .btn-primary { body.skin-black .content-wrapper .btn-primary {
background-color: #FF7F00; background-color: #FF7F00;
color: white; color: white;
border-color: #FF7F00; border-color: #FF7F00;
} }
/* line 134, ../sass/_adminlte.scss */
/* line 142, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .alert a { body.skin-black .content-wrapper .alert a {
color: white; color: white;
} }
/* line 137, ../sass/_adminlte.scss */
/* line 145, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .alert a.btn { body.skin-black .content-wrapper .alert a.btn {
color: #333; color: #333;
text-decoration: none; text-decoration: none;
} }
/* line 142, ../sass/_adminlte.scss */
/* line 150, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .alert .close { body.skin-black .content-wrapper .alert .close {
font-size: 30px; font-size: 30px;
position: relative; position: relative;
color: white; color: white;
opacity: 0.6; opacity: 0.6;
} }
/* line 150, ../sass/_adminlte.scss */
/* line 158, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .alert .close:hover { body.skin-black .content-wrapper .alert .close:hover {
opacity: 1; opacity: 1;
} }
/* line 157, ../sass/_adminlte.scss */
/* line 165, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .callout h4 .fa { body.skin-black .content-wrapper .callout h4 .fa {
margin-right: 7px; margin-right: 7px;
} }
/* line 160, ../sass/_adminlte.scss */
/* line 168, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .callout a { body.skin-black .content-wrapper .callout a {
color: white; color: white;
} }
/* line 163, ../sass/_adminlte.scss */
/* line 171, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .callout .btn { body.skin-black .content-wrapper .callout .btn {
color: #333; color: #333;
text-decoration: none; text-decoration: none;
} }
/* line 170, ../sass/_adminlte.scss */
/* line 178, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .table th { body.skin-black .content-wrapper .table th {
font-size: 13px; font-size: 13px;
} }
/* line 173, ../sass/_adminlte.scss */
/* line 181, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .table th.column-actions, body.skin-black .content-wrapper .table td.column-actions { body.skin-black .content-wrapper .table th.column-actions, body.skin-black .content-wrapper .table td.column-actions {
width: 150px; width: 150px;
text-align: right; text-align: right;
} }
/* line 177, ../sass/_adminlte.scss */
/* line 185, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .table td.text-small, body.skin-black .content-wrapper .table th.text-small { body.skin-black .content-wrapper .table td.text-small, body.skin-black .content-wrapper .table th.text-small {
font-size: 12px; font-size: 12px;
} }
/* line 182, ../sass/_adminlte.scss */
/* line 190, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .pagination > .active > a, body.skin-black .content-wrapper .pagination > .active > span, body.skin-black .content-wrapper .pagination > .active > a:hover, body.skin-black .content-wrapper .pagination > .active > span:hover, body.skin-black .content-wrapper .pagination > .active > a:focus, body.skin-black .content-wrapper .pagination > .active > span:focus { body.skin-black .content-wrapper .pagination > .active > a, body.skin-black .content-wrapper .pagination > .active > span, body.skin-black .content-wrapper .pagination > .active > a:hover, body.skin-black .content-wrapper .pagination > .active > span:hover, body.skin-black .content-wrapper .pagination > .active > a:focus, body.skin-black .content-wrapper .pagination > .active > span:focus {
background-color: #FF7F00; background-color: #FF7F00;
border: solid 1px #FF7F00; border: solid 1px #FF7F00;
color: white; color: white;
} }
/* line 187, ../sass/_adminlte.scss */
/* line 195, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .pagination > li > a, body.skin-black .content-wrapper .pagination > li > span { body.skin-black .content-wrapper .pagination > li > a, body.skin-black .content-wrapper .pagination > li > span {
color: #FF7F00; color: #FF7F00;
} }
/* line 189, ../sass/_adminlte.scss */
/* line 197, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .pagination > li > a:hover, body.skin-black .content-wrapper .pagination > li > span:hover { body.skin-black .content-wrapper .pagination > li > a:hover, body.skin-black .content-wrapper .pagination > li > span:hover {
color: #cc6600; color: #cc6600;
} }
/* line 194, ../sass/_adminlte.scss */
/* line 202, ../sass/_adminlte.scss */
body.skin-black .content-wrapper .submenu { body.skin-black .content-wrapper .submenu {
margin-bottom: 25px; margin-bottom: 25px;
} }
/* line 200, ../sass/_adminlte.scss */
/* line 208, ../sass/_adminlte.scss */
body.skin-black .main-footer a { body.skin-black .main-footer a {
color: #FF7F00; color: #FF7F00;
} }


/* line 206, ../sass/_adminlte.scss */
/* line 214, ../sass/_adminlte.scss */
body.login-page { body.login-page {
background: none; background: none;
background-color: white; background-color: white;
} }
/* line 210, ../sass/_adminlte.scss */
/* line 218, ../sass/_adminlte.scss */
body.login-page .login-box .login-logo { body.login-page .login-box .login-logo {
text-align: center; text-align: center;
font-family: "comfortaalight"; font-family: "comfortaalight";
} }
/* line 213, ../sass/_adminlte.scss */
/* line 221, ../sass/_adminlte.scss */
body.login-page .login-box .login-logo img { body.login-page .login-box .login-logo img {
width: 50px; width: 50px;
} }
/* line 218, ../sass/_adminlte.scss */
/* line 226, ../sass/_adminlte.scss */
body.login-page .login-box .login-box-body .btn-primary { body.login-page .login-box .login-box-body .btn-primary {
background-color: #FF7F00; background-color: #FF7F00;
border-color: #FF7F00; border-color: #FF7F00;
padding: 5px 10px; padding: 5px 10px;
} }
/* line 223, ../sass/_adminlte.scss */
/* line 231, ../sass/_adminlte.scss */
body.login-page .login-box .login-box-body .btn-primary:active { body.login-page .login-box .login-box-body .btn-primary:active {
background-color: #ff8c1a; background-color: #ff8c1a;
border-color: #FF7F00; border-color: #FF7F00;
} }
/* line 229, ../sass/_adminlte.scss */
/* line 237, ../sass/_adminlte.scss */
body.login-page .login-box .login-box-body a { body.login-page .login-box .login-box-body a {
color: #FF7F00; color: #FF7F00;
} }
/* line 231, ../sass/_adminlte.scss */
/* line 239, ../sass/_adminlte.scss */
body.login-page .login-box .login-box-body a:hover { body.login-page .login-box .login-box-body a:hover {
color: #ff8c1a; color: #ff8c1a;
} }

+ 9
- 0
backend/web/js/backend.js View File

opendistrib_user_index(); opendistrib_user_index();
opendistrib_menu_treeview(); opendistrib_menu_treeview();
opendistrib_select2(); opendistrib_select2();
opendistrib_dropdown_producers();
}); });


var UrlManager = { var UrlManager = {
} }
}; };


function opendistrib_dropdown_producers() {
$('#link-display-producers-offline').click(function() {
$(this).hide();
$('.producer-menu .offline').show();
return false;
});
}

function opendistrib_popover() { function opendistrib_popover() {
$('button[data-toggle=popover], a[data-toggle=popover]').popover(); $('button[data-toggle=popover], a[data-toggle=popover]').popover();
} }

+ 9
- 1
backend/web/sass/_adminlte.scss View File

position: relative ; position: relative ;
top: -2px ; top: -2px ;
left: 0px ; left: 0px ;
}
}

#link-display-producers-offline {
color: $color1;
}

.offline {
display: none;
}
} }
} }



Loading…
Cancel
Save