forked from ODataTools/ODataGallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
h.html
327 lines (255 loc) · 17.6 KB
/
h.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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
<html>
<head>
<title></title>
<!-- Lib Styles -->
<link href="libs/bootstrap-3/bootstrap.no-icons.min.css" rel="stylesheet" />
<link href="libs/bootstrap-3/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
<!-- Styles -->
<link href="libs/bootstrap-3/app.min.css" rel="stylesheet" />
</head>
<body>
<h1> </h1>
<div class="container">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<ul class="container list-unstyled" id="odata-links-list">
<li class="row odata-link">
<div class="col-md-2">
<img class="img-responsive img-thumbnail" src="imgs\sites\91364download.jpg" />
<span class="odata-version label label-success"><small>OData server.</small><strong>3.0</strong></span>
<ul class="features list-unstyled list-inline">
<li class="feature active"><i class="icon-user"></i></li>
<li class="feature active"><i class="icon-lock"></i></li>
<li class="feature active"><i class="icon-star"></i></li>
</ul>
</div>
<div class="col-md-10">
<label class="title">google</label>
<a class="link" href="http://www.google.com" target="blank">Open !</a>
<p class="description">the net </p>
<ul class="tags list-unstyled list-inline">
<form name="delete" action="/delete" method="post" onsubmit="deleteSite('NTIzNmY2MzIzZjcyNmFkYzEwMDAwMDAx','google')" enctype="multipart/form-data">
<!--<input type="text" name="userx" value="haytham">-->
<input name="SiteID" type="hidden" value="NTIzNmY2MzIzZjcyNmFkYzEwMDAwMDAx">
<input type="submit" class="btn-info pull-right" value="Delete" />
</form>
<a data-toggle="modal" href="#myModal" class="btn-info pull-right" style="margin-right: 7px;margin-top:-12.9px">Update</a>
<!--Update Model-->
<div class="modal fade" id="NTIzNmY2MzIzZjcyNmFkYzEwMDAwMDAx" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Update</h4>
</div>
<div class="modal-body">
<form role="form">
<div class="form-group">
<button type="button" class="btn " onclick="update('google,http://www.google.com','4','5')">update</button>
<label>URL</label>
<input name="siteurl" type="text" class="form-control" placeholder="url" value="http://www.google.com">
</div>
<div class="form-group">
<label>Site Name</label>
<input name="sitename" type="text" class="form-control" placeholder="sitename" value="google">
</div>
<div class="form-group">
<label>Description</label>
<input name="Description" type="text" class="form-control" placeholder="Description">
</div>
<div class="form-group">
<label>Tags</label>
<input name="tags" type="text" class="form-control" placeholder="Tags">
</div>
<div class="form-group">
<label>Icon</label>
<input type="file" name="image" class="form-control">
</div>
<hr />
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" onclick="update('google,http://www.google.com','4','5')"">Close</button>
<button type="button" class="btn btn-primary" onsubmit="update('google,http://www.google.com','4','5')"> Save changes</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</ul>
<div class="user">
<img class="img-responsive img-circle" src="imgs\sites\91364download.jpg" />
<label class="name">haytham</label>
</div>
</div>
</li>
</ul>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<ul class="container list-unstyled" id="odata-links-list">
<li class="row odata-link">
<div class="col-md-2">
<img class="img-responsive img-thumbnail" src="imgs\sites\12793download (1).jpg" />
<span class="odata-version label label-success"><small>OData server.</small><strong>3.0</strong></span>
<ul class="features list-unstyled list-inline">
<li class="feature active"><i class="icon-user"></i></li>
<li class="feature active"><i class="icon-lock"></i></li>
<li class="feature active"><i class="icon-star"></i></li>
</ul>
</div>
<div class="col-md-10">
<label class="title">waze</label>
<a class="link" href="https://www.waze.co.il" target="blank">Open !</a>
<p class="description">maps,traffic </p>
<ul class="tags list-unstyled list-inline">
<form name="delete" action="/delete" method="post" onsubmit="deleteSite('NTIzNmY4YTQzZjcyNmFkYzEwMDAwMDAz','waze')" enctype="multipart/form-data">
<!--<input type="text" name="userx" value="haytham">-->
<input name="SiteID" type="hidden" value="NTIzNmY4YTQzZjcyNmFkYzEwMDAwMDAz">
<input type="submit" class="btn-info pull-right" value="Delete" />
</form>
<a data-toggle="modal" href="#myModal" class="btn-info pull-right" style="margin-right: 7px;margin-top:-12.9px">Update</a>
<!--Update Model-->
<div class="modal fade" id="NTIzNmY4YTQzZjcyNmFkYzEwMDAwMDAz" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Update</h4>
</div>
<div class="modal-body">
<form role="form">
<div class="form-group">
<button type="button" class="btn " onclick="update('waze,https://www.waze.co.il','4','5')">update</button>
<label>URL</label>
<input name="siteurl" type="text" class="form-control" placeholder="url" value="https://www.waze.co.il">
</div>
<div class="form-group">
<label>Site Name</label>
<input name="sitename" type="text" class="form-control" placeholder="sitename" value="waze">
</div>
<div class="form-group">
<label>Description</label>
<input name="Description" type="text" class="form-control" placeholder="Description">
</div>
<div class="form-group">
<label>Tags</label>
<input name="tags" type="text" class="form-control" placeholder="Tags">
</div>
<div class="form-group">
<label>Icon</label>
<input type="file" name="image" class="form-control">
</div>
<hr />
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" onclick="update('waze,https://www.waze.co.il','4','5')"">Close</button>
<button type="button" class="btn btn-primary" onsubmit="update('waze,https://www.waze.co.il','4','5')"> Save changes</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</ul>
<div class="user">
<img class="img-responsive img-circle" src="imgs\sites\12793download (1).jpg" />
<label class="name">haytham</label>
</div>
</div>
</li>
</ul>
</div>
<div class="col-md-2"></div>
</div>
</div>
<!-- <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Modal title</h4>
</div>
<div class="modal-body">
<form role="form">
<div class="form-group">
<label>Url</label>
<input name="siteurl" type="text" class="form-control" placeholder="url" value="this.">
</div>
<div class="form-group">
<label>SiteName</label>
<input name="sitename" type="text" class="form-control" placeholder="sitename">
</div>
<div class="form-group">
<label>Description</label>
<input name="Description" type="text" class="form-control" placeholder="Description">
</div>
<div class="form-group">
<label>Tags</label>
<input name="tags" type="text" class="form-control" placeholder="Tags">
</div>
<div class="form-group">
<label>Icon</label>
<input type="file" name="image" class="form-control">
</div>
<hr />
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>-->
<!--
<form method="post" action="/update" enctype="multipart/form-data">
<div class="modal fade" id="modal-update-link" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">login</h4>
</div>
<div class="modal-body">
<form role="form">
<div class="form-group">
<label>UserName</label>
<input name="username" type="text" class="form-control" placeholder="UserName" value="haytham">
</div>
<div class="form-group">
<label>password</label>
<input name="password" type="password" class="form-control" placeholder="Password" value="pass">
</div>
<hr />
</form>
</div>
<div class="modal-footer">
<input type="reset" class="btn btn-default" data-dismiss="modal" value="Cancel"/>
<input type="submit" class="btn btn-primary" value="Update"/>
</div>
</div>
</div>
</div>
</form>-->
<!-- Lib Scripts -->
<script>
var deleteSite = function (SiteID, siteName) {
console.log("deleteSite function\n");
//alert("Delete odata of this site:" + siteName + "?");
var ans = confirm("Delete this site:" + siteName + "?");
if (ans == true)
return true;
else
return false;
};
var update = function (s1, s2, s3, s4) {
console.log("\n" + s1 + " " + s2 + " " + s3 + " " + s4);
}
</script>
<script src="./../libs/jquery-2.0.3/jquery-2.0.3.min.js"></script>
<script src="./../libs/bootstrap-3/bootstrap.min.js"></script>
</body>
</html>