-
Notifications
You must be signed in to change notification settings - Fork 1
/
lookbookEditor.html
171 lines (135 loc) · 5.31 KB
/
lookbookEditor.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!doctype html>
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Boylston</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/uniform.default.css">
<link rel="stylesheet" href="css/jquery-ui-1.8.16.custom.css">
<div class="GalleryBoylston lookbook" id="EditGallery">
<input type="text" id="GTitle" value="" />
<div id="Toolbar" >
<a href="#New" class="newslide">New Slide</a>
<a href="#New" class="deleteslide">Delete Slide</a>
<a href="#New" class="newicon">New Icon</a>
<a href="" class="clearAll">Clear all</a>
</div>
<div class="slider">
</div>
<div id="Size">100x400</div>
<div id="SlideInfo">
<div id="SlideLink">
<a href=""></a>
</div>
<div id="Caption">
<p class="caption">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
</div>
</div>
<div class="Navigation">
<a href="#Next" class="next" title="Next slide"><span>Next</span></a>
<a href="#previous" class="previous" title="Previous slide" ><span>Previous</span></a>
<div class="counter">
<a href="#previous" class="previousslide">Previous</a>
<span class="count"></span>
<a href="#Next" class="nextslide">Next</a>
</div>
</div>
</div>
<div id="dropbox">
<h3>Upload box: </h3>
</div>
<form id="gOut" >
<textarea rows="150" cols="137" class="gallery"> </textarea>
</form>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/jquery.uniform.min.js"></script>
<script type="text/javascript" src="js/boylstonGallery.js"></script>
<script type="text/javascript" src="js/boylstonGalleryEditor.js"></script>
<script type="text/javascript" src="js/underscore.js"></script>
<script type="text/javascript" src="js/backbone.js"></script>
<script type="text/javascript" src="js/backbone-localstorage.js"></script>
<script type="text/javascript" src="js/html5uploader.js"></script>
<script type="text/javascript">
$(function(){
window.Slides = new SlideList({ID :"LookBookSlides"});
window.gallery = $(".GalleryBoylston").BoylstonGallery({autoSlide:false});
var g = new Galleries({ID: "LookBookGallery"});
new GalleryEditor({model:g});
});
</script>
<script type="text/template" id="galleryBoylston-template">
<div class="<%= classes %>" id="<%= title %>" style="width:<%= width %>px">
<div class="slider" style="width:<%= width %>px; height:<%= height %>px">
<%= slides %>
</div>
<div id="SlideLink">
<a href=""></a>
</div>
<div class="Navigation">
<a href="#Next" class="next" title="Next slide"><span>Next</span></a>
<a href="#previous" class="previous" title="Previous slide" ><span>Previous</span></a>
<div class="counter">
<a href="#previous" class="previousslide">Previous</a>
<span class="count"></span>
<a href="#Next" class="nextslide">Next</a>
</div>
</div>
<div id="Caption">
</div>
</div>
</script>
<script type="text/template" id="slideInfo-template">
<div id="SlideLink">
<a href=""></a>
</div>
<div id="Caption">
<p class="caption"></p>
</div>
</script>
<script type="text/template" id="epopup-template">
<form class="txt">
<input type="text" name="title" value="<%= title %>" />
<textarea rows="15" cols="25" name="body"><%= body %> </textarea>
<input name="save" type="button" value="Save" />
<input name="cancel" type="button" value="Cancel" />
<input name="delete" type="button" value="Delete" />
</form>
</script>
<script type="text/template" id="ecaption-template">
<form class="txt">
<div class="row">
<input type="text" name="LinkURL" value="<%= LinkURL %>" />
</div>
<div class="row">
<textarea type="text" name="txt"><%= txt %></textarea>
</div>
<input name="save" type="button" value="Save" />
<input name="cancel" type="button" value="Cancel" />
</form>
</script>
<script type="text/template" id="slide-template">
<% if (LinkURL != "") { %>
<a href="<%= LinkURL %>">
<%}%>
<img src="<%= url %>" alt="<%= title %>" />
<% if (LinkURL != "") { %>
</a>
<%}%>
<div class="icons"></div>
<p class="caption"><%= txt %></p>
</script>
<script type="text/template" id="icon-template">
<a class="point" href="#" title="<%= title %>"></a>
<div class="bubble">
<div class="txt">
<h3 class="title"><%= title %></h3>
<div class="body"><%= body %></div>
</div>
</div>
</script>
</body>
</html>