Create html files:
+ login + pengumuman + edit pengumuman
This commit is contained in:
commit
6b5fe0eadf
25
App/Views/Access/login.html
Normal file
25
App/Views/Access/login.html
Normal file
@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Login</title>
|
||||
</head>
|
||||
<body>
|
||||
<form method="post">
|
||||
<h2>Login</h2>
|
||||
|
||||
<label for="username">Username: </label>
|
||||
<input type="text" name="username" value="" placeholder="Type your username">
|
||||
<label for="password">Password: </label>
|
||||
<input type="password" name="password" value="" placeholder="Type your password">
|
||||
|
||||
<!-- CSRF Token -->
|
||||
<input type="hidden" name="_token_" value="##GENERATED##">
|
||||
|
||||
<!-- Form type -->
|
||||
<input type="hidden" name="_type_" value="post">
|
||||
|
||||
<button type="submit" name="login">Login</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
41
App/Views/Data/edit_pengumuman.html
Normal file
41
App/Views/Data/edit_pengumuman.html
Normal file
@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Edit Pengumuman</title>
|
||||
</head>
|
||||
<body>
|
||||
<form method="post">
|
||||
|
||||
</form>
|
||||
<h3>Pengumuman 1</h3>
|
||||
|
||||
<label for="kategori">Kategori: </label>
|
||||
<select name="kategori">
|
||||
<option value="kategori_1">Kategori 1</option>
|
||||
<option value="kategori_2">Kategori 2</option>
|
||||
<option value="kategori_3">Kategori 3</option>
|
||||
<option value="kategori_4">Kategori 4</option>
|
||||
</select>
|
||||
|
||||
<label for="konten">Konten: </label>
|
||||
<textarea name="konten" rows="8" cols="120"></textarea>
|
||||
|
||||
<label for="first-approach">Dibuat pada: </label>
|
||||
<input type="text" name="first-approach" value="2017-08-28 15:20">
|
||||
|
||||
<label for="first-touch">Dibuat oleh: </label>
|
||||
<input type="text" name="first-touch" value="User 1">
|
||||
|
||||
<label for="edit">Diubah pada: </label>
|
||||
<input type="text" name="edit" value="2017-08-28 15:34">
|
||||
|
||||
<label for="editor">Diubah oleh: </label>
|
||||
<input type="text" name="editor" value="User 2">
|
||||
|
||||
<!-- Current Timestamp -->
|
||||
<input type="hidden" name="_current-ts_" value="##CURRENT_TIMESTAMP##">
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
22
App/Views/Data/pengumuman.html
Normal file
22
App/Views/Data/pengumuman.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Pengumuman</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>List Pengumuman</h2>
|
||||
|
||||
<h3><a href="#">Pengumuman 1</a></h3>
|
||||
<code><a href="#">Edit</a></code>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||
|
||||
<h3><a href="#">Pengumuman 1</a></h3>
|
||||
<code><a href="#">Edit</a></code>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||
|
||||
<h3><a href="#">Pengumuman 1</a></h3>
|
||||
<code><a href="#">Edit</a></code>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user