From: ArthurHoaro Date: Fri, 14 Oct 2016 12:22:54 +0000 (+0200) Subject: Responsive plugin administration page X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=be0404d884c69f28d83d4d5c07e6c50fdd286635;p=github%2Fshaarli%2FShaarli.git Responsive plugin administration page --- diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index f57c0bb0..0719ccf7 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css @@ -948,4 +948,21 @@ pre { */ .tools-item { margin: 10px 0; +} + +/** + * PLUGIN ADMIN + */ +#pluginform .mobile-row { + font-size: 0.9em; +} + +@media screen and (max-width: 64em) { + #pluginform .main-row, #pluginform .main-row td { + border-bottom-style: none; + } + + #pluginform .mobile-row, #pluginform .mobile-row td { + border-top-style: none; + } } \ No newline at end of file diff --git a/tpl/default/pluginsadmin.html b/tpl/default/pluginsadmin.html index 189c103b..ec0728bd 100644 --- a/tpl/default/pluginsadmin.html +++ b/tpl/default/pluginsadmin.html @@ -31,35 +31,48 @@ {else} - - - - - - + + + + + + - {loop="$enabledPlugins"} - - - - - - - {/loop} + {loop="$enabledPlugins"} + + + + + + + + + + {/loop} + + + + + + + +
{'Disable'|t}{'Order'|t}{'Name'|t}{'Description'|t}
{'Disable'|t}{'Name'|t}
{'Description'|t}
{'Order'|t}
- {if="count($enabledPlugins)>1"} - - ▲ - - - ▼ - - {/if} - -
+ +
+ {if="count($enabledPlugins)>1"} + + ▲ + + + ▼ + + {/if} + +
{'Disable'|t}{'Name'|t}
{'Description'|t}
{'Order'|t}
{/if} @@ -73,18 +86,36 @@

{'No plugin disabled.'|t}

{else} - - - - - - {loop="$disabledPlugins"} - - - - - - {/loop} + + + + + + + + + {loop="$disabledPlugins"} + + + + + + + + + {/loop} + + + + + + + +
{'Enable'|t}{'Name'|t}{'Description'|t}
{'Enable'|t}{'Name'|t}
{'Description'|t}
+ +
+ +
{'Enable'|t}{'Name'|t}
{'Description'|t}
{/if} @@ -118,6 +149,9 @@