Changeset 2166
- Timestamp:
- 09/09/10 14:04:51 (17 months ago)
- Location:
- plugins/apostrophePlugin/trunk
- Files:
-
- 3 modified
-
modules/aMedia/templates/_multipleList.php (modified) (1 diff)
-
modules/aMedia/templates/_selectMultiple.php (modified) (2 diffs)
-
web/css/a-engines.css (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/trunk/modules/aMedia/templates/_multipleList.php
r2089 r2166 58 58 }); 59 59 60 $(' #a-media-selection-list-caption').hide();60 $('.a-media-selection-help').hide(); 61 61 if (!ids.length) { 62 $(' #a-media-selection-list-caption').show();62 $('.a-media-selection-help').show(); 63 63 } 64 64 -
plugins/apostrophePlugin/trunk/modules/aMedia/templates/_selectMultiple.php
r2122 r2166 21 21 <div class="a-ui"> 22 22 23 <div id="a-media-selection-list-caption"> 24 <h4><?php echo __("Preview your selected image%plural% here.", array('%plural%' => aMediaTools::isMultiple() ? 's':' '), 'apostrophe') ?></h4> 25 </div> 23 <div id="a-media-selection-wrapper"> 26 24 27 <div id="a-media-selection-wrapper"> 28 <ul id="a-media-selection-list" style="min-height:<?php echo ($thumbHeight = aMediaTools::getSelectedThumbnailHeight()) ? $thumbHeight + 10 : 0 ?>px;"> 29 <?php if($items): ?> 30 <?php include_partial("aMedia/multipleList", array("items" => $items)) ?> 31 <?php else: ?> 32 <?php if (aMediaTools::isMultiple()): ?> 33 <li class="a-media-selection-placeholder"><?php echo __('Add images to your slideshow', null, 'apostrophe') ?></li> 34 <?php else: ?> 35 <li class="a-media-selection-placeholder"><?php echo __('Select an image', null, 'apostrophe') ?></li> 36 <?php endif ?> 37 <?php endif ?> 38 </ul> 25 <div class="a-media-selection-help"> 26 <?php if (aMediaTools::isMultiple()): ?> 27 <h4><?php echo __('Add images to your slideshow', null, 'apostrophe') ?></h4> 28 <?php else: ?> 29 <h4><?php echo __('Select an image', null, 'apostrophe') ?></h4> 30 <?php endif ?> 31 </div> 32 33 <ul id="a-media-selection-list" style="min-height:<?php echo ($thumbHeight = aMediaTools::getSelectedThumbnailHeight()) ? $thumbHeight + 10 : 0 ?>px;"> 34 <?php if($items): ?> 35 <?php include_partial("aMedia/multipleList", array("items" => $items)) ?> 36 <?php endif ?> 37 </ul> 39 38 40 39 <?php echo jq_sortable_element("#a-media-selection-list", array("url" => "aMedia/multipleOrder" )) ?> … … 43 42 <?php include_partial("aMedia/multiplePreview", array("items" => $items)) ?> 44 43 </ul> 45 <ul class="a- controls a-media-crop-controls" style="display:none;">46 <li><?php echo jq_link_to_function('<span class="icon"></span>'.__('Crop', null, 'apostrophe'), 'aCrop.setCrop('. url_for('aMedia/crop').')', array('class'=>'a-btn save', 'id' => 'a-save-crop', )) ?></li>44 <ul class="a-ui a-controls a-media-crop-controls" style="display:none;"> 45 <li><?php echo jq_link_to_function('<span class="icon"></span>'.__('Crop', null, 'apostrophe'), 'aCrop.setCrop('.json_encode(url_for('aMedia/crop')).')', array('class'=>'a-btn save', 'id' => 'a-save-crop', )) ?></li> 47 46 <li><?php echo jq_link_to_function('<span class="icon"></span>'.__('Cancel', null, 'apostrophe'), 'aCrop.resetCrop()', array('class'=>'a-btn icon a-cancel')) ?></li> 48 47 </ul> -
plugins/apostrophePlugin/trunk/web/css/a-engines.css
r2159 r2166 373 373 background-color: #000; 374 374 z-index: 199; 375 -moz-border-radius: 2px; 376 -webkit-border-radius: 2px; 377 border-radius: 2px; 378 375 379 } 376 380 … … 806 810 position: relative; 807 811 float: left; 808 width:680px; 809 padding:10px; 812 width:700px; 810 813 margin-bottom: 20px; 814 /*padding:10px; 811 815 background-color: #555; 812 816 -moz-border-radius: 4px; … … 815 819 box-shadow:inset 0 0 10px #000000; 816 820 -moz-box-shadow:inset 0 0 10px #000000; 817 -webkit-box-shadow:inset 0 0 10px #000000; 821 -webkit-box-shadow:inset 0 0 10px #000000;*/ 818 822 } 819 823 … … 825 829 width:690px; 826 830 margin-left: -10px; 827 -moz-border-radius: 4px; 828 -webkit-border-radius: 4px; 829 border-radius: 4px; 830 } 831 832 .a-media-selection-placeholder 831 } 832 833 .a-ui .a-media-selection-placeholder 833 834 { 834 835 margin-left: 10px; … … 836 837 width: 80px; 837 838 height: 50px; 838 border: 2px dashed # ddd;839 border: 2px dashed #222; 839 840 padding: 10px; 840 color: # fff;841 color: #222; 841 842 } 842 843 … … 891 892 } 892 893 893 #a-media-selection-list-caption {894 display: none;895 position: absolute;896 padding: 45px;897 z-index: 1;898 }899 #a-media-selection-list-caption h4 {900 font-size: 1.2em;901 color: #999;902 }903 904 894 #a-media-selection-preview 905 895 { … … 907 897 float:left; 908 898 width:100%; 909 margin:10px 0 0;910 899 } 911 900 … … 924 913 } 925 914 926 ul.a-media-crop-controls915 .a-ui ul.a-media-crop-controls 927 916 { 928 917 position: absolute; … … 931 920 } 932 921 933 .a- crop-workspace922 .a-ui .a-crop-workspace 934 923 { 935 924 overflow: hidden; 936 925 display: none; 937 /*margin: 0 0 10px;926 margin: 10px 0; 938 927 padding: 10px; 939 928 background-color: #222; … … 943 932 box-shadow:inset 0 0 10px #000000; 944 933 -moz-box-shadow:inset 0 0 10px #000000; 945 -webkit-box-shadow:inset 0 0 10px #000000;*/ 946 } 947 934 -webkit-box-shadow:inset 0 0 10px #000000; 935 } 948 936 949 937 .a-crop-workspace h4 … … 959 947 } 960 948 961 .a-crop-workspace h4 a:hover962 {963 color: ;964 }965 949 966 950

