Fakultas Ilmu Komputer UI

Commit 3e316981 authored by Bunga Amalia Kurniawati's avatar Bunga Amalia Kurniawati 🌺
Browse files

Merge branch '1706022104-133' into 'master'

[#133] QA: Fix Bugs Detected By Sonarqube (Part 2)

Closes #133

See merge request !99
parents 7431ad94 355c8d09
Pipeline #60120 passed with stages
in 20 minutes and 49 seconds
......@@ -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>
......
......@@ -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>
......
......@@ -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();
......
......@@ -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 %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment