source: extensions/Slimi/admin/admin.tpl @ 23953

Last change on this file since 23953 was 20565, checked in by Miklfe, 12 years ago
File size: 2.5 KB
Line 
1{html_head}
2        <script type="text/javascript" src="themes/Slimi/admin/js/farbtastic.js" ></script>
3        <script type="text/javascript" src="themes/default/js/ui/minified/jquery.ui.slider.min.js"></script>
4        <script src="themes/Slimi/admin/js/jquery.screwdefaultbuttonsV2.min.js" type="text/javascript"></script>
5
6    <link rel="stylesheet" href="themes/Slimi/admin/theme.css" />
7                <script type="text/javascript">
8        {literal}
9                $(function(){
10               
11                        $('input:radio').screwDefaultButtons({
12                                image: 'url("themes/Slimi/admin/images/radioSmall_Blue.png")',
13                                width: 35,
14                                height: 35
15                        });
16                       
17                });
18        {/literal}
19        </script>
20
21{/html_head}
22       
23       
24       
25<div class="titrePage">
26<h2>Slimi</h2>
27</div>
28
29<form action="" method="post">
30<fieldset>
31<legend>{'Open picture'|@translate}</legend>
32<div id="option">
33                <tr><td align="right">Lightbox</td><td class="check"><input type="radio" name="lytebox_slimi" value="1" {if $selected_lytebox_slimi=='1'}checked="checked"{/if} ></td></tr>
34                       
35                <tr><td align="right">{'Picture page'|@translate}</td><td class="check"><input type="radio" name="lytebox_slimi" value="2" {if $selected_lytebox_slimi=='2'}checked="checked"{/if} ></td></tr>
36
37</div>
38</fieldset>
39
40
41
42
43<fieldset>
44        <legend>{'Color of theme'|@translate}</legend>
45          <div id="textcolor">
46          <div class="form-item"><label>Background color:</label><input type="text" name="bg_slimi" class="colorwell" value="{$selected_bg_slimi}" /></div>
47          <div class="form-item"><label>Color picture of cardre:</label><input type="text" name="bd_slimi" class="colorwell" value="{$selected_bd_slimi}" /></div>
48          <div class="form-item"><label>Color title:</label><input type="text" name="title_slimi" class="colorwell" value="{$selected_title_slimi}" /></div>
49          <p><input type="submit" name="default" value="{'Default'|@translate}" ></p>
50          </div>
51
52          <div id="picker"></div>
53         
54         
55
56</fieldset> 
57{footer_script}{literal}
58  $(document).ready(function() {
59    var f = $.farbtastic('#picker');
60    var p = $('#picker').css('opacity', 1);
61    var selected;
62    $('.colorwell')
63      .each(function () { f.linkTo(this); $(this).css('opacity', 1); })
64      .focus(function() {
65        if (selected) {
66          $(selected).css('opacity', 1).removeClass('colorwell-selected');
67        }
68        f.linkTo(this);
69        p.css('opacity', 1);
70        $(selected = this).css('opacity', 1).addClass('colorwell-selected');
71      });
72  });
73 
74{/literal}{/footer_script}
75<p><input type="submit" name="submit" value="{'Submit'|@translate}" >
76</form>
77
78
Note: See TracBrowser for help on using the repository browser.