-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathciWorkers.html
103 lines (96 loc) · 4.51 KB
/
ciWorkers.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fredoka:[email protected]&family=Varela+Round&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="style.css">
<style>
body {
font-family: 'Fredoka', 'Varela Round', sans-serif;
}
.input-row {
display: flex;
align-items: center;
margin-bottom: 3px;
}
.input-row label {
min-width: 150px; /* Adjust width to align labels */
margin-right: 10px;
text-align: right;
}
.form-control {
flex: 1; /* Make input take up remaining space */
}
.save-data-ci {
width: 100%;
padding: 10px;
}
</style>
</head>
<body>
<h2 class="my-2 text-center">הזנת סייען</h2>
<div class="container d-flex justify-content-center align-items-center">
<div class="row w-100">
<div class="col-md-8 mx-auto" dir="rtl">
<div class="input-row">
<label for="commanderName-ci">שם מפקד</label>
<input type="text" class="form-control" id="commanderName-ci" autocomplete="off" autocomplete="new-password">
</div>
<div class="input-row">
<label for="ci-name-first">שם פרטי סייען</label>
<input type="text" class="form-control" id="ci-name-first" required autocomplete="off" autocomplete="new-password">
</div>
<div class="input-row">
<label for="ci-name-last">שם משפחה סייען</label>
<input type="text" class="form-control" id="ci-name-last" required autocomplete="off" autocomplete="new-password">
</div>
<div class="input-row">
<label for="ci-id">תעודת זהות סייען</label>
<input type="text" class="form-control" id="ci-id" autocomplete="off" autocomplete="new-password">
</div>
<div class="input-row">
<label for="ci-phone">סוג רכב סייען</label>
<input type="text" class="form-control" id="ci-phone" autocomplete="off" autocomplete="new-password">
</div>
<div class="input-row">
<label for="address">מספר רכב סייען</label>
<input type="text" class="form-control" id="address" autocomplete="off" autocomplete="new-password">
</div>
<div class="input-field d-flex justify-content-center">
<input type="submit" class="btn btn-primary save-data-ci" value="שמור">
</div>
</div>
</div>
</div>
<div class="container mt-3">
<div class="table-responsive-md">
<table class="table table-sm border my-0 table-bordered table-hover table-striped align-middle">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">שם פרטי</th>
<th scope="col">שם משפחה</th>
<th scope="col">מפקד אחראי</th>
</tr>
</thead>
<tbody id="table-body">
</tbody>
</table>
</div>
</div>
<div class="container d-flex flex-column flex-md-row justify-content-center align-items-center gap-md-4 mt-3">
<button type="button" class="btn btn-outline-info back-btn" onclick="navigateTo('index.html')">חזור</button>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.8/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.8/firebase-firestore.js"></script>
<script src="firebase.js"></script>
<script src="ciFirebase.js"></script>
</body>
</html>