From 9a00e7cba9997b7c97e696742ea4a27b8c86ff83 Mon Sep 17 00:00:00 2001 From: Matthias Mees Date: Sat, 20 Jul 2013 12:30:44 +0200 Subject: [PATCH] Hide more elements which don't make sense on no-js. --- templates/2k11/admin/images.inc.tpl | 10 +++++----- templates/2k11/admin/show_plugins.fnc.tpl | 2 -- templates/2k11/admin/style.css | 15 +++++++++++++-- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/templates/2k11/admin/images.inc.tpl b/templates/2k11/admin/images.inc.tpl index 17bfb91e..c6b1934d 100644 --- a/templates/2k11/admin/images.inc.tpl +++ b/templates/2k11/admin/images.inc.tpl @@ -78,7 +78,7 @@ {else} - + {/if} {/if} @@ -91,7 +91,7 @@ {if $case_add} {if $smarty.post.adminSubAction == 'properties'} - + {else} {$showML_add} {/if} @@ -258,13 +258,13 @@ {if $case_rotateCW} {if $rotate_img_done} - + {/if} {/if} {if $case_rotateCCW} {if $rotate_img_done} - + {/if} {/if} {if $case_scale} @@ -272,7 +272,7 @@ {if $print_serendipity_scaleImg} {$print_serendipity_scaleImg}{/if} {$CONST.DONE} - + {/if} {if $case_scaleSelect} {if $print_RESIZE_BLAHBLAH}

{$print_RESIZE_BLAHBLAH}

{/if} diff --git a/templates/2k11/admin/show_plugins.fnc.tpl b/templates/2k11/admin/show_plugins.fnc.tpl index 0f3f2b3f..3a299261 100644 --- a/templates/2k11/admin/show_plugins.fnc.tpl +++ b/templates/2k11/admin/show_plugins.fnc.tpl @@ -73,7 +73,6 @@
  • {if $plugin_data.sort_idx == 0} -   {else} UP @@ -81,7 +80,6 @@ {/if} {if $sort_idx == $total - 1} -   {else} DOWN diff --git a/templates/2k11/admin/style.css b/templates/2k11/admin/style.css index 352d7f2d..215b497a 100644 --- a/templates/2k11/admin/style.css +++ b/templates/2k11/admin/style.css @@ -1354,6 +1354,10 @@ fieldset p, margin: 0 .4em 0 0; } +.no-js .media_file .actions li { + margin: 0 .4em 0 -.4em; +} + .editor_toolbar input { margin: 0 .25em .75em 0; } @@ -1735,12 +1739,14 @@ form > .button_link:first-of-type, } .pluginmanager .pluginmanager_grablet, -.pluginmanager .pluginmanager_configure { +.pluginmanager .pluginmanager_configure, +.pluginmanager_move { position: absolute; top: 5px; } -.pluginmanager .pluginmanager_grablet { +.pluginmanager .pluginmanager_grablet, +.pluginmanager_move { left: 5px; } @@ -1841,6 +1847,11 @@ form > .button_link:first-of-type, .no-js .template_show_info, .no-js #serendipity_comments_list .comment_summary, .no-js .editor_toolbar, +.no-js #s9y_links > span, +.no-js .toggle_info .info-icon-circled, +.no-js .pluginmanager_grablet, +.no-js .image_resize_hint, +.no-js #serendipityScaleForm > .form_check, .js .additional_info, .installer .toggle_info, .hidden {