Stable
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<form method="post" action="{{ path('urbackup_config') }}">
|
||||
<div class="center">
|
||||
<table class="tab_cadre_fixe">
|
||||
<tr>
|
||||
<th colspan="3">{{ __('UrBackup configuration', 'urbackup') }}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ __('Asset type', 'urbackup') }}</th>
|
||||
<th>{{ __('Enabled', 'urbackup') }}</th>
|
||||
<th>{{ __('Default', 'urbackup') }}</th>
|
||||
</tr>
|
||||
{% for itemtype, label in configurable_types %}
|
||||
<tr class="tab_bg_1">
|
||||
<td>{{ label }}</td>
|
||||
{% if itemtype == 'Computer' %}
|
||||
<td>{{ __('Always enabled', 'urbackup') }}</td>
|
||||
{% else %}
|
||||
<td>
|
||||
<input type="checkbox" name="assettypes[{{ itemtype }}]" value="1"{% if enabled_types[itemtype] %} checked{% endif %}>
|
||||
</td>
|
||||
{% endif %}
|
||||
<td>
|
||||
{% if itemtype == 'Computer' %}
|
||||
{{ __('Yes', 'urbackup') }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<td colspan="3" class="center">
|
||||
<button type="submit" name="update" class="btn btn-primary">
|
||||
{{ __('Save', 'urbackup') }}
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<input type="hidden" name="_glpi_csrf_token" value="{{ csrf_token() }}">
|
||||
</form>
|
||||
Reference in New Issue
Block a user