Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Class Project
DIGIPUS
Commits
355c8d09
Commit
355c8d09
authored
Oct 31, 2020
by
Bunga Amalia Kurniawati
🌺
Browse files
[
#133
] QA: Fix Bugs Detected By Sonarqube (Part 2)
parent
7431ad94
Changes
4
Hide whitespace changes
Inline
Side-by-side
administration/templates/detail_verif.html
View file @
355c8d09
...
...
@@ -52,25 +52,31 @@ Pratinjau Materi
{% if riwayat %}
<div
class=
"info-wrapper"
>
<div
class=
"info"
id=
"1"
>
<dt
class=
"col col-4"
>
<p
class=
"info-name"
><strong>
Verifikatur
</strong></p>
</dt>
<dl>
<dt
class=
"col col-4"
>
<p
class=
"info-name"
><strong>
Verifikatur
</strong></p>
</dt>
</dl>
<dd>
<p
class=
"info-content"
>
{{verification_report.user.name}}
</p>
</dd>
</div>
<div
class=
"info"
id=
"1"
>
<dt
class=
"col col-4"
>
<p
class=
"info-name"
><strong>
Waktu Verifikasi
</strong></p>
</dt>
<dl>
<dt
class=
"col col-4"
>
<p
class=
"info-name"
><strong>
Waktu Verifikasi
</strong></p>
</dt>
</dl>
<dd>
<p
class=
"info-content"
>
{{verification_report.timestamp}}
</p>
</dd>
</div>
<div
class=
"info"
id=
"1"
>
<dt
class=
"col col-4"
>
<p
class=
"info-name"
><strong>
Status Materi
</strong></p>
</dt>
<dl>
<dt
class=
"col col-4"
>
<p
class=
"info-name"
><strong>
Status Materi
</strong></p>
</dt>
</dl>
<dd>
<p
class=
"info-content"
>
{{verification_report.status}}
</p>
</dd>
...
...
administration/templates/laporan_materi.html
View file @
355c8d09
...
...
@@ -22,6 +22,7 @@
<div
class=
"card-body"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-bordered"
id=
"dataTable"
>
<caption>
Materi yang Dilaporkan
</caption>
<thead>
<tr>
<th
scope=
"col"
>
Judul
</th>
...
...
app/templates/app/detail_materi.html
View file @
355c8d09
...
...
@@ -312,7 +312,7 @@ div.review {
<div
style=
"border-top:1px solid #d4d4d4;text-align:center"
>
<h3>
Video
</h3>
<iframe
src=
"https://www.youtube.com/embed/{{ materi_data.yt_video_id }}"
allowfullscreen=
"allowfullscreen"
title=
"Video materi"
allowfullscreen=
"allowfullscreen"
width=
"564"
height=
"300"
>
invalid video url
</iframe>
...
...
@@ -472,7 +472,7 @@ div.review {
{% endblock content %}
{% block extra_scripts %}
<script
src=
"https://kit.fontawesome.com/bc2cedd6b2.js"
crossorigin=
"anonymous"
></script>
<script
type=
"text/javascript"
>
<script>
// using jQuery
var
csrftoken
=
jQuery
(
"
[name=csrfmiddlewaretoken]
"
).
val
();
...
...
app/templates/statistik.html
View file @
355c8d09
...
...
@@ -24,9 +24,10 @@
<div
class=
"card-body"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-bordered"
>
<caption>
Summary Materi per Kategori
</caption>
<thead>
<th>
Kategori
</th>
<th>
Jumlah Materi
</th>
<th
scope=
"col"
>
Kategori
</th>
<th
scope=
"col"
>
Jumlah Materi
</th>
</thead>
<tbody>
{% for s in stats %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment