Style changes

This commit is contained in:
Yusur 2022-05-18 02:37:51 +02:00
parent c53cc54d1a
commit 4097e79bbb
3 changed files with 17 additions and 13 deletions

View file

@ -16,22 +16,25 @@
{% block content %}
{% if preview %}
<h1>{{ pl_title }} (preview)</h1>
<div class="preview-area">
<div class="preview-warning">
Remember this is only a preview.
<strong>Your changes were not saved yet!</strong>
<a href="#editing-area">Jump to editing area</a></div>
<div class="inner-content">{{ preview|safe }}</div>
<div style="clear:both"></div>
</div>
<article>
<h1 id="firstHeading">{{ pl_title }}</h1>
<div class="preview-subtitle">Preview</div>
<div class="preview-area">
<div class="preview-warning">
Remember this is only a preview.
<strong>Your changes were not saved yet!</strong>
<a href="#editing-area">Jump to editing area</a></div>
<div class="inner-content">{{ preview|safe }}</div>
<div style="clear:both"></div>
</div>
</article>
{% endif %}
<form method="POST">
<div>
<label for="title">URL: </label>
<input type="text" name="url" class="url-input" placeholder="No URL" maxlength="64" value="{{ pl_url or '' }}">
<label for="title"><span class="material-icons">link</span> /</label>
<input type="text" name="url" class="url-input" placeholder="(No URL)" maxlength="64" value="{{ pl_url or '' }}">
</div>
<div>
<input type="text" required name="title" placeholder="Title (required)" class="title-input" maxlength="256" value="{{ pl_title }}">