mirror of
https://github.com/Quackster/Havana.git
synced 2025-07-04 05:37:47 +00:00
45 lines
1.4 KiB
Smarty
45 lines
1.4 KiB
Smarty
![]() |
{% include "housekeeping/base/header.tpl" %}
|
||
|
<body>
|
||
|
{% set configurationsActive = " active" %}
|
||
|
{% include "housekeeping/base/navigation.tpl" %}
|
||
|
<h1 class="mt-4">Edit Configurations</h1>
|
||
|
{% include "housekeeping/base/alert.tpl" %}
|
||
|
<p>Edit all the configuration that is on the hotel.</p>
|
||
|
<div class="table-responsive">
|
||
|
<form method="post">
|
||
|
<table class="table table-striped">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Name</th>
|
||
|
<th>Value</th>
|
||
|
<th></th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for config in configs %}
|
||
|
<tr>
|
||
|
<td>{{ config.getKey() }}</td>
|
||
|
<td>
|
||
|
<input type="text" name="{{ config.getKey() }}" class="form-control" id="searchFor" value="{{ config.getValue() }}">
|
||
|
</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<div class="form-group">
|
||
|
<button type="submit" class="btn btn-info">Save Configuration</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js"></script>
|
||
|
<script src="https://blackrockdigital.github.io/startbootstrap-simple-sidebar/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||
|
<script>
|
||
|
$("#menu-toggle").click(function(e) {
|
||
|
e.preventDefault();
|
||
|
$("#wrapper").toggleClass("toggled");
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|