Fakultas Ilmu Komputer UI

verif.html 10.1 KB
Newer Older
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
{% load static %}

<!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, shrink-to-fit=no">
  <meta name="description" content="">
  <meta name="author" content="">

  <title>Dasbor - Verifikasi Materi</title>

  <!-- Custom fonts for this template -->
  <link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">

  <!-- Custom styles for this template -->
  <link href="{% static 'css/sb-admin-2.min.css' %}" rel="stylesheet">
  <link rel="stylesheet" href="{% static 'css/button.css' %}">

  <!-- Custom styles for this page -->
  <link href="{% static 'vendor/datatables/dataTables.bootstrap4.min.css' %}" rel="stylesheet">

</head>

<body id="page-top" style="font-family: 'Poppins', sans-serif;">

  <!-- Page Wrapper -->
  <div id="wrapper">

    <!-- Sidebar -->
    <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">

      <!-- Sidebar - Brand -->
      <a class="sidebar-brand d-flex align-items-center justify-content-center" href="verif.html">
        <div class="sidebar-brand-icon rotate-n-15">
        </div>
        <div class="sidebar-brand-text mx-3">Digipus</div>
      </a>

      <!-- Divider -->
      <hr class="sidebar-divider my-0">

      <!-- Nav Item - Dashboard -->
      <li class="nav-item">
        <a class="nav-link" href="/administration/">
          <span>Verifikasi Materi</span></a>
      </li>

      <li class="nav-item">
        <a class="nav-link" href="index.html">
          <span>Daftar Kontributor</span></a>
      </li>

      <li class="nav-item">
        <a class="nav-link" href="index.html">
          <span>Statistik Materi</span></a>
      </li>

      <!-- Divider -->
      <hr class="sidebar-divider">

      <li class="nav-item">
        <a class="nav-link" href="/administration/setting/verification/">
          <span>Pengaturan Verifikasi</span></a>
      </li>

      <li class="nav-item">
        <a class="nav-link" href="/administration/setting/category/">
          <span>Pengaturan Kategori</span></a>
      </li>

    </ul>
    <!-- End of Sidebar -->

    <!-- Content Wrapper -->
    <div id="content-wrapper" class="d-flex flex-column">

      <!-- Main Content -->
      <div id="content">

        <!-- Topbar -->
        <nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">

          <!-- Sidebar Toggle (Topbar) -->
          <button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
89
            <i class="fa fa-bars" aria-hidden="true"></i>
90
91
92
93
94
95
96
97
98
99
100
          </button>

          <div class="sidebar-brand-text mx-3">Diskominfo Kota Depok</div>

          <!-- Topbar Navbar -->
          <ul class="navbar-nav ml-auto">

            <!-- Nav Item - Search Dropdown (Visible Only XS) -->
            <li class="nav-item dropdown no-arrow d-sm-none">
              <a class="nav-link dropdown-toggle" href="#" id="searchDropdown" role="button" data-toggle="dropdown"
                aria-haspopup="true" aria-expanded="false">
101
                <i class="fas fa-search fa-fw" aria-hidden="true"></i>
102
103
104
105
106
107
108
109
110
111
              </a>
              <!-- Dropdown - Messages -->
              <div class="dropdown-menu dropdown-menu-right p-3 shadow animated--grow-in"
                aria-labelledby="searchDropdown">
                <form class="form-inline mr-auto w-100 navbar-search">
                  <div class="input-group">
                    <input type="text" class="form-control bg-light border-0 small" placeholder="Search for..."
                      aria-label="Search" aria-describedby="basic-addon2">
                    <div class="input-group-append">
                      <button class="btn btn-primary" type="button">
112
                        <i class="fas fa-search fa-sm" aria-hidden="true"></i>
113
114
115
116
117
118
119
120
121
122
123
124
125
126
                      </button>
                    </div>
                  </div>
                </form>
              </div>
            </li>

            <div class="topbar-divider d-none d-sm-block"></div>

            <!-- Nav Item - User Information -->
            <li class="nav-item dropdown no-arrow">
              <a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown"
                aria-haspopup="true" aria-expanded="false">
                <span class="mr-2 d-none d-lg-inline text-gray-600 small">Admin</span>
127
                <img class="img-profile rounded-circle" src="https://source.unsplash.com/QAB-WJcbgJk/60x60" alt="User profile picture">
128
129
130
131
132
133
134
135
136
137
138
139
140
141
              </a>
            </li>

          </ul>

        </nav>
        <!-- End of Topbar -->

        <!-- Begin Page Content -->
        <div class="container-fluid">

          <!-- DataTales Example -->
          <div class="card shadow mb-4">
            <div class="card-header py-3">
142
              <h6 class="m-0 font-weight-bold text-primary" id="titleTabelPending">Verifikasi Materi</h6>
