-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.html
194 lines (149 loc) · 5.71 KB
/
admin.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script src='https://cdn.firebase.com/js/client/2.2.1/firebase.js'></script>
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.css" rel="stylesheet" />
<title>Add Cards</title>
</head>
<style>
.header {
overflow: hidden;
background-color: #f1f1f1;
padding: 20px 10px;
}
.header a {
float: left;
color: black;
text-align: center;
padding: 12px;
text-decoration: none;
font-size: 18px;
line-height: 25px;
border-radius: 4px;
}
.header a.logo {
font-size: 25px;
font-weight: bold;
}
.header a:hover {
background-color: #ddd;
color: black;
}
.header a.active {
background-color: dodgerblue;
color: white;
}
.header-right {
float: right;
}
@media screen and (max-width: 500px) {
.header a {
float: none;
display: block;
text-align: left;
}
.header-right {
float: none;
}
}
#logout{
cursor: pointer;
}
#fields {
display: flex;
justify-content: center;
}
</style>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" style="font-weight: bold;" href="#">Dynamic Portfolio Admin Panel</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
</ul>
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown"
style="font-weight: bold;" aria-expanded="false">Welcome Howdy!</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" id="logout">Logout</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!-- <div class="header">
<a class="logo">Admin Panel Page</a>
<button type="button" style="float: right;" id="logout" class="btn btn-outline-secondary">Logout</button>
</div> -->
<div class="container">
<div class="row mt-4">
<div class="col-md-3">
<label for="inputEmail4" class="form-label">Title</label>
<input type="text" class="form-control" id="title" placeholder="Title Of The Project" required>
</div>
<div class="col-md-3">
<label for="inputPassword4" class="form-label">Description</label>
<input type="text" class="form-control" id="description" placeholder="Description About Project" required>
</div>
<div class="col-md-3">
<label for="inputAddress" class="form-label">Link</label>
<input type="url" class="form-control" name="url" id="link" placeholder="https://example.com"
pattern="https://.*" size="30" required>
</div>
<div class="col-md-3">
<label for="inputAddress" class="form-label">Add Image</label>
<input type="file" class="form-control" required id="imgFile">
</div>
</div>
<div class="row">
<div class="col-md-12 text-center mt-3">
<button type="submit" id="btn" class="btn btn-lg btn-primary">Add</button>
<button type="submit" id="pf" class="btn btn-lg btn-primary">Check Out On Portfolio</button>
</div>
</div>
</div>
<!-- <form class="form-inline">
<div class="col-md-2">
<label for="inputEmail4" class="form-label">Title</label>
<input type="text" class="form-control" id="title" placeholder="Title Of The Project" required>
</div>
<div class="col-md-2">
<label for="inputPassword4" class="form-label">Description</label>
<input type="text" class="form-control" id="description" placeholder="Description About Project" required>
</div>
<div class="md-4">
<label for="inputAddress" class="form-label">Link</label>
<input type="url" class="form-control" name="url" id="link" placeholder="https://example.com" pattern="https://.*" size="30" required>
</div>
<div class="md-4">
<label for="inputAddress" class="form-label">Add Image</label>
<input type="file" class="form-control" required id="imgFile">
<input type="hidden" id="jugar" >
</div>
<div class="col-6 mt-3">
<button type="submit" id="btn" class="btn btn-primary">Add</button>
</div>
</form> -->
<br>
<div class="container">
<div class="row" id="myContent">
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script type="module" src="adminApp.js"></script>
</body>
</html>