-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfamily_view.php
171 lines (155 loc) · 7.13 KB
/
family_view.php
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
<!DOCTYPE html>
<html>
<head>
<title>BasaSunda</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/zero.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500" rel="stylesheet">
<style>
* {
/*border: 1px solid black !important; */
}
</style>
</head>
<body id="body">
<div id="overlay"></div>
<div class="modal-frame modal-frame-delete">
<div class="modal-box modal-box-delete" id="modal-top">
<div class="modal-header">
<h4>Delete Word</h4>
<div class="modal-close" onclick="modalClose()"><i class="material-icons">close</i></div>
</div>
<div class="modal-body modal-body-delete">
<div class="col-2 d-flex flex-center">
<img id="word-image-delete" src="assets/images/family_father.png" alt="image">
</div>
<div class="col-10">
<input type="hidden" id="word-id-delete">
<p>Delete <span id="word-label-delete">One</span> - <span id="word-sunda-delete">Hiji</span> ?</p>
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn ripple-effect" onclick="deleteData()">delete</button>
</div>
</div>
</div>
<div class="modal-frame modal-frame-add">
<div class="modal-box modal-box-add" id="modal-top">
<div class="modal-header">
<h4>Add Word</h4>
<div class="modal-close" onclick="modalClose()"><i class="material-icons">close</i></div>
</div>
<div class="modal-body">
<form id="form-add" method="get">
<div class="form-input">
<input type="file" accept=".gif,.jpg,.jpeg,.png" name="image-add" id="image-add">
<label id="image-label-add">Image (Use a rectangular image)</label>
</div>
<div class="form-input">
<input type="text" required="" name="word-label-add" id="word-label-add">
<label>English Word</label>
</div>
<div class="form-input">
<input type="text" required="" name="word-sunda-add" id="word-sunda-add">
<label>Sunda Word</label>
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn ripple-effect" id="button-submit-add">save</button>
</form>
</div>
</div>
</div>
<div class="modal-frame modal-frame-edit">
<div class="modal-box modal-box-edit" id="modal-top">
<div class="modal-header">
<h4>Edit Word</h4>
<div class="modal-close" onclick="modalClose()"><i class="material-icons">close</i></div>
</div>
<div class="modal-body">
<form id="form-edit" method="get">
<input type="hidden" id="word-id-edit">
<div class="form-input">
<input type="file" id="image-edit" name="image-edit">
<label id="image-label-edit">Image</label>
<input type="hidden" id="current-image-edit" name="current-image-edit">
</div>
<div class="form-input">
<input type="text" required="" id="word-label-edit" name="word-label-edit">
<label>English Word</label>
</div>
<div class="form-input">
<input type="text" required="" id="word-sunda-edit" name="word-sunda-edit">
<label>Sunda Word</label>
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn ripple-effect" id="button-submit-edit">Edit</button>
</form>
</div>
</div>
</div>
<div class="dashboard">
<div class="sidebar" id="sidebar-mobile">
<nav>
<ul>
<li class="li-logo">
<a href="javascript:void(0)">
<i class="material-icons f-left" onclick="toggleMenuOpen()" id="menu">menu</i>
<img src="assets/images/logo.png">
</a>
</li>
<li class="menu-number">
<a href="index.php">
<div class="menu-icon-frame">
<img src="assets/images/menu_number.png">
</div>
<p class="f-left">Number</p>
</a>
</li>
<li class="menu-family active" style="background-color: #379237;">
<a href="family_view.php">
<div class="menu-icon-frame">
<img src="assets/images/menu_family.png">
</div>
<p class="f-left">Family</p>
</a>
</li>
<li class="menu-color">
<a href="color_view.php">
<div class="menu-icon-frame">
<img src="assets/images/menu_color.png">
</div>
<p class="f-left">Colors</p>
</a>
</li>
<li class="menu-phrase">
<a href="phrases_view.php">
<div class="menu-icon-frame">
<img src="assets/images/menu_phrase.png">
</div>
<p class="f-left">Phrases</p>
</a>
</li>
</ul>
</nav>
</div>
<div class="mainbar" id="mainbar">
<header class="d-flex clearfix">
<i class="material-icons f-left menu-phone" onclick="toggleMenuOpen()" id="menu">menu</i>
<h5 class="f-left">Family Page</h5>
</header>
<button class="action-add ripple-effect" onclick="modalAdd()" style="background-color: #379237;"><i class="material-icons">add</i></button>
<div class="content" id="content">
</div>
<footer>
<center>© basasunda 2019</center>
</footer>
</div>
</div>
<script src="js/zero_css_script.js"></script>
<script src="js/family_script.js"></script>
</body>
</html>