source: extensions/cuise/admin/cuise_texture.tpl @ 24007

Last change on this file since 24007 was 19990, checked in by cljosse, 12 years ago
  • [style] cuise save
File size: 2.0 KB
Line 
1 
2{html_head}
3        <script type="text/javascript" src="themes/cuise/admin/js/fileupload.js" ></script>
4    <link rel="stylesheet" href="themes/cuise/admin/theme.css" />
5
6<style type='text/css'>
7#result{ldelim}  width:40%;height:300px;
8float:right;
9right:0px;
10top:0px;
11overflow:auto;
12}
13.image{ldelim} width:55%;height:300px;
14        border:5px solid grey;
15        min-height:300px;
16}
17.filemgt{ldelim}
18    z-index:2;
19    border:1px solid blue;
20    width:500px;
21    top:100px;
22    right:0px;
23    min-height:400px;
24}
25.filemgt table td{ldelim}
26    border:1px solid green
27}
28
29
30</style>
31
32<script type="text/javascript">
33var process_script='{$classeRoot}process.php';
34
35var path='{$root}'
36var path_theme='{$theme}';
37var path_theme_images='{$theme}images/';
38
39
40jQuery(document).ready(function(){ldelim}
41jQuery('#fileInput').ajaxfileuploader({ldelim}
42    SCRIPT: process_script,
43    PATH: path,
44    PATH_THEME: path_theme,
45    PATH_IMG:path_theme_images,
46    VALIDFORMAT:['jpeg','jpg','png','gif','bmp'],
47    MAXUPLOAD: 30,
48    TABLEHEAD:{ldelim}
49        name:'name',
50        imgname:'image name',
51        operation:'Operation',
52       
53        }})
54});
55
56  jQuery.fn.ajaxfileuploader.defaults = {ldelim}
57    SCRIPT: process_script,
58    PATH: path_theme,
59    PATH_IMG:path_theme_images,
60    ACTION: '',
61    VALIDFORMAT: ['jpeg', 'jpg', 'png', 'gif', 'bmp'],
62    MAXUPLOAD:5,
63    TABLEHEAD:  {ldelim} name: 'name',
64      imgname: 'image name',
65      operation: 'Operation'
66     
67    }
68  }
69
70</script>
71
72 {/html_head}
73<body>
74<div class="titrePage"><h2>{$theme}{$parent}</h2></div> 
75<fieldset  >
76        <legend>{'Texture'|@translate}</legend>
77    <form name='form1' action='#' >
78            <fieldset >
79        <fieldset >
80        <div id="result" class="texture" >
81
82        </div>
83        <div id='queuearea' class="image texture" >
84       
85        </div>
86        </fieldset >
87              <label>Name</label>:<input type='text' size="80" id='fileInputTxt'  >     
88              <label>Upload</label>:<input type='file' size="60" value='' id='fileInput' class="file" >
89        </fieldset>
90</form>
91
92
93
94</fieldset  >
95
96
97
98</body>
99
Note: See TracBrowser for help on using the repository browser.