-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreate Campaign 4.html
243 lines (238 loc) · 8.89 KB
/
Create Campaign 4.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
<!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="./bootstrap-4.1.3/js/bootstrap.js"></script>
<script src="./js/Action.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 mt-3">
<!-- 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="#6c757d" />
<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 -->
<div>
<!-- start caption section -->
<div class="mt-3">
<div class="bg-light rounded-top text-right p-2 border-1">متن کپشن کمپین خود را بنویسید</div>
<textarea class="w-100 rounded-bottom border-1" rows="5"></textarea>
</div>
<!-- end caption section -->
<!-- start upload img/vid section -->
<div class="mt-3 p-3 bg-light rounded">
<div class="text-right">محتوا (محتواهای) کمپین خود را آپلود کنید</div>
<div class="mt-3">
<button id="OpenImgUpload" class="d-flex flex-column mx-auto p-3 border-dashed btn bg-transparent">
<i class="fa fa-camera pt-2 mx-auto text-secondary"></i>
<label class="pt-2 text-secondary cursor-pointer">upload file</label>
</button>
<input id="imgupload" class="d-none" type="file">
</div>
</div>
<!-- end upload img/vid section -->
<!-- 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>
</div>
<!-- End mainBody -->
<div style="clear: both;height: 60px;"></div> <!-- this is for spacing the navigation and body -->
<!-- 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 -->
<script>
$("#OpenImgUpload").click(function() {
$("#imgupload").trigger('click');
});
</script>
</body>
</html>