diff --git a/admin/themes/default/template/maintenance_actions.tpl b/admin/themes/default/template/maintenance_actions.tpl index 8c83d99bc..fb154d461 100644 --- a/admin/themes/default/template/maintenance_actions.tpl +++ b/admin/themes/default/template/maintenance_actions.tpl @@ -118,21 +118,37 @@ $(".delete-size-check").change(function() { {'Purge sessions'|@translate} {'Purge never used notification feeds'|@translate} {'Purge search history'|@translate} - {'Purge compiled templates'|@translate} -
- {'Delete multiple size images'|@translate} -
- {foreach from=$purge_derivatives key=name item=url name=loop} -
- {$name} +
+Purge Cache + +
+
+ Taille du cache + 999 Go + calculé il y a + 42 mois + Actulaliser
- {/foreach} + {'Purge compiled templates'|@translate} 999 Go
-
-Delete these sizes + + +
+ {'Delete multiple size images'|@translate} 999 Go +
+ {foreach from=$purge_derivatives key=name item=url name=loop} +
+ {$name} +
+ {/foreach} +
+
+ + Delete these sizes + \ No newline at end of file diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index f2c649c74..7d0605cd5 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -2122,6 +2122,60 @@ legend {text-align:left;} /* local-layout */ /* You can modify this file */ +/* Maintenance */ + +.template-purge { + height: 100px; + display: flex; + align-items: flex-start; + flex-direction: column; + margin-bottom: 20px; +} + +.cache-infos { + margin-bottom: 20px; +} + +.cache-infos a { + margin-left: 10px; + font-size: 15px; +} + +.cache-size-value { + background: #dddddd; + padding: 1px 8px; + border-radius: 5px; + font-weight: bold; +} + +.cache-size-text { + font-size: 15px; + font-weight: bold; +} + +.cache-lastCalculated-text, .cache-lastCalculated-value { + font-weight: bold; +} + +.multiple-pictures-sizes, .multiple-compiledTemplate-sizes { + background: #dddddd; + padding: 1px 8px; + border-radius: 5px; + font-size: 10px; + font-weight: bold; + color: #777; +} + +.multiple-compiledTemplate-sizes { + margin-left: 10px; +} + +.multiple-pictures-sizes { + position: absolute; + left: 231px; + margin-top: 25px; +} + /* Tables & forms */ SELECT, TEXTAREA { diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 06b61d6e0..3fda20363 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -1317,3 +1317,13 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important; .storage-chart span{ opacity:1; } + + +.multiple-pictures-sizes, .multiple-compiledTemplate-sizes, .cache-size-value { + background: #555555; + color: #c1c1c1; +} + +.cache-lastCalculated-value, .cache-lastCalculated-text, .cache-size-text, .picture-deletion-size, #label-delete-size-checkbox { + color: #c1c1c1; +}