Week 5: Content Management of Pages

This commit is contained in:
Llewellyn van der Merwe 2022-04-24 23:13:14 +02:00
parent 475f40bc3e
commit b9ad9add13
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
2 changed files with 1 additions and 38 deletions

View File

@ -1,37 +0,0 @@
{% extends "index.twig" %}
{% block title %}Edit{% endblock %}
{% block content %}
<div class="uk-container">
<form>
<fieldset class="uk-fieldset">
<legend class="uk-legend">Legend</legend>
<div class="uk-margin">
<input class="uk-input" type="text" placeholder="Input">
</div>
<div class="uk-margin">
<select class="uk-select">
<option>Option 01</option>
<option>Option 02</option>
</select>
</div>
<div class="uk-margin">
<textarea class="uk-textarea" rows="5" placeholder="Textarea"></textarea>
</div>
<div class="uk-margin uk-grid-small uk-child-width-auto uk-grid">
<label><input class="uk-radio" type="radio" name="radio2" checked> A</label>
<label><input class="uk-radio" type="radio" name="radio2"> B</label>
</div>
<div class="uk-margin uk-grid-small uk-child-width-auto uk-grid">
<label><input class="uk-checkbox" type="checkbox" checked> A</label>
<label><input class="uk-checkbox" type="checkbox"> B</label>
</div>
<div class="uk-margin">
<input class="uk-range" type="range" value="2" min="0" max="10" step="0.1">
</div>
</fieldset>
</form>
</div>
<!-- Source: https://getuikit.com/docs/form -->
{% endblock %}

View File

@ -1,7 +1,7 @@
{% extends "index.twig" %} {% extends "index.twig" %}
{% block content %} {% block content %}
<div class="uk-margin-remove-top uk-height-large uk-background-cover uk-overflow-hidden uk-flex" style="background-image: url('https://source.unsplash.com/random/1920x500/?yachts');"> <div class="uk-margin-remove-top uk-background-cover uk-flex" style="background-image: url('https://source.unsplash.com/random/1920x500/?yachts');">
<div class="uk-width-1-2@m uk-text-center uk-margin-auto uk-margin-auto-vertical uk-overlay uk-overlay-default"> <div class="uk-width-1-2@m uk-text-center uk-margin-auto uk-margin-auto-vertical uk-overlay uk-overlay-default">
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
{% if body == '' %} {% if body == '' %}