Added css framework and implemented it on some page (not all yet)
This commit is contained in:
@@ -3,44 +3,54 @@
|
||||
{% block title %}Tambah Pengumuman{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<form method="post">
|
||||
<h3>Tambah Pengumuman</h3>
|
||||
<main class="documentation">
|
||||
<section>
|
||||
<form method="post">
|
||||
<h2>Tambah Pengumuman</h2>
|
||||
<div class="flex three grow">
|
||||
<div class="full third-600">
|
||||
|
||||
<label for="category">Kategori</label>
|
||||
<select name="category">
|
||||
{% for cat in categories %}
|
||||
<option value="{{ cat.id }}">{{ cat.category }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<label for="category">Kategori</label>
|
||||
<select name="category">
|
||||
{% for cat in categories %}
|
||||
<option value="{{ cat.id }}">{{ cat.category }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<label for="expired_at">Berlaku dari: </label>
|
||||
<input type="date" name="valid_at" value="{{ timestamp }}">
|
||||
<label for="expired_at">Berlaku dari: </label>
|
||||
<input type="date" name="valid_at" value="{{ timestamp }}">
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<label for="expired_at">Berlaku sampai: </label>
|
||||
<input type="date" name="expired_at" value="{{ timestamp }}">
|
||||
<label for="expired_at">Berlaku sampai: </label>
|
||||
<input type="date" name="expired_at" value="{{ timestamp }}">
|
||||
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<label for="content">Konten: </label>
|
||||
<textarea name="content" rows="3" cols="30" maxlength="255"></textarea>
|
||||
<div class="full two-third-600">
|
||||
<label for="content">Konten: </label>
|
||||
<textarea name="content" rows="2" cols="30" maxlength="255"></textarea>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="creator" value="{{ user }}">
|
||||
<input type="hidden" name="creator" value="{{ user }}">
|
||||
|
||||
<!-- Current Timestamp -->
|
||||
<input type="hidden" name="_currts" value="{{ timestamp }}" disabled>
|
||||
<!-- Current Timestamp -->
|
||||
<input type="hidden" name="_currts" value="{{ timestamp }}" disabled>
|
||||
|
||||
<!-- Method -->
|
||||
<input type="hidden" name="_method" value="post">
|
||||
<!-- Method -->
|
||||
<input type="hidden" name="_method" value="post">
|
||||
|
||||
<!-- Token -->
|
||||
<input type="hidden" name="_token" value="{{ token }}">
|
||||
<!-- Token -->
|
||||
<input type="hidden" name="_token" value="{{ token }}">
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<button type="submit">Unggah</button>
|
||||
</form>
|
||||
<button type="submit" class="success">Unggah</button>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user