-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreate Campaign 5.html
402 lines (387 loc) · 14.6 KB
/
Create Campaign 5.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
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
<!DOCTYPE html>
<html lang="fa">
<head>
<title>Home Page</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./Style/MobileStyle.css">
<link rel="stylesheet" href="./Style/Color.css">
<link href="./dist/css/font-awesome.css" rel="stylesheet" type="text/css" />
<link href="./dist/css/tiFontIcon.css" rel="stylesheet" type="text/css" />
<script src="./Jquery-3.3.1/jquery-3.3.1.js"></script>
<script src="./jquery.mobile-1.4.5/jquery.mobile-1.4.5.js"></script>
<script src="./jquery.mobile-1.4.5/jquery.mobile-1.5.0-alpha.1.min.js"></script>
<script src="./bootstrap-4.1.3/js/bootstrap.js"></script>
<script src="./js/Action.js"></script>
<script src="./js/slider.js"></script>
<link rel="stylesheet" href="./Style/treeview.css">
</head>
<body dir="rtl" onresize="menuToggler()">
<!-- the navigation part -->
<div>
<!-- the drop down menu -->
<div id="topnav" class="d-flex bg-light flex-column justify-content-end fixed-top" style="height: 55px;">
<div class="container flex-grow-1" style="overflow-y: scroll">
<!-- start profile -->
<div class="row mt-2">
<!-- start profile picture -->
<div class="col-4">
<img src="./img/avatar5.png" class="rounded-circle img-thumbnail" width="90px" alt="">
</div>
<!-- end profile picture -->
<div class="col-7 d-flex flex-column align-items-center justify-content-around">
<div>پارسا لاریمیان</div> <!-- name of the user -->
<div class="wrap-solve">
<!-- for edit profile btn -->
<button type="button" class="btn bg-transparent border-info rounded shadow hover-bg-1 hover-text-3 w-50">ویرایش</button>
<!-- end edit profile btn -->
<!-- for exit btn -->
<button type="button" class="btn bg-transparent border-info rounded shadow hover-bg-1 hover-text-3 w-50">خروج
</button>
<!-- end exit btn -->
</div>
</div>
</div>
<!-- end profile -->
<hr>
<!-- start tree view menu -->
<div>
<ul id="myUL">
<li class="mt-2 py-1 d-flex px-0">
<a href="Profile.html" class="cursor-pointer hover-bg-4 hover-text-3 rounded p-1 w-100">گزارش کمپین ها</a>
</li>
<li class="p-0 hover-bg-4 hover-text-3 rounded">
<div onclick="rotate(this)" class="d-flex justify-content-between caret p-1">
گزارش مالی
<i class="fa fa-angle-left float-left pl-1" style=""></i>
</div>
<ul class="nested bg-light">
<li class="py-1 d-flex"><a class="w-100 hover-bg-2 hover-text-3 p-1 rounded" href="">گزارش مالی 1</a></li>
<li class="py-1 d-flex"><a class="w-100 hover-bg-2 hover-text-3 p-1 rounded" href="">گزارش مالی 2</a></li>
</ul>
</li>
<li class="p-0 hover-bg-4 hover-text-3 rounded">
<div onclick="rotate(this)" class="d-flex justify-content-between caret p-1">
تنظیمات
<i class="fa fa-angle-left float-left pl-1" style=""></i>
</div>
<ul class="nested bg-light">
<li class="py-1 d-flex"><a class="w-100 hover-bg-2 hover-text-3 p-1 rounded" href="">افزودن پیج</a></li>
<li class="py-1 d-flex"><a class="w-100 hover-bg-2 hover-text-3 p-1 rounded" href="">ربات تلگرام</a></li>
<li class="py-1 d-flex"><a class="w-100 hover-bg-2 hover-text-3 p-1 rounded" href="">حساب بانکی</a></li>
</ul>
</li>
</ul>
</div>
<!-- end tree view menu -->
</div>
<nav class="navbar-expand-sm p-2 border-b-1">
<div class="row nowrap">
<!-- for the drop down btn -->
<div id="aplication" class="cursor-pointer col-1 d-flex">
<a class="m-auto">
<i class="fa fa-align-justify"></i>
</a>
</div>
<!-- end for the drop down btn -->
<!-- for the logo part -->
<div class="col-9">
<div class="row">
<a class="mx-auto navbar-brand text-dark" href="#">
<b>
Digi<span class="text-danger">Rasan</span>
</b>
</a>
</div>
</div>
<!-- end for the logo part -->
<!-- for the help icon -->
<div class="pl-1 d-none">
<a class="text-warning m-auto" href="#">
<i class="fa fa-question-circle fa-2x"></i>
</a>
</div>
<!-- end for the help icon -->
</div>
</nav>
</div>
<!-- end the drop down menu -->
<!-- start the footer part -->
<nav class="navbar bg-light fixed-bottom border-t-1">
<div class="container">
<!-- profile page -->
<a class="text-secondary" href="./Profile.html">
<i class="ti-Line-Person fa-2x"></i>
</a>
<!-- end profile page -->
<!-- notification page -->
<a class="text-secondary" href="./Notification.html">
<div style="position: relative">
<i class="fa fa-bell-o fa-2x"></i>
<span style="position: absolute;top: 0;left: 40%" class="badge badge-warning">10</span>
</div>
</a>
<!-- end notification page -->
<!-- help page -->
<a class="text-warning" href="#">
<i class="fa fa-question-circle fa-2x"></i>
</a>
<!-- end help page -->
<!-- calender page -->
<a class="text-secondary" href="#">
<i class="ti-Line-Calendar-2 fa-2x"></i>
</a>
<!-- end calender page -->
<!-- home dashboard page -->
<a class="text-secondary" href="/HomeDashboard.html">
<i class="ti-Line-Home fa-2x"></i>
</a>
<!-- end home dashboard page -->
</div>
</nav>
<!-- end the footer part -->
</div>
<!-- end navigation part -->
<div style="clear: both;height: 60px;"></div> <!-- this is for spacing the navigation and body -->
<!-- start mainBody -->
<div id="mainBody" class="container flex-column d-flex ">
<!-- state numbers section -->
<div class="row d-flex justify-content-around">
<div class="col-2 sz-15">
<svg width="50" height="50" style="background-color:">
<circle cx="25" cy="25" r="18" stroke="red" stroke-width="1" fill="#28a745" />
<text x="32" y="30" fill="white">5</text>
</svg>
</div>
<div class="col-2 sz-15">
<svg width="50" height="50" style="background-color:">
<circle cx="25" cy="25" r="18" stroke="red" stroke-width="1" fill="#28a745" />
<text x="31" y="30" fill="white">4</text>
</svg>
</div>
<div class="col-2 sz-15">
<svg width="50" height="50" style="background-color:">
<circle cx="25" cy="25" r="18" stroke="red" stroke-width="1" fill="#28a745" />
<text x="33" y="30" fill="white">3</text>
</svg>
</div>
<div class="col-2 sz-15">
<svg width="50" height="50" style="background-color:">
<circle cx="25" cy="25" r="18" stroke="red" stroke-width="1" fill="#28a745" />
<text x="31" y="30" fill="white">2</text>
</svg>
</div>
<div class="col-2 sz-15">
<svg width="50" height="50" style="background-color:">
<circle cx="25" cy="25" r="18" stroke="red" stroke-width="1" fill="#28a745" />
<text x="28" y="30" fill="white">1</text>
</svg>
</div>
</div>
<!-- end state numbers section -->
<!-- statrt campaign review body -->
<div id="" class="my-3">
<!-- start review campaign report section -->
<div class="mt-3">
<div class="border-1 rounded w-100 text-right my-2">
<!-- header report section -->
<div class="p-2 pr-3 bg-light border-b-1 d-flex flex-row justify-content-between">
<div class="d-flex align-items-center">گزارش نهایی</div>
<!-- see all coments btn -->
<div>
<button type="button" class="p-1 btn bg-white hover-bg-1 hover-text-3 border-info rounded">ویرایش</button>
</div>
<!-- end see all coments btn -->
</div>
<!-- end header of report section -->
<!-- start report body section -->
<div class="px-4">
<!-- cost section -->
<div class="pt-2 d-flex flex-row justify-content-between">
<div>قیمت:</div>
<div>
200,000
</div><!-- the amount -->
<div>تومان</div>
</div>
<!-- end cost section -->
<!-- place section -->
<div class="pt-2 d-flex flex-row justify-content-between">
<div>محل:</div>
<div>مازندران/بابل</div><!-- the place -->
</div>
<!-- end place section -->
<!-- participation percent section -->
<div class="pt-2 d-flex flex-row justify-content-between">
<div>درصد مشارکت:</div>
<div>50%</div><!-- the percent -->
</div>
<!-- end participation percent section -->
<!-- date section -->
<div class="pt-2 d-flex flex-row justify-content-between">
<div>تاریخ:</div>
<div>1397/11/25</div><!-- the date -->
</div>
<!-- end date section -->
<!-- amount of followers section -->
<div class="pt-2 d-flex flex-row justify-content-between">
<div>تعداد فالوور:</div>
<div>2k</div><!-- the amount -->
</div>
<!-- end amount of followers section -->
<!-- the title of the pages section -->
<div class="py-2 d-flex flex-row justify-content-between">
<div>موضوع پیج:</div>
<div>
<div>ورزشی</div>
<div>آموزشی</div>
</div><!-- the titles -->
</div>
<!-- end title of the page section -->
</div>
<!-- end report body section -->
</div>
</div>
<!-- end review campaign report part -->
<!-- start review campaign description part -->
<div class="bg-light mt-3 p-3 text-right rounded">
<div>کپشن:</div>
<!-- text of description -->
<div class="content hideContent mt-3">
<p class="py-2 text-justify sz-8"> که مخفف user interface می باشد در فیلد اثر متقابل ماشین و انسان در صنعت طراحی، فضایی می باشد که اثر متقابل بین انسان و ماشین به وجود می آید. هدف این اثر متقابل اجازه برای عمل کرد موثر و کنترل ماشین از سمت انسان می باشد، در حالیکه ماشین اطلاعاتی را باز می گرداند </p>
</div>
<!-- show more & show less text -->
<div class="show-more">
<a class="text-secondary sz-8 cursor-pointer">بیشتر...</a>
</div>
</div>
<!-- end review campaign description part -->
<!-- start review campaign content part -->
<div class="mt-3 pt-3 pb-4 bg-light rounded">
<div class="text-right pr-3">محتواها:</div>
<div class="container mt-3" dir="ltr">
<section id="slider" role="slider" class='bg-17'>
<div tag='image' class='w-100 box'>
<div class='w-100'>
<img class='w-100 img-fluid' src='./img/01.jpg'>
</div>
<div class='w-100'>
<img class='w-100 img-fluid' src='./img/02.jpg'>
</div>
<div class='w-100'>
<video class="w-100" controls>
<source src="/img/p3hdTggYmdBWrf-F.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
</div>
<div role='Pointer' class='pt-2 d-flex flex-row justify-content-center'>
</div>
</section>
</div>
</div>
<!-- end review campaign content part -->
<!-- accept or cancel btns section -->
<div class="row mt-5">
<!-- cancel btn section -->
<div class="col-6">
<div>
<button type="button" class="btn rounded w-100 text-4 border-2-red bg-transparent hover-text-3 hover-bg-1 shadow">لغو</button>
</div>
</div>
<!-- end cancel btn section -->
<!-- continue btn section -->
<div class="col-6">
<div>
<button type="button" class="btn rounded w-100 text-4 border-2-green bg-transparent hover-text-3 hover-bg-6 shadow">تایید</button>
</div>
</div>
<!-- end continue btn section -->
</div>
<!-- end accept or cancel btns section -->
</div>
<!-- end campaign review body -->
</div>
<!-- End mainBody -->
<div style="clear: both;height: 60px;"></div> <!-- this is for spacing the navigation and body -->
<!-- for modal-->
<div id="modal" class="d-flex flex-column justify-content-end bg-white">
<!-- start modal body -->
<div id="modalBody" class="container flex-grow-1 d-flex flex-column justify-content-center" style="overflow-y: scroll">
<div class="alert alert-danger text-justify">
<strong>توجه!</strong> <br> کمپین شما بنا به دلایلی کنسل شد. برای اطلاعات بیشتر به فلان مراجعه کنید.
</div>
</div>
<!-- end of modal body -->
<!-- footer of modal -->
<div class="navbar-expand-sm p-2 border-t-1">
<div class="row nowrap">
<!-- start logo -->
<div class="col-10">
<div class="row">
<a class="mx-auto navbar-brand text-dark" href="#">
<b>
Digi<span class="text-danger">Rasan</span>
</b>
</a>
</div>
</div>
<!-- end logo -->
<!-- btn for closeing modal -->
<div class="cursor-pointer col-1 d-flex">
<a class="m-auto" style="cursor: pointer" onclick="closeModal()">
<i class="fa fa-times fa-2x hover-text-1"></i>
</a>
</div>
<!-- end btn for closing modal -->
</div>
</div>
<!-- end footer of modal -->
</div>
<!-- End for modal -->
<!-- for treeview -->
<script>
var toggler = document.getElementsByClassName("caret");
var i;
for (i = 0; i < toggler.length; i++) {
toggler[i].addEventListener("click", function() {
this.parentElement.querySelector(".nested").classList.toggle("open");
this.classList.toggle("caret-down");
});
}
</script>
<!-- end for treeview -->
<!-- for show more & less btn -->
<script>
$(".show-more a").on("click", function() {
var $this = $(this);/* the show more btn */
var $content = $this.parent().prev("div.content");/* the div that has the texts in it */
var $paragraph = $content.children();/*the paragraph that has the texts*/
var linkText = $this.text();/* text of the show more btn */
if (linkText === "بیشتر...") //if open then close
{
linkText = "کمتر...";
$content.height($paragraph.innerHeight());/*increase the height of the div*/
} else //if close then open
{
linkText = "بیشتر...";
$content.height("2rem");/*decrease the height of the div*/
};
$this.text(linkText);
});
</script>
<!-- end for show more & less btn -->
<!-- for swiping content -->
<script>
$(function() {
// Bind the swipeleftHandler callback function to the swipe event on div.box
$("div.box").on("swipeleft", swipeleftHandler);
});
$(function() {
// Bind the swiperightHandler callback function to the swipe event on div.box
$("div.box").on("swiperight", swiperightHandler);
});
</script>
<!-- end swiping content -->
</body>
</html>