Qualys deploy: simplifie UI = ActivationId Linux uniquement (Windows hidden, persiste backend)
This commit is contained in:
parent
55d08921f9
commit
206cc813f6
@ -22,7 +22,7 @@
|
|||||||
<h3 class="text-sm font-bold text-cyber-accent mb-3">Configuration de l'agent</h3>
|
<h3 class="text-sm font-bold text-cyber-accent mb-3">Configuration de l'agent</h3>
|
||||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-3">
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-3">
|
||||||
<div>
|
<div>
|
||||||
<label class="text-xs text-gray-500 block mb-1">ActivationId Linux <span class="text-cyber-green">({{ keys_linux|length }})</span></label>
|
<label class="text-xs text-gray-500 block mb-1">ActivationId Linux {% if keys_linux %}<span class="text-cyber-green">({{ keys_linux|length }} keys via API)</span>{% endif %}</label>
|
||||||
{% if keys_linux %}
|
{% if keys_linux %}
|
||||||
<select id="activation_id_linux" class="w-full text-xs" style="font-family:monospace">
|
<select id="activation_id_linux" class="w-full text-xs" style="font-family:monospace">
|
||||||
{% for k in keys_linux %}<option value="{{ k.key }}" {% if k.key == activation_id_linux %}selected{% endif %}>{{ k.key }} — {{ k.title or '' }} ({{ k.used }} uses)</option>{% endfor %}
|
{% for k in keys_linux %}<option value="{{ k.key }}" {% if k.key == activation_id_linux %}selected{% endif %}>{{ k.key }} — {{ k.title or '' }} ({{ k.used }} uses)</option>{% endfor %}
|
||||||
@ -30,15 +30,8 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<input type="text" id="activation_id_linux" value="{{ activation_id_linux }}" class="w-full text-xs" style="font-family:monospace">
|
<input type="text" id="activation_id_linux" value="{{ activation_id_linux }}" class="w-full text-xs" style="font-family:monospace">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<label class="text-xs text-gray-500 block mb-1 mt-2">ActivationId Windows <span class="text-cyber-green">({{ keys_windows|length }})</span></label>
|
|
||||||
{% if keys_windows %}
|
|
||||||
<select id="activation_id_windows" class="w-full text-xs" style="font-family:monospace">
|
|
||||||
{% for k in keys_windows %}<option value="{{ k.key }}" {% if k.key == activation_id_windows %}selected{% endif %}>{{ k.key }} — {{ k.title or '' }} ({{ k.used }} uses)</option>{% endfor %}
|
|
||||||
</select>
|
|
||||||
{% else %}
|
|
||||||
<input type="text" id="activation_id_windows" value="{{ activation_id_windows }}" class="w-full text-xs" style="font-family:monospace">
|
|
||||||
{% endif %}
|
|
||||||
<input type="hidden" id="activation_id" value="{{ activation_id_linux }}">
|
<input type="hidden" id="activation_id" value="{{ activation_id_linux }}">
|
||||||
|
<input type="hidden" id="activation_id_windows" value="{{ activation_id_windows }}">
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label class="text-xs text-gray-500 block mb-1">CustomerId</label>
|
<label class="text-xs text-gray-500 block mb-1">CustomerId</label>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user