-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
188 lines (159 loc) · 6.12 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Manifest.json -->
<meta property="og:title" content="web3 campus">
<meta property="og:description"
content="Empowering students and faculty with a secure, transparent, and decentralized 'campus formal communication' solution built on Web3 technology.">
<meta property="og:image" itemprop="image" content="./assests/logo.png">
<meta property="og:url" content="https://jhamadhav.com/web3Campus">
<!-- Main Link Tags -->
<link href="./assests/logo.png" rel="icon" type="image/png" sizes="16x16">
<link href="./assests/logo.png" rel="icon" type="image/png" sizes="32x32">
<title>web3-Campus | Dashboard</title>
<!-- ethers.js -->
<script src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js" type="application/javascript" async></script>
<!-- custom scripts -->
<script src="./scripts/loader.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/uuid-random@1.3.2/index.min.js" defer></script>
<script src="./scripts/mtaBridge.js" defer></script>
<script src="./scripts/letterConfig.js" defer></script>
<script src="./scripts/letterProxy.js" defer></script>
<script src="./scripts/main.js" defer type="module"></script>
<link rel="stylesheet" href="./styles/main.min.css">
</head>
<body>
<!-- loader start -->
<div class="loader-wrapper">
<div>
<div class="bg"></div>
<div class="container">
<div class="holder">
<div class="box"></div>
</div>
<div class="holder">
<div class="box"></div>
</div>
<div class="holder">
<div class="box"></div>
</div>
</div>
</div>
<p>loading...</p>
</div>
<!-- loader end -->
<div class="nav">
<div class="left">
<img src="./assests/logo.png" alt="main logo">
<div>web3 campus</div>
</div>
<div class="right">
<img src="./assests/plus.svg" alt="plus sign">
<div id="create-app-nav">Create application</div>
</div>
</div>
<div class="tabs">
<div class="block" id="showAll">
All Applications
</div>
<div class="block" id="showYour">
Addressed to You
</div>
</div>
<!-- where all application will appear -->
<div class="applications">
<div class="application">
<div class="subject shadow"></div>
<div class="name shadow"></div>
<div class="description shadow">
</div>
</div>
<div class="application">
<div class="subject shadow"></div>
<div class="name shadow"></div>
<div class="description shadow">
</div>
</div>
<div class="application">
<div class="subject shadow"></div>
<div class="name shadow"></div>
<div class="description shadow">
</div>
</div>
<div class="application">
<div class="subject shadow"></div>
<div class="name shadow"></div>
<div class="description shadow">
</div>
</div>
</div>
<!-- where you will write -->
<div class="app-write">
<h1>Create new application</h1>
<label>name:</label>
<input type="text" id="name-input" autocomplete="on" autofocus placeholder="Your name"><br>
<label>subject:</label>
<input type="text" id="subject-input" autocomplete="on" placeholder="Subject of application"><br>
<label>description</label>
<div type="text" id="description-input" autocomplete="on" placeholder="Description" contentEditable="true">
Description
</div>
<br>
<label>recipients</label>
<input type="text" id="recipients-input" autocomplete="on"
placeholder="Email comma separated mails, e.g: a,b,c"><br>
<label>institute</label>
<input type="text" id="institute-input" autocomplete="on" placeholder="Affiliated institute"><br>
<label>Upload application file</label>
<input type="file" name="fileList" id="filepicker">
<div class="btn-holder">
<button id="create">create</button>
<button id="close">close</button>
</div>
</div>
<!-- app view -->
<div class="app-view">
<h1>View application</h1>
<label>name:</label>
<div id="name-out">Writer's name</div>
<label>subject:</label>
<div id="subject-out">Application subject</div>
<label>description</label>
<div id="description-out">Application description</div>
<br>
<label>recipients</label>
<div id="recipients-out">Recipients</div>
<label>institute</label>
<div id="institute-out">Institute</div>
<label>Upload application file</label>
<a href="#" id="file-out">Attached file</a>
<label>Remarks</label>
<section class="remarks">
<div class="remark">
<div class="status">ID: MailID</div>
<label for="">Remark:</label>
<div class="status"> Remarks about the application</div>
<button class="edit-btn">edit</button>
</div>
</section>
<button id="view-close">close</button>
</div>
<!-- edit view -->
<div class="edit-write">
<h1>Modify (edit/add) remark</h1>
<label>Status:</label>
<input type="text" id="edit-status-input" autocomplete="on" autofocus placeholder="status '0' or '1' "><br>
<label>remark:</label>
<div type="text" id="edit-remark-input" autocomplete="on" contentEditable="true">
your remarks
</div>
<div>
<button id="edit-remark-btn">Execute</button>
<button id="edit-remark-close">close</button>
</div>
</div>
</body>
</html>