forked from ariska/karung-web-admin
update cutoff time configurable with env
This commit is contained in:
1 parent
3823b511ba
commit
fc617b9cf0
4 files changed
+130
-17
No files matched your search
+12
-3
@@ -1623,27 +1623,36 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="tuang_cutoff_time">Karung Tuang Cutoff</label>
|
||||
<select id="tuang_cutoff_time" class="settings-input" name="tuang_cutoff_time" required>
|
||||
<select id="tuang_cutoff_time" class="settings-input" name="tuang_cutoff_time" required {% if 'tuang_cutoff_time' in env_locked_counter_settings %}disabled{% endif %}>
|
||||
{% for cutoff_time in cutoff_time_options %}
|
||||
<option value="{{ cutoff_time }}" {% if cutoff_time == dashboard_settings.tuang_cutoff_time %}selected{% endif %}>{{ cutoff_time }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
{% if 'tuang_cutoff_time' in env_locked_counter_settings %}
|
||||
<input type="hidden" name="tuang_cutoff_time" value="{{ dashboard_settings.tuang_cutoff_time }}">
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="masuk_cutoff_time">Karung Masuk Cutoff</label>
|
||||
<select id="masuk_cutoff_time" class="settings-input" name="masuk_cutoff_time" required>
|
||||
<select id="masuk_cutoff_time" class="settings-input" name="masuk_cutoff_time" required {% if 'masuk_cutoff_time' in env_locked_counter_settings %}disabled{% endif %}>
|
||||
{% for cutoff_time in cutoff_time_options %}
|
||||
<option value="{{ cutoff_time }}" {% if cutoff_time == dashboard_settings.masuk_cutoff_time %}selected{% endif %}>{{ cutoff_time }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
{% if 'masuk_cutoff_time' in env_locked_counter_settings %}
|
||||
<input type="hidden" name="masuk_cutoff_time" value="{{ dashboard_settings.masuk_cutoff_time }}">
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="local_timezone">Timezone Indonesia</label>
|
||||
<select id="local_timezone" class="settings-input" name="local_timezone" required>
|
||||
<select id="local_timezone" class="settings-input" name="local_timezone" required {% if 'local_timezone' in env_locked_counter_settings %}disabled{% endif %}>
|
||||
{% for timezone_name, timezone_label in timezone_options.items() %}
|
||||
<option value="{{ timezone_name }}" {% if timezone_name == dashboard_settings.local_timezone %}selected{% endif %}>{{ timezone_label }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
{% if 'local_timezone' in env_locked_counter_settings %}
|
||||
<input type="hidden" name="local_timezone" value="{{ dashboard_settings.local_timezone }}">
|
||||
{% endif %}
|
||||
</div>
|
||||
<button class="settings-button" type="submit">Simpan Pengaturan</button>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user