fix table with handling, icons implemented
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
<h2>2. {{ t('settings.mesh_mapping') }}</h2>
|
||||
{% set mesh = config.meshcentral %}
|
||||
{% set category_mapping = mesh.get('category_mapping', {}) %}
|
||||
<p class="muted">{{ t('settings.mesh_mapping_help') }}</p>
|
||||
<p class="muted">{{ t('settings.mesh_icon_mapping_help') }}</p>
|
||||
<form method="post" action="/sync/meshcentral/categories/save" class="compact-form">
|
||||
<label>{{ t('settings.fallback_category') }}
|
||||
<select name="mesh_fallback_category_id" required>
|
||||
@@ -73,7 +73,7 @@
|
||||
('8', 'settings.mesh_type_linux_other')
|
||||
] %}
|
||||
{% for type_id, type_label in mesh_types %}
|
||||
<label>{{ t(type_label) }} ({{ t('settings.meshcentral_type') }} {{ type_id }})
|
||||
<label class="mesh-icon-category-label"><span class="mesh-icon-category-title"><img src="/static/img/meshcentral-device-icons/icons256-{{ type_id }}-1.png" alt="" class="mesh-icon-preview">{{ t(type_label) }} ({{ t('settings.meshcentral_type') }} {{ type_id }})</span>
|
||||
<select name="mesh_category_{{ type_id }}">
|
||||
<option value="">{{ t('settings.use_fallback') }}</option>
|
||||
{% for category in categories %}
|
||||
|
||||
Reference in New Issue
Block a user