-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (62 loc) · 4.24 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>📚 Generator isi Laprak</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="static/css/styles.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/build/pure-min.css" integrity="sha384-X38yfunGUhNzHpBaEBsWLO+A0HDYOQi8ufWDkZ0k9e0eXz/tH3II7uKZ9msv++Ls" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/build/grids-responsive-min.css">
</head>
<body onload="previewFiles()">
<div id="layout">
<!-- Menu toggle -->
<a href="#menu" id="menuLink" class="menu-link">
<!-- Hamburger icon -->
<span></span>
</a>
<form action="/prompt/" enctype="multipart/form-data" method="post">
<div id="menu">
<div class="pure-menu">
<a class="pure-menu-heading" href="https://github.com/AndhikaFW" target="_blank" rel="noopener noreferrer">@ANDHIKAFW</a>
<ul class="pure-menu-list">
<li class="pure-menu-item"><h3>Dokumen anda</h3></li>
<li class="pure-menu-item">Upload dokumen anda disini</li>
<li class="pure-menu-item">
<div class="file-area">
<div class="files">
<h4>Drag dan drop berkas disini</h4>
<p>Berkas bisa berupa: .csv, .docx, .epub, .hwp, .ipynb, .jpeg, .jpg, .mbox, .md, .mp3, .pdf, .png, .ppt, .pptm, .pptx</p>
<label class="pure-button yellow-button" for="files">Telusuri berkas</label>
</div>
<input type="file" id="files" name="files" class="dandd" multiple onchange="previewFiles(0,event)">
<div class="file-dummy"></div>
</div>
</li>
<p id="filesview"></p>
</ul>
</div>
</div>
<div id="main">
<div class="content">
<h1>Generator isi Laporan Praktikum 📚</h1>
<br>
<div class="pure-g"><div class="pure-u-1-5"></div><div class="pure-u-4-5">Isi data laporan praktikum anda:</div></div>
<div class="pure-g"><div class="pure-u-1-5"><p><b>Judul :</b></p></div><div class="pure-u-4-5"><input type="text" name="title" id="title" placeholder="Isi judul praktikum anda..."></div></div>
<div class="pure-g"><div class="pure-u-1-5"><p><b>Teori Tambahan :</b></p></div><div class="pure-u-4-5"><input type="text" name="text0" id="text0" placeholder="Isi poin-poin teori tambahan..."></div></div>
<div class="pure-g"><div class="pure-u-1-5"><p><b>Analisis Percobaan :</b></p></div><div class="pure-u-4-5"><input type="text" name="text1" id="text1" placeholder="Isi analisis singkat percobaan..."></div></div>
<div class="pure-g"><div class="pure-u-1-5"><p><b>Analisis Hasil :</b></p></div><div class="pure-u-4-5"><input type="text" name="text2" id="text2" placeholder="Isi analisis singkat hasil..."></div></div>
<div class="pure-g"><div class="pure-u-1-5"><p><b>Analisis Kesalahan :</b></p></div><div class="pure-u-4-5"><input type="text" name="text3" id="text3" placeholder="Isi analisis singkat kesalahan..."></div></div>
<div class="pure-g"><div class="pure-u-1-5"><p><b>Kesimpulan :</b></p></div><div class="pure-u-4-5"><input type="text" name="text4" id="text4" placeholder="Isi poin-poin kesimpulan..."></div></div>
<div class="pure-g"><div class="pure-u-1-5"></div><div class="pure-u-4-5"><button id="post" class="pure-button yellow-button">Submit</button></div></div>
<div class="footer">
Situs ini dibuat dengan <b>LlamaIndex</b>
</div>
</div>
</div>
</form>
</div>
<script src="static/js/ui.js"></script>
<script src="static/js/files.js"></script>
</body>
</html>