-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-ui.html
144 lines (134 loc) · 5.69 KB
/
config-ui.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<div class="theta-carousel-settinghs" title="Carousel Settings">
</div>
<div class="theta-carousel-settinghs-script" title="jQuery Script" style="overflow: hidden;">
<textarea style="width: 100%; height: 100%; resize: none;"></textarea>
</div>
<script id="theta-carousel-options-partial-template" type="text/x-handlebars-template">
{{#each settings}}
<div class="cc-stting-container" data-visibility-depends-on-property="{{visibilityDependsOnProperty}}" data-show-for-values="{{showForValues}}" data-property="{{property}}" data-refresh-event="{{refreshOnEvent}}" data-default="{{defaultVal}}" data-type="{{type}}">
{{#ifCond type "slider"}}
<div class="cc-title" style="min-width: {{../../titleMinWidth}}" data-template="{{title}} ({0})">{{title}}</div>
<div class="cc-slider-container">
<div class="cc-slider" data-min="{{min}}" data-step="{{step}}" data-max="{{max}}"></div>
</div>
<div class="cc-button-container">
<button class="cc-reset" style="outline: none;">Reset</button>
</div>
{{/ifCond}}
{{#ifCond type "combobox"}}
<div class="cc-title" style="min-width: {{../../titleMinWidth}}">{{title}}</div>
<div class="cc-select-container">
<select class="cc-select" data-custom-handler="{{customHandler}}">
{{#options}}
<option value="{{value}}">{{name}}</option>
{{/options}}
</select>
</div>
<div class="cc-button-container">
<button class="cc-reset" style="outline: none;">Reset</button>
</div>
{{/ifCond}}
{{#ifCond type "checkbox"}}
<div class="cc-title" style="min-width: {{../../titleMinWidth}}"></div>
<div class="cc-checkbox-container">
<input type="checkbox" id="{{property}}" data-default="{{defaultVal}}"><label for="{{property}}">{{title}}</label>
</div>
<div class="cc-button-container">
<button class="cc-reset" style="outline: none;">Reset</button>
</div>
{{/ifCond}}
{{#ifCond type "bezier"}}
<div class="cc-title" style="min-width: {{../../titleMinWidth}}">{{title}}</div>
<div class="cc-editor-container cc-bezier" style="height: {{height}};width: {{width}}" data-range-validator="{{rangeFunctionName}}" data-default=" {{defaultval}}" data-y-axis-title="{{yAxisTitle}}" data-x-axis-title="{{xAxisTitle}}" data-zero-x="{{zeroPositionX}}" data-zero-y="{{zeroPositionY}}">
</div>
<div class="cc-button-container">
<button class="cc-reset" style="outline: none;">Reset</button>
</div>
{{/ifCond}}
{{#ifCond type "custom"}}
{{#putHere selector}}
{{/putHere}}
{{/ifCond}}
{{#ifCond type "line"}}
<div class="cc-title"></div>
<div class="cc-editor-container"></div>
<div class="cc-button-container"></div>
{{/ifCond}}
</div>
{{/each}}
</script>
<script id="theta-carousel-options-template" type="text/x-handlebars-template">
<div class="theta-tabs">
<ul>
{{#each groups}}
<li><a href="#theta-carousel-group-{{id}}">{{title}}</a></li>
{{/each}}
</ul>
{{#each groups}}
<div id="theta-carousel-group-{{id}}">
<div class="cc-sttings-container">
{{#if isGroups}}
<div class="theta-tabs">
<ul>
{{#each groups}}
<li><a href="#theta-carousel-group-{{id}}">{{title}}</a></li>
{{/each}}
</ul>
{{#each groups}}
<div id="theta-carousel-group-{{id}}">
<div class="cc-sttings-container">
{{> options-partial }}
</div>
</div>
{{/each}}
</div>
{{else}}
{{> options-partial }}
{{/if}}
</div>
</div>
{{/each}}
</div>
</script>
<div id="next-prev">
<div class="cc-title">Move:</div>
<div class="cc-slider-container">
<button id="goFirst">First</button>
<button id="goPrev">Prev</button>
<button id="goNext">Next</button>
<button id="goEnd">End</button>
</div>
<div class="cc-button-container">
</div>
</div>
<div id="move-to">
<div class="cc-title">
<button id="move-to-button">Move To</button>
</div>
<div class="cc-slider-container">
<input id="move-to-index" />
</div>
<div class="cc-button-container">
</div>
</div>
<div id="get-width">
<div class="cc-title"></div>
<div class="cc-slider-container">
<button id="get-current-size-button">Get Current Size</button>
</div>
<div class="cc-button-container"></div>
</div>
<div id="predefined-configurations">
<div class="cc-title">Select Predefined Configuration:</div>
<div class="cc-editor-container">
<select id="configurations">
<option value="Parabola1" selected="selected">Parabola 1</option>
<option value="Bezier1">Bezier 1</option>
<option value="Bezier2">Bezier 2</option>
<option value="Bezier3">Bezier 3</option>
</select>
</div>
<div class="cc-button-container">
<button id="apply">Apply</button>
</div>
</div>