mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
CSS Reshuffle, Added Page Renderer
Reorganized the CSS structure to there is some seperation between front facing style and the backend den. Also add the Render class so auth status is included in every template rendering event so login status and select member data is available if needed. will expand if needed.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<form action="{{ path('location-add') }}" method="post" enctype="multipart/form-data">
|
||||
<form action="{{ path('location-modify') }}" method="post" enctype="multipart/form-data">
|
||||
<div>
|
||||
<label>Name</label><br/>
|
||||
<input type="text" name="loc_name" value=""/>
|
||||
@ -24,4 +24,5 @@
|
||||
<input type="file" id="loc_examples" name="loc_examples[]" multiple/>
|
||||
</div>
|
||||
<input type="hidden" name="token" value="{{ csrf_token('upload') }}"/>
|
||||
<input type="hidden" name="mode" value="add"/>
|
||||
<input type="submit" value="Edit Location" name="submit_button"></form>
|
||||
|
@ -1,20 +1,20 @@
|
||||
<form action="{{ path('location-edit') }}" method="post" enctype="multipart/form-data">
|
||||
<form name="edit" action="{{ path('location-modify') }}" method="post" enctype="multipart/form-data">
|
||||
<div>
|
||||
<label>Name</label><br/>
|
||||
<input type="text" name="loc_name" value="{{ location.name }}"/>
|
||||
<input type="text" name="loc_name" value="{{ options.location.name }}"/>
|
||||
<br/>
|
||||
<label>URL</label><br/>
|
||||
<input type="text" name="loc_url" value="{{ location.url }}"/>
|
||||
<input type="text" name="loc_url" value="{{ options.location.url }}"/>
|
||||
<br/>
|
||||
<label>Tags</label><br/>
|
||||
<input type="text" name="loc_tags" value="{{ location.tags }}"/>
|
||||
<input type="text" name="loc_tags" value="{{ options.location.tags }}"/>
|
||||
<br/>
|
||||
<label>Description</label><br/>
|
||||
<textarea name="loc_desc">{{ location.description }}</textarea>
|
||||
<textarea name="loc_desc">{{ options.location.description }}</textarea>
|
||||
<br/>
|
||||
<label>Rating</label><br/>
|
||||
<select name="rating">
|
||||
{% if location.rating == "silence" %}
|
||||
{% if options.location.rating == "silence" %}
|
||||
<option value="silence" selected>Silence</option>
|
||||
<option value="defederate">Defederate</option>
|
||||
{% else %}
|
||||
@ -24,7 +24,7 @@
|
||||
</select><br/>
|
||||
<label>Include in search results</label><br/>
|
||||
<select name="active">
|
||||
{% if location.active %}
|
||||
{% if options.location.active %}
|
||||
<option value="false">No</option>
|
||||
<option value="true" selected>Yes</option>
|
||||
{% else %}
|
||||
@ -37,4 +37,6 @@
|
||||
<input type="file" id="loc_examples" name="loc_examples[]" multiple/>
|
||||
</div>
|
||||
<input type="hidden" name="token" value="{{ csrf_token('upload') }}"/>
|
||||
<input type="hidden" name="mode" value="edit"/>
|
||||
<input type="hidden" name="uuid" value="{{ options.location.uuid }}"/>
|
||||
<input type="submit" value="Edit Location" name="submit_button"></form>
|
||||
|
Reference in New Issue
Block a user