Move Code into repo

This commit is contained in:
Aaron Kimbre
2022-01-16 12:22:00 -06:00
parent 1eef1854bc
commit 53ffe927f3
196 changed files with 33149 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
{% extends 'base.html.j2' %}
{% block title %}
Account Management
{% endblock title %}
{% block content_before %}
Account Management
{% endblock content_before %}
{% block content %}
{% if message %}
<div class="row">
<div class="col text-center">
<h3>{{ message }}</h3>
</div>
</div>
<br/>
{% endif %}
<table class="table" id="characters_table">
<thead>
<tr>
<th>Actions</th>
<th>Account</th>
<th>Name</th>
<th>Pending Name</th>
<th>Needs Rename</th>
<th>Last Login</th>
<th>Permission Map</th>
</tr>
</thead>
<tbody></tbody>
</table>
{% endblock %}
{% block js %}
{{ super () }}
<script>
$(document).ready(function(){
let characters_table = $('#characters_table').DataTable({
"processing": true,
"serverSide": true,
"ajax": "{{ url_for('characters.get', status='all') }}",
"columnDefs": [
{ "searchable": false, "targets": [0,5] },
{ "orderable": false, "targets": [0] }
]
});
});
</script>
{% endblock %}

View File

@@ -0,0 +1,34 @@
{% extends 'base.html.j2' %}
{% block title %}
Viewing {{ character_data.name }}
{% endblock %}
{% block content_before %}
Viewing {{ character_data.name }}
{% endblock %}
{% block content %}
<div class="row">
<div class="col-sm">
{% with character=character_data%}
{% include 'partials/_character.html.j2' %}
{% endwith %}
</div>
<div class="col-sm">
{% include 'partials/_charxml.html.j2'%}
</div>
</div>
{% endblock content %}
{% block content_after %}
<br/>
<br/>
<h3 class="text-center">Properties</h3>
<hr class="bg-primary"/>
<div class="card-columns">
{% for property in character_data.properties_owner %}
{% include 'partials/_property.html.j2' %}
{% endfor %}
</div>
{% endblock content_after %}