143
144
145
            </div>
            <div class="card-body">
              <div class="table-responsive">
146
                <table class="table table-bordered" id="dataTablePending" aria-describedby="titleTabelPending">
147
148
                  <thead>
                    <tr>
149
150
151
152
                      <th scope="col">Judul Materi</th>
                      <th scope="col">Nama Kontributor</th>
                      <th scope="col">Status</th>
                      <th scope="col">Tombol</th>
153
154
                    </tr>
                  </thead>
155
156
157
158
159
160
161
162
                  <tfoot>
                    <tr>
                      <th scope="col">Judul Materi</th>
                      <th scope="col">Nama Kontributor</th>
                      <th scope="col">Status</th>
                      <th scope="col">Tombol</th>
                    </tr>
                  </tfoot>
163
                  <tbody>
164
                    {% for materi in materi_list_pending %}
165
                    <tr>
166
                      <td>{{ materi.title }}</td>
167
                      <td>{{ materi.uploader.name }}</td>
168
169
170
171
172
173
174
                      <td>{{ materi.get_status_display }}</td>
                      {% if materi.status == "PENDING" %}
                      <td class="verif-buttons">
                        <a href="/administration/detail-verif/{{materi.id}}/" class="accept-button"
                          style="background-color:#4e73df">Detail</a>
                      {% endif %}

175
176
177
                    </tr>
                    {% endfor %}
                  </tbody>
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
                </table>
              </div>
            </div>
          </div>

          <!-- DataTales Example -->
          <div class="card shadow mb-4">
            <div class="card-header py-3">
              <h6 class="m-0 font-weight-bold text-primary" id="titleTabelRiwayat">Riwayat Verifikasi Materi</h6>
            </div>
            <div class="card-body">
              <div class="table-responsive">
                <table class="table table-bordered" id="dataTableRiwayat" width="100%" cellspacing="0" aria-describedby="titleTabelRiwayat">
                  <thead>
                    <tr>
                      <th scope="col">Judul Materi</th>
                      <th scope="col">Nama Kontributor</th>
                      <th scope="col">Status</th>
                      <th scope="col">Tombol</th>
                    </tr>
                  </thead>
199
200
                  <tfoot>
                    <tr>
201
202
203
204
                      <th scope="col">Judul Materi</th>
                      <th scope="col">Nama Kontributor</th>
                      <th scope="col">Status</th>
                      <th scope="col">Tombol</th>
205
206
207
                    </tr>
                  </tfoot>
                  <tbody>
208
                    {% for materi in materi_list_history %}
209
                    <tr>
210
                      <td>{{ materi.title }}</td>
211
                      <td>{{ materi.uploader.name }}</td>
212
                      <td>{{ materi.get_status_display }}</td>
213
214
215
                      <td class="verif-buttons">
                        <a href="/administration/detail-verif/{{materi.id}}/" class="accept-button"
                          style="background-color:#4e73df">Detail</a>
216

217
                    </tr>
218
                    {% endfor %}
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
244
245
246
247
248
                  </tbody>
                </table>
              </div>
            </div>
          </div>

        </div>
        <!-- /.container-fluid -->

      </div>
      <!-- End of Main Content -->

      <!-- Footer -->
      <footer class="sticky-footer bg-white">
        <div class="container my-auto">
          <div class="copyright text-center my-auto">
            <span>Copyright &copy; Diskominfo Kota Depok 2020</span>
          </div>
        </div>
      </footer>
      <!-- End of Footer -->

    </div>
    <!-- End of Content Wrapper -->

  </div>
  <!-- End of Page Wrapper -->

  <!-- Scroll to Top Button-->
  <a class="scroll-to-top rounded" href="#page-top">
249
    <i class="fas fa-angle-up" aria-hidden="true"></i>
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
  </a>

  <!-- Bootstrap core JavaScript-->
  <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
    integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
    crossorigin="anonymous"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
    integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
    crossorigin="anonymous"></script>
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
    integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
    crossorigin="anonymous"></script>

  <!-- Core plugin JavaScript-->
  <script src="https://code.jquery.com/jquery-3.5.0.min.js"
    integrity="sha256-xNzN2a4ltkB44Mc/Jz3pT4iU1cmeR0FkXs4pru/JxaQ=" crossorigin="anonymous"></script>

  <!-- Custom scripts for all pages-->
  <script src="{% static 'js/sb-admin-2.min.js' %}"></script>

  <!-- Page level plugins -->
  <script src="{% static 'vendor/datatables/jquery.dataTables.min.js' %}"></script>
  <script src="{% static 'vendor/datatables/dataTables.bootstrap4.min.js' %}"></script>

  <!-- Page level custom scripts -->
  <script src="{% static 'js/demo/datatables-demo.js' %}"></script>

</body>

</html>