1
Fork 0
mirror of https://github.com/Quackster/Havana.git synced 2025-07-04 21:57:46 +00:00
Havana/tools/www-tpl/default-en/housekeeping/configurations.tpl

45 lines
1.4 KiB
Smarty
Raw Permalink Normal View History

2022-09-03 15:05:14 +10:00
{% 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>