Changeset 28581 for extensions/Slim/admin/admin.tpl
- Timestamp:
- Jun 1, 2014, 7:10:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Slim/admin/admin.tpl
r25997 r28581 1 {html_head} 2 <style media="screen" type="text/css"> 3 {literal} 4 #opt{width:48%; display:inline-block} 5 {/literal} 6 </style> 7 {/html_head} 1 {html_style} 2 .option{ldelim}width:48%; display:inline-block} 3 {/html_style} 4 5 {combine_script id='slider' load='footer' require='jquery' path='themes/default/js/ui/minified/jquery.ui.slider.min.js'} 6 {combine_script id='button' load='footer' require='jquery' path='themes/default/js/ui/minified/jquery.ui.button.min.js'} 7 {combine_css path="themes/Slim/admin/jquery.ui.button.custom.css" order=-10} 8 {combine_css path="themes/default/js/ui/theme/jquery.ui.slider.css" order=-10} 9 10 {footer_script}{literal} 11 (function($) { 12 $(document).ready(function(){ 13 $('#opt').buttonset(); 14 $('#col_opt').buttonset(); 15 }); 16 17 $(function() { 18 $('#slider-range-max').slider({ 19 range: "max", 20 min: 1, 21 max: 20, 22 value: {/literal}{$selected_carousel_speed}{literal}, 23 slide: function( event, ui ) { 24 $('#carspeed').val( ui.value ); 25 } 26 }); 27 $('#carspeed').val( $('#slider-range-max').slider('value')); 28 }); 29 })(jQuery); 30 {/literal}{/footer_script} 8 31 9 32 … … 19 42 <fieldset> 20 43 <legend>{'Slim'|@translate}</legend> 21 22 <div id="opt"> 23 <table> 24 <td><u>Style</u></td> 25 <tr><td align="right">Slim</td><td class="check"><input type="radio" name="style_slim" value="1" {if $selected_style_slim=='1'}checked="checked"{/if} ></td></tr> 26 27 <tr><td align="right">Slim_L</td><td class="check"><input type="radio" name="style_slim" value="2" {if $selected_style_slim=='2'}checked="checked"{/if} ></td></tr> 28 29 <tr><td align="right">Slim_XL</td><td class="check"><input type="radio" name="style_slim" value="3" {if $selected_style_slim=='3'}checked="checked"{/if} ></td></tr> 30 </table> 31 </div> 32 <div id="opt"> 33 <table> 34 <td><u>Color</u></td> 35 <tr><td align="right">White</td><td class="check"><input type="radio" name="color_theme" value="1" {if $selected_color_theme=='1'}checked="checked"{/if} ></td></tr> 36 37 <tr><td align="right">Black</td><td class="check"><input type="radio" name="color_theme" value="2" {if $selected_color_theme=='2'}checked="checked"{/if} ></td></tr> 38 39 <tr><td align="right">Grey</td><td class="check"><input type="radio" name="color_theme" value="3" {if $selected_color_theme=='3'}checked="checked"{/if} ></td></tr> 40 </table> 44 <div class="opt"> 45 <div id="opt" class="option"> 46 <div><u>Style</u></div> 47 <br> 48 <input type="radio" id="radio1" name="style_slim" value="1" {if $selected_style_slim=='1'}checked="checked"{/if}><label for="radio1">Slim</label> 49 <input type="radio" id="radio2" name="style_slim" value="2" {if $selected_style_slim=='2'}checked="checked"{/if}><label for="radio2">Slim_L</label> 50 <input type="radio" id="radio3" name="style_slim" value="3" {if $selected_style_slim=='3'}checked="checked"{/if}><label for="radio3">Slim_XL</label> 41 51 </div> 42 52 53 <div id="col_opt" class="option"> 54 <div><u>Color</u></div> 55 <br> 56 <input type="radio" id="radio4" name="color_theme" value="1" {if $selected_color_theme=='1'}checked="checked"{/if}><label for="radio4">White</label> 57 <input type="radio" id="radio5" name="color_theme" value="2" {if $selected_color_theme=='2'}checked="checked"{/if}><label for="radio5">Black</label> 58 <input type="radio" id="radio6" name="color_theme" value="3" {if $selected_color_theme=='3'}checked="checked"{/if}><label for="radio6">Grey</label> 59 </div> 60 61 <div id="car_speed" class="option" style="margin-top:20px"> 62 <div><u>Carousel</u></div> 63 <p> 64 <label for="carspeed">Carousel speed</label> 65 <input type="text" id="carspeed" style="border:0; color:#f6931f; font-weight:bold;" name="carousel_speed" value={$selected_carousel_speed}> 66 </p> 67 <br> 68 <div id="slider-range-max"></div> 69 70 </div> 71 72 </div> 43 73 </fieldset> 44 74 <p><input type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}>
Note: See TracChangeset
for help on using the changeset viewer.