mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-15 09:46:06 +01:00
updates for theming compatibility
This commit is contained in:
2
themes/grav/css-compiled/fonts.css
vendored
2
themes/grav/css-compiled/fonts.css
vendored
@@ -1,3 +1,3 @@
|
||||
@font-face{font-family:"Montserrat";font-weight:400;font-style:normal;src:url("../fonts/Montserrat-regular/Montserrat-regular.eot");src:url("../fonts/Montserrat-regular/Montserrat-regular.eot?#iefix") format("embedded-opentype"),local("Montserrat-regular"),url("../fonts/Montserrat-regular/Montserrat-regular.woff2") format("woff2"),url("../fonts/Montserrat-regular/Montserrat-regular.woff") format("woff"),url("../fonts/Montserrat-regular/Montserrat-regular.ttf") format("truetype"),url("../fonts/Montserrat-regular/Montserrat-regular.svg#Montserrat") format("svg")}@font-face{font-family:"Lato";font-weight:300;font-style:normal;src:url("../fonts/Lato-300/Lato-300.eot");src:url("../fonts/Lato-300/Lato-300.eot?#iefix") format("embedded-opentype"),local("Lato-300"),url("../fonts/Lato-300/Lato-300.woff2") format("woff2"),url("../fonts/Lato-300/Lato-300.woff") format("woff"),url("../fonts/Lato-300/Lato-300.ttf") format("truetype"),url("../fonts/Lato-300/Lato-300.svg#Lato") format("svg")}@font-face{font-family:"Lato";font-weight:400;font-style:normal;src:url("../fonts/Lato-regular/Lato-regular.eot");src:url("../fonts/Lato-regular/Lato-regular.eot?#iefix") format("embedded-opentype"),local("Lato-regular"),url("../fonts/Lato-regular/Lato-regular.woff2") format("woff2"),url("../fonts/Lato-regular/Lato-regular.woff") format("woff"),url("../fonts/Lato-regular/Lato-regular.ttf") format("truetype"),url("../fonts/Lato-regular/Lato-regular.svg#Lato") format("svg")}@font-face{font-family:"Lato";font-weight:700;font-style:normal;src:url("../fonts/Lato-700/Lato-700.eot");src:url("../fonts/Lato-700/Lato-700.eot?#iefix") format("embedded-opentype"),local("Lato-700"),url("../fonts/Lato-700/Lato-700.woff2") format("woff2"),url("../fonts/Lato-700/Lato-700.woff") format("woff"),url("../fonts/Lato-700/Lato-700.ttf") format("truetype"),url("../fonts/Lato-700/Lato-700.svg#Lato") format("svg")}@font-face{font-family:"Inconsolata";font-weight:400;font-style:normal;src:url("../fonts/Inconsolata-regular/Inconsolata-regular.eot");src:url("../fonts/Inconsolata-regular/Inconsolata-regular.eot?#iefix") format("embedded-opentype"),local("Inconsolata-regular"),url("../fonts/Inconsolata-regular/Inconsolata-regular.woff2") format("woff2"),url("../fonts/Inconsolata-regular/Inconsolata-regular.woff") format("woff"),url("../fonts/Inconsolata-regular/Inconsolata-regular.ttf") format("truetype"),url("../fonts/Inconsolata-regular/Inconsolata-regular.svg#Inconsolata") format("svg")}@font-face{font-family:"Inconsolata";font-weight:700;font-style:normal;src:url("../fonts/Inconsolata-700/Inconsolata-700.eot");src:url("../fonts/Inconsolata-700/Inconsolata-700.eot?#iefix") format("embedded-opentype"),local("Inconsolata-700"),url("../fonts/Inconsolata-700/Inconsolata-700.woff2") format("woff2"),url("../fonts/Inconsolata-700/Inconsolata-700.woff") format("woff"),url("../fonts/Inconsolata-700/Inconsolata-700.ttf") format("truetype"),url("../fonts/Inconsolata-700/Inconsolata-700.svg#Inconsolata") format("svg")}body,h5,h6,.badge,.note,.grav-mdeditor-preview,input,select,textarea,button,.selectize-input{font-family:"Lato","Helvetica","Tahoma","Geneva","Arial",sans-serif}h1,h2,h3,h4,#admin-menu li,.form-tabs>label,.label{font-family:"Montserrat","Helvetica","Tahoma","Geneva","Arial",sans-serif}code,kbd,pre,samp,body .CodeMirror{font-family:"Inconsolata","Monaco","Consolas","Lucida Console",monospace !important}
|
||||
|
||||
/*# sourceMappingURL=fonts.css.map */
|
||||
/*# sourceMappingURL=fonts.css.map */
|
||||
@@ -1 +1,10 @@
|
||||
{"version":3,"file":"fonts.css","sources":["fonts.scss","configuration/fonts/_support.scss"],"sourcesContent":["$fonts-default: 'Lato' !default;\n$fonts-header: 'Montserrat' !default;\n$fonts-mono: 'Inconsolata' !default;\n\n$font-definitions: (\n Montserrat: ('Montserrat-regular', 400) (null),\n Lato: ('Lato-300', 300) ('Lato-regular', 400) ('Lato-700', 700),\n Inconsolata: ('Inconsolata-regular', 400) ('Inconsolata-700', 700)\n);\n\n@import \"configuration/fonts/support\";\n\n\n\n\n","@mixin admin-font-faces($fonts) {\n @each $fontname, $weights in $fonts {\n @if $fontname == $fonts-default or\n $fontname == $fonts-header or\n $fontname == $fonts-mono {\n @each $fullname, $weight in $weights {\n @if $fullname != null {\n @font-face {\n font-family: '#{$fontname}';\n font-weight: $weight;\n font-style: normal;\n src: url('../fonts/#{$fullname}/#{$fullname}.eot');\n src: url('../fonts/#{$fullname}/#{$fullname}.eot?#iefix') format('embedded-opentype'),\n local('#{$fullname}'),\n url('../fonts/#{$fullname}/#{$fullname}.woff2') format('woff2'),\n url('../fonts/#{$fullname}/#{$fullname}.woff') format('woff'),\n url('../fonts/#{$fullname}/#{$fullname}.ttf') format('truetype'),\n url('../fonts/#{$fullname}/#{$fullname}.svg##{$fontname}') format('svg');\n }\n }\n }\n }\n }\n}\n\n@mixin body-fonts($font) {\n body, h5, h6,\n .badge, .note, .grav-mdeditor-preview,\n input, select, textarea, button, .selectize-input {\n font-family: \"#{$font}\", \"Helvetica\", \"Tahoma\", \"Geneva\", \"Arial\", sans-serif;\n }\n}\n\n@mixin header-fonts($font) {\n h1, h2, h3, h4,\n #admin-menu li, .form-tabs > label, .label {\n font-family: \"#{$font}\", \"Helvetica\", \"Tahoma\", \"Geneva\", \"Arial\", sans-serif;\n }\n}\n\n@mixin mono-fonts($font) {\n code, kbd, pre, samp,\n body .CodeMirror {\n font-family: \"#{$font}\", \"Monaco\", \"Consolas\", \"Lucida Console\", monospace !important;\n }\n}\n\n@include admin-font-faces($font-definitions);\n\n@each $font in $fonts-default {\n @include body-fonts($font);\n}\n\n@each $font in $fonts-header {\n @include header-fonts($font);\n}\n\n@each $font in $fonts-mono {\n @include mono-fonts($font);\n}\n\n\n\n\n"],"mappings":"ACOoB,UAAU,CACN,WAAW,CAAE,YAAc,C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ACtD,4DAAG,CAA4C,cAAM,CACrD,2DAAG,CAA2C,kBAAM,CACpD,uEAAG,CAAwD,aAAM,CAVrE,UAAU,CACN,WAAW,CAAE,aAAc,CAC3B,WAAW,CDF+B,GAAG,CCG7C,UAAU,CAAE,MAAO,CACnB,GAAG,CAAE,mDAAG,CACR,GAAG,CAAE,0DAAG,CAAkD,2BAAM,CAChE,wBAAK,CACL,qDAAG,CAA6C,eAAM,CACtD,oDAAG,CAA4C,cAAM,CACrD,mDAAG,CAA2C,kBAAM,CACpD,+DAAG,CAAwD,aAAM,CASrF,IAAI,CAAE,EAAE,CAAE,EAAE,CACZ,MAAM,CAAE,KAAK,CAAE,sBAAsB,CACrC,KAAK,CAAE,MAAM,CAAE,QAAQ,CAAE,MAAM,CAAE,gBAAgB,AAAC,CAC9C,WAAW,CAAE,MAAU,CAAE,WAAW,CAAE,QAAQ,CAAE,QAAQ,CAAE,OAAO,CAAE,UAAU,CAChF,AAID,EAAE,CAAE,EAAE,CAAE,EAAE,CAAE,EAAE,CACd,WAAW,CAAC,EAAE,CAAE,UAAU,CAAG,KAAK,CAAE,MAAM,AAAC,CACvC,WAAW,CAAE,YAAU,CAAE,WAAW,CAAE,QAAQ,CAAE,QAAQ,CAAE,OAAO,CAAE,UAAU,CAChF,AAID,IAAI,CAAE,GAAG,CAAE,GAAG,CAAE,IAAI,CACpB,IAAI,CAAC,WAAW,AAAC,CACb,WAAW,CAAE,aAAU,CAAE,QAAQ,CAAE,UAAU,CAAE,gBAAgB,CAAE,SAAS,CAAC,UAAU,CACxF","names":[],"sourceRoot":"/source/"}
|
||||
{
|
||||
"version": 3,
|
||||
"file": "fonts.css",
|
||||
"sources": [
|
||||
"../scss/fonts.scss",
|
||||
"../scss/configuration/fonts/_support.scss"
|
||||
],
|
||||
"mappings": "ACOoB,UAAU,CACN,WAAW,CAAE,YAAc,CAC3B,WAAW,CDJI,GAAG,CCKlB,UAAU,CAAE,MAAO,CACnB,GAAG,CAAE,yDAAG,CACR,G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AVrE,UAAU,CACN,WAAW,CAAE,aAAc,CAC3B,WAAW,CDF+B,GAAG,CCG7C,UAAU,CAAE,MAAO,CACnB,GAAG,CAAE,mDAAG,CACR,GAAG,CAAE,0DAAG,CAAkD,2BAAM,CAChE,wBAAK,CACL,qDAAG,CAA6C,eAAM,CACtD,oDAAG,CAA4C,cAAM,CACrD,mDAAG,CAA2C,kBAAM,CACpD,+DAAG,CAAwD,aAAM,CASrF,AAAA,IAAI,CAAE,AAAA,EAAE,CAAE,AAAA,EAAE,CACZ,AAAA,MAAM,CAAE,AAAA,KAAK,CAAE,AAAA,sBAAsB,CACrC,AAAA,KAAK,CAAE,AAAA,MAAM,CAAE,AAAA,QAAQ,CAAE,AAAA,MAAM,CAAE,AAAA,gBAAgB,AAAC,CAC9C,WAAW,CAAE,MAAU,CAAE,WAAW,CAAE,QAAQ,CAAE,QAAQ,CAAE,OAAO,CAAE,UAAU,CAChF,AAID,AAAA,EAAE,CAAE,AAAA,EAAE,CAAE,AAAA,EAAE,CAAE,AAAA,EAAE,CACd,AAAY,WAAD,CAAC,EAAE,CAAE,AAAa,UAAH,CAAG,KAAK,CAAE,AAAA,MAAM,AAAC,CACvC,WAAW,CAAE,YAAU,CAAE,WAAW,CAAE,QAAQ,CAAE,QAAQ,CAAE,OAAO,CAAE,UAAU,CAChF,AAID,AAAA,IAAI,CAAE,AAAA,GAAG,CAAE,AAAA,GAAG,CAAE,AAAA,IAAI,CACpB,AAAK,IAAD,CAAC,WAAW,AAAC,CACb,WAAW,CAAE,aAAU,CAAE,QAAQ,CAAE,UAAU,CAAE,gBAAgB,CAAE,SAAS,CAAC,UAAU,CACxF",
|
||||
"names": []
|
||||
}
|
||||
4
themes/grav/css-compiled/nucleus.css
vendored
4
themes/grav/css-compiled/nucleus.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
themes/grav/css-compiled/preset.css
vendored
4
themes/grav/css-compiled/preset.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
themes/grav/css-compiled/simple-fonts.css
vendored
2
themes/grav/css-compiled/simple-fonts.css
vendored
@@ -1,3 +1,3 @@
|
||||
body,h5,h6,.badge,.note,.grav-mdeditor-preview,input,select,textarea,button,.selectize-input,h1,h2,h3,h4,#admin-menu li,.form-tabs>label,.label{font-family:"Helvetica Neue", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif}code,kbd,pre,samp,body .CodeMirror{font-family:"Monaco", "Consolas", "Lucida Console", monospace}
|
||||
|
||||
/*# sourceMappingURL=simple-fonts.css.map */
|
||||
/*# sourceMappingURL=simple-fonts.css.map */
|
||||
@@ -1 +1,9 @@
|
||||
{"version":3,"file":"simple-fonts.css","sources":["simple-fonts.scss"],"sourcesContent":["body, h5, h6,\n.badge, .note, .grav-mdeditor-preview,\ninput, select, textarea, button, .selectize-input,\nh1, h2, h3, h4,\n#admin-menu li, .form-tabs > label, .label {\n font-family: \"Helvetica Neue\", \"Helvetica\", \"Tahoma\", \"Geneva\", \"Arial\", sans-serif;\n}\ncode, kbd, pre, samp,\nbody .CodeMirror {\n font-family: \"Monaco\", \"Consolas\", \"Lucida Console\", monospace;\n}\n"],"mappings":"AAAA,IAAI,CAAE,EAAE,CAAE,EAAE,CACZ,MAAM,CAAE,KAAK,CAAE,sBAAsB,CACrC,KAAK,CAAE,MAAM,CAAE,QAAQ,CAAE,MAAM,CAAE,gBAAgB,CACjD,EAAE,CAAE,EAAE,CAAE,EAAE,CAAE,EAAE,CACd,WAAW,CAAC,EAAE,CAAE,UAAU,CAAG,KAAK,CAAE,MAAM,AAAC,CACvC,WAAW,CAAE,sEAAuE,CACvF,AACD,IAAI,CAAE,GAAG,CAAE,GAAG,CAAE,IAAI,CACpB,IAAI,CAAC,WAAW,AAAC,CACb,WAAW,CAAE,iDAAkD,CAClE","names":[],"sourceRoot":"/source/"}
|
||||
{
|
||||
"version": 3,
|
||||
"file": "simple-fonts.css",
|
||||
"sources": [
|
||||
"../scss/simple-fonts.scss"
|
||||
],
|
||||
"mappings": "AAAA,AAAA,IAAI,CAAE,AAAA,EAAE,CAAE,AAAA,EAAE,CACZ,AAAA,MAAM,CAAE,AAAA,KAAK,CAAE,AAAA,sBAAsB,CACrC,AAAA,KAAK,CAAE,AAAA,MAAM,CAAE,AAAA,QAAQ,CAAE,AAAA,MAAM,CAAE,AAAA,gBAAgB,CACjD,AAAA,EAAE,CAAE,AAAA,EAAE,CAAE,AAAA,EAAE,CAAE,AAAA,EAAE,CACd,AAAY,WAAD,CAAC,EAAE,CAAE,AAAa,UAAH,CAAG,KAAK,CAAE,AAAA,MAAM,AAAC,CACvC,WAAW,CAAE,sEAAuE,CACvF,AACD,AAAA,IAAI,CAAE,AAAA,GAAG,CAAE,AAAA,GAAG,CAAE,AAAA,IAAI,CACpB,AAAK,IAAD,CAAC,WAAW,AAAC,CACb,WAAW,CAAE,iDAAkD,CAClE",
|
||||
"names": []
|
||||
}
|
||||
6
themes/grav/css-compiled/template.css
vendored
6
themes/grav/css-compiled/template.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -97,7 +97,7 @@ $element-map: (
|
||||
}
|
||||
}
|
||||
|
||||
$form-border: darken($content-bg,10%);
|
||||
$form-border: darken($content-bg,12%);
|
||||
$form-border-width: 1px;
|
||||
|
||||
// Core
|
||||
@@ -293,8 +293,8 @@ tr {
|
||||
}
|
||||
}
|
||||
}
|
||||
a {
|
||||
color: shade($logo-link, 20%);
|
||||
a, i {
|
||||
color: shade($logo-link, 10%);
|
||||
&:hover {
|
||||
color: $logo-link;
|
||||
}
|
||||
@@ -418,10 +418,20 @@ tr {
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-mobile-open {
|
||||
#admin-main {
|
||||
.lines-button {
|
||||
.lines, .lines:before, .lines:after {
|
||||
background: $logo-link;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#admin-dashboard {
|
||||
|
||||
.primary-accent {
|
||||
@include linear-gradient(shade($primary-accent-bg, 20%), tint($primary-accent-bg, 30%));
|
||||
@include linear-gradient(darken($primary-accent-bg, 7%), $primary-accent-bg);
|
||||
|
||||
p {
|
||||
color: rgba($primary-accent-fg, 0.95);
|
||||
@@ -443,7 +453,7 @@ tr {
|
||||
}
|
||||
|
||||
.secondary-accent {
|
||||
@include linear-gradient(shade($secondary-accent-bg, 20%), tint($secondary-accent-bg, 30%));
|
||||
@include linear-gradient(darken($secondary-accent-bg, 7%), $secondary-accent-bg);
|
||||
|
||||
p {
|
||||
color: rgba($secondary-accent-fg, 0.95);
|
||||
@@ -723,11 +733,11 @@ form {
|
||||
}
|
||||
|
||||
.primary-accent {
|
||||
background: shade($primary-accent-bg, 20%);
|
||||
background: darken($primary-accent-bg, 5%);
|
||||
color: $primary-accent-fg;
|
||||
|
||||
.button-bar {
|
||||
background: shade($primary-accent-bg, 20%);
|
||||
background: darken($primary-accent-bg, 7%);
|
||||
}
|
||||
|
||||
.button {
|
||||
@@ -736,11 +746,11 @@ form {
|
||||
}
|
||||
|
||||
.secondary-accent {
|
||||
background: shade($secondary-accent-bg, 15%);
|
||||
background: darken($secondary-accent-bg, 5%);
|
||||
color: $secondary-accent-fg;
|
||||
|
||||
.button-bar {
|
||||
background: shade($secondary-accent-bg, 15%);
|
||||
background: darken($secondary-accent-bg, 7%);
|
||||
}
|
||||
|
||||
.button {
|
||||
@@ -1103,6 +1113,24 @@ body .selectize-dropdown .optgroup-header {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
body .bootstrap-datetimepicker-widget {
|
||||
&.dropdown-menu {
|
||||
border-color: $form-border;
|
||||
}
|
||||
table {
|
||||
td span:hover, th:hover, td.day:hover {
|
||||
background: darken($content-bg, 5%) !important;
|
||||
}
|
||||
.active {
|
||||
color: $content-link !important;
|
||||
&:hover {
|
||||
color: darken($content-link, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#phpinfo {
|
||||
th {
|
||||
background: #d9d9d9;
|
||||
|
||||
@@ -143,6 +143,7 @@ $sidebar-padding: 2rem;
|
||||
width: 100%;
|
||||
max-height: 100vh;
|
||||
opacity: 0;
|
||||
z-index: 3;
|
||||
//transition: opacity 0.2s 0s, visibility 0s 0.2s;
|
||||
|
||||
#open-handle {
|
||||
|
||||
@@ -18,8 +18,7 @@
|
||||
}
|
||||
|
||||
> .button {
|
||||
position: relative;
|
||||
float: left;
|
||||
|
||||
}
|
||||
|
||||
// toggle caret
|
||||
@@ -39,7 +38,7 @@
|
||||
}
|
||||
|
||||
.button + .button, .button + .button-group, .button-group + .button, .button-group + .button-group {
|
||||
margin-left: -1px;
|
||||
margin-left: -3px;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.default-animation {
|
||||
@include transition(all 0.5s ease);
|
||||
@include transition(all 0.5s ease);
|
||||
}
|
||||
|
||||
.default-border-radius {
|
||||
@@ -11,9 +11,8 @@
|
||||
}
|
||||
|
||||
.default-box-shadow {
|
||||
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
|
||||
box-shadow: 0 0 0px 1px rgba(0,0,0,0.03);
|
||||
}
|
||||
|
||||
.padding-horiz {
|
||||
padding-left: $padding-horiz;
|
||||
padding-right: $padding-horiz;
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
}
|
||||
|
||||
#page-filtering {
|
||||
margin: -2rem $padding-default 1rem;
|
||||
margin: 0 $padding-default 1rem;
|
||||
@include clearfix;
|
||||
|
||||
@include breakpoint(mobile-only) {
|
||||
|
||||
@@ -41,7 +41,7 @@ $tab-label-height:3.5em;
|
||||
}
|
||||
|
||||
.form-tabs {
|
||||
margin-top: -4rem;
|
||||
margin-top: -2rem;
|
||||
|
||||
@include breakpoint(mobile-only){
|
||||
padding-top: 4rem;
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
-webkit-font-smoothing: auto;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
outline: none;
|
||||
|
||||
&:active {
|
||||
margin: 1px 0 -1px 0;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
{% block messages %}{% endblock %}
|
||||
|
||||
{% block content_top %}
|
||||
{% block widgets %}
|
||||
<div id="admin-dashboard">
|
||||
{% if grav.twig.plugins_hooked_dashboard_widgets_top %}
|
||||
{% for widget in grav.twig.plugins_hooked_dashboard_widgets_top %}
|
||||
|
||||
@@ -203,7 +203,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="admin-block clear">
|
||||
<div class="clear">
|
||||
{% include 'partials/messages.html.twig' %}
|
||||
{% if mode == 'new' %}
|
||||
{% include 'partials/blueprints-new.html.twig' with { blueprints: admin.blueprints('pages/page'), data: context } %}
|
||||
|
||||
@@ -49,7 +49,8 @@
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="content-padding">
|
||||
<div>
|
||||
{% block widgets %}{% endblock %}
|
||||
<div class="default-box-shadow">
|
||||
{% block messages %}
|
||||
{% include 'partials/messages.html.twig' %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{% set backup = admin.lastBackup() %}
|
||||
|
||||
<div id="updates" class="dashboard-item dashboard-left">
|
||||
<div class="secondary-accent">
|
||||
<div class="secondary-accent default-box-shadow">
|
||||
<h1>{{ "PLUGIN_ADMIN.MAINTENANCE"|tu }}</h1>
|
||||
<div class="admin-update-charts">
|
||||
<div class="updates-chart" data-chart-name="updates" data-chart-type="pie" data-chart-data="{{ {'series': [100, 0]}|json_encode|e('html_attr') }}">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% if authorize(['admin.statistics', 'admin.super']) %}
|
||||
<div id="popularity" class="dashboard-item dashboard-right" data-chart-name="popularity" data-chart-type="bar" data-chart-data="{{ {'series': [popularity.getDailyChartData['data']], 'labels': popularity.getDailyChartData['labels']}|json_encode|e('html_attr') }}">
|
||||
<div class="primary-accent">
|
||||
<div class="primary-accent default-box-shadow">
|
||||
<h1>{{ "PLUGIN_ADMIN.STATISTICS"|tu }}</h1>
|
||||
<div class="admin-statistics-chart">
|
||||
<div class="ct-chart chart-loader"><i class="fa fa-refresh fa-spin"></i></div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block body %}
|
||||
<body id="admin-login-wrapper">
|
||||
<section id="admin-login" class="{{ classes }}">
|
||||
<section id="admin-login" class="default-box-shadow {{ classes }}">
|
||||
<h1>
|
||||
{{ title }}
|
||||
</h1>
|
||||
|
||||
Reference in New Issue
Block a user