2020-04-07 19:52:10 +00:00
|
|
|
{% extends "backend/base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="app-page-title">
|
|
|
|
<div class="page-title-wrapper">
|
|
|
|
<div class="page-title-heading">
|
|
|
|
<div class="page-title-icon">
|
|
|
|
<i class="fa fa-database">
|
|
|
|
</i>
|
|
|
|
</div>
|
|
|
|
<div>Database Settings
|
|
|
|
<div class="page-title-subheading">Modify generic database settings - only proceed if you know what you are doing!
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="page-title-actions">
|
2020-04-15 20:19:03 +00:00
|
|
|
<a href="{% url "dbsettings_create" %}" type="button" data-toggle="tooltip" title="New Setting" data-placement="bottom" class="btn-shadow mr-3 btn btn-success">
|
2020-04-07 19:52:10 +00:00
|
|
|
<i class="fa fa-plus"></i> New Setting
|
2020-04-15 20:19:03 +00:00
|
|
|
</a>
|
2020-04-07 19:52:10 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12 col-lg-0">
|
|
|
|
<div class="mb-3 card">
|
|
|
|
<div class="card-header-tab card-header-tab-animation card-header">
|
|
|
|
<div class="card-header-title">
|
|
|
|
<i class="header-icon lnr-apartment icon-gradient bg-love-kiss"> </i>
|
2020-04-08 14:48:27 +00:00
|
|
|
Active Settings
|
2020-04-07 19:52:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="tab-content">
|
|
|
|
<div class="tab-pane fade show active" id="tabs-eg-77">
|
|
|
|
<div class="card mb-3 widget-chart widget-chart2 text-left w-100">
|
|
|
|
<table class="mb-0 table table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Key</th>
|
|
|
|
<th>Value</th>
|
|
|
|
<th>Options</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for setting in object_list %}
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{{ setting.key }}</th>
|
2020-04-15 20:19:03 +00:00
|
|
|
<td><a href="javascript:alert('{{ setting.value }}');">Click to display...</a></td>
|
2020-04-15 20:43:40 +00:00
|
|
|
<td><a href="{% url "dbsettings_edit" setting.key %}"><i class="fas fa-edit" title="Edit Setting"></i></a> <a href="{% url "dbsettings_delete" setting.key %}"><i style="color: darkred;" class="fas fa-trash-alt" title="Delete Setting"></i></a></td>
|
2020-04-07 19:52:10 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|