diff --git a/templates/2k11/admin/media_items.tpl b/templates/2k11/admin/media_items.tpl index 7b42e72d..af8242cd 100644 --- a/templates/2k11/admin/media_items.tpl +++ b/templates/2k11/admin/media_items.tpl @@ -10,52 +10,54 @@ {/if} {else} -
+
+
+ {* i18n *} +

{$file.realname}{if $file.orderkey != ''}: {$file.orderkey|@escape}{/if}

- {if $file.authorid != 0}{$file.authorname}{/if} + {if $file.authorid != 0}{$file.authorname}{/if}
-
- {$file.preview} +
+
+ {$file.preview} +
+ +
+
    + {if $file.hotlink} +
  • {$file.nice_hotlink}
  • + {else} + {if $file.is_image} +
  • {$CONST.ORIGINAL_SHORT}: {$file.dimensions_width}x{$file.dimensions_height}
  • +
  • {$CONST.THUMBNAIL_SHORT}: {$file.dim.0}x{$file.dim.1}
  • + {/if} +
  • {$file.nice_size} KB
  • + {if $file.realname != $file.diskname} +
  • {$file.diskname}
  • + {/if} + {/if} +
+
{if $file.is_editable} -
{/if} diff --git a/templates/2k11/admin/media_pane.tpl b/templates/2k11/admin/media_pane.tpl index a109bca9..5952e377 100644 --- a/templates/2k11/admin/media_pane.tpl +++ b/templates/2k11/admin/media_pane.tpl @@ -11,7 +11,7 @@
{$CONST.FILTERS} - {$CONST.FILTERS} + {$CONST.FILTERS}
@@ -131,7 +131,9 @@ {if $media.show_upload} {/if} - +
+ +
{if $media.nr_files < 1} {$CONST.NO_IMAGES_FOUND} diff --git a/templates/2k11/admin/style.css b/templates/2k11/admin/style.css index fa527511..22b89ba1 100644 --- a/templates/2k11/admin/style.css +++ b/templates/2k11/admin/style.css @@ -451,7 +451,9 @@ form > a, #filter_entries .form_field label, #serendipity_category label, .pluginmanager_plugin .form_check, -.pluginmanager_plugin h5 { +.pluginmanager_plugin h5, +.media_file .form_check, +.media_file h3 { display: inline-block; *display: inline; *zoom: 1; @@ -855,10 +857,9 @@ summary { cursor: pointer; } #serendipity_comments_list .form_check { margin: 1.35em 0; } .comment_data, -.configuration_group h3 { - clear: both; - margin-top: 0; -} +.configuration_group h3 { margin-top: 0; } + +.comment_data { clear: both; } .comment_data dt, .comment_data dd, @@ -872,9 +873,9 @@ summary { cursor: pointer; } .comment_summary, .comment_full, .serendipity_commentDirection { clear: both; } -#template_select article { +#template_select article, +.media_file { background: #eee; - border: 1px solid #ddd; margin: 0 0 1em; padding: 0 .5em 1em; -webkit-box-sizing: border-box; @@ -882,6 +883,17 @@ summary { cursor: pointer; } box-sizing: border-box; } +#template_select article, +.media_file, +.media_file_preview img { border: 1px solid #ddd; } + +.media_file_preview { + float: left; + margin: 0 1em 0 0; +} + +.media_file .actions { margin-bottom: 0; } + #template_select .preview_image { float: left; margin: 0 1em 1em 0; @@ -895,7 +907,8 @@ summary { cursor: pointer; } .template_info, .template_info dl, -fieldset p { margin: 0; } +fieldset p, +.media_file_meta { margin: 0; } .actions li { margin: 0 .4em 0 0; } @@ -1020,7 +1033,15 @@ fieldset p { margin: 0; } .pluginmanager_configure { right: 5px; } .pluginmanager_plugin .form_check, -.pluginmanager_plugin h5 { margin: 0 0 1em; } +.pluginmanager_plugin h5, +.media_file .form_check { margin: 0 0 1em; } + +.media_file h3 { margin: .5em 0 1em; } + +.media_file .form_check input { + position: relative; + top: .125em; +} /* Media db – might go into imgedit.css in the end */ #fs_crop { min-height: 200px; } @@ -1069,13 +1090,15 @@ fieldset p { margin: 0; } width: 48%; } - #template_select article { + #template_select article, + .media_file { float: left; margin: 0 2% 1em 0; width: 48%; } - #template_select .odd { clear: left; } + #template_select .odd, + .media_pane .odd { clear: left; } } @media only screen and (min-width: 1024px) {