Update views
This commit is contained in:
parent
456b3a3170
commit
f605474182
@ -8,7 +8,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<section class="panel">
|
<section class="panel">
|
||||||
<h2>Details</h2>
|
<h2>Details</h2>
|
||||||
<p class="center">Powered by wms-core</p>
|
<p class="center">Powered by swaf</p>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -119,7 +119,7 @@
|
|||||||
<section class="panel">
|
<section class="panel">
|
||||||
<h2>Auth tokens</h2>
|
<h2>Auth tokens</h2>
|
||||||
<form action="{{ route('generate-token') }}" method="POST">
|
<form action="{{ route('generate-token') }}" method="POST">
|
||||||
{{ macros.csrf(getCSRFToken) }}
|
{{ macros.csrf(getCsrfToken) }}
|
||||||
|
|
||||||
<button type="submit"><i data-feather="plus"></i> Generate a new token</button>
|
<button type="submit"><i data-feather="plus"></i> Generate a new token</button>
|
||||||
</form>
|
</form>
|
||||||
@ -156,4 +156,4 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
Pending deletion
|
Pending deletion
|
||||||
{% else %}
|
{% else %}
|
||||||
<form action="{{ route('delete-file-frontend', file.slug) }}" method="post">
|
<form action="{{ route('delete-file-frontend', file.slug) }}" method="post">
|
||||||
{{ macros.csrf(getCSRFToken) }}
|
{{ macros.csrf(getCsrfToken) }}
|
||||||
<button class="button danger"><i data-feather="trash"></i> Delete</button>
|
<button class="button danger"><i data-feather="trash"></i> Delete</button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -53,4 +53,4 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
{{ macros.field(_locals, 'text', 'slug', '', 'Custom url slug', 'Example: beautiful_image.jpg sets url to https://'+default_domain+'/beautiful_image.jpg', validation_attributes='disabled') }}
|
{{ macros.field(_locals, 'text', 'slug', '', 'Custom url slug', 'Example: beautiful_image.jpg sets url to https://'+default_domain+'/beautiful_image.jpg', validation_attributes='disabled') }}
|
||||||
{{ macros.field(_locals, 'checkbox', 'autogen_url', '', 'Generate url automatically', null, validation_attributes='checked') }}
|
{{ macros.field(_locals, 'checkbox', 'autogen_url', '', 'Generate url automatically', null, validation_attributes='checked') }}
|
||||||
|
|
||||||
{{ macros.csrf(getCSRFToken) }}
|
{{ macros.csrf(getCsrfToken) }}
|
||||||
|
|
||||||
<button type="submit"><i data-feather="upload"></i> Upload</button>
|
<button type="submit"><i data-feather="upload"></i> Upload</button>
|
||||||
</form>
|
</form>
|
||||||
@ -53,4 +53,4 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include 'desktop-utility.njk' %}
|
{% include 'desktop-utility.njk' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
<form action="{{ route('logout') }}?{{ querystring.stringify({redirect_uri: '/'}) }}" method="POST">
|
<form action="{{ route('logout') }}?{{ querystring.stringify({redirect_uri: '/'}) }}" method="POST">
|
||||||
<button><i data-feather="log-out"></i> <span class="tip">Logout</span></button>
|
<button><i data-feather="log-out"></i> <span class="tip">Logout</span></button>
|
||||||
|
|
||||||
{{ macros.csrf(getCSRFToken) }}
|
{{ macros.csrf(getCsrfToken) }}
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -56,4 +56,4 @@
|
|||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block footer %}{{ app.name }} v{{ app_version }} - all rights reserved.{% endblock %}
|
{% block footer %}{{ app.name }} v{{ app_version }} - all rights reserved.{% endblock %}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
{{ macros.field(_locals, 'text', 'slug', '', 'Custom url slug', 'Example: bear sets url to https://'+default_domain+'/bear', validation_attributes='disabled') }}
|
{{ macros.field(_locals, 'text', 'slug', '', 'Custom url slug', 'Example: bear sets url to https://'+default_domain+'/bear', validation_attributes='disabled') }}
|
||||||
{{ macros.field(_locals, 'checkbox', 'autogen_url', '', 'Generate url automatically', null, validation_attributes='checked') }}
|
{{ macros.field(_locals, 'checkbox', 'autogen_url', '', 'Generate url automatically', null, validation_attributes='checked') }}
|
||||||
|
|
||||||
{{ macros.csrf(getCSRFToken) }}
|
{{ macros.csrf(getCsrfToken) }}
|
||||||
|
|
||||||
<button type="submit"><i data-feather="link"></i> Shrink URL</button>
|
<button type="submit"><i data-feather="link"></i> Shrink URL</button>
|
||||||
</form>
|
</form>
|
||||||
@ -37,4 +37,4 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include 'desktop-utility.njk' %}
|
{% include 'desktop-utility.njk' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user