feat: fix migrate_to_wmt playbook; restructure sidebar nav; add Client Name column to WMT dashboard

This commit is contained in:
ske087
2026-05-12 16:42:37 +03:00
parent 10dd0a560c
commit ccad5c1201
6 changed files with 63 additions and 20 deletions
+6
View File
@@ -91,6 +91,12 @@
<h6 class="text-muted fw-bold mb-2 small text-uppercase">Custom Playbooks</h6>
<select class="form-select" id="customPlaybook">
<option value="">— select custom playbook —</option>
{% for pb in custom_playbooks %}
<option value="{{ pb.name }}"
{% if preselect_playbook == pb.filename or preselect_playbook == pb.name %}selected{% endif %}>
{{ pb.name }}
</option>
{% endfor %}
</select>
<input type="hidden" name="playbook" id="selectedPlaybook">
</div>
+3 -3
View File
@@ -21,12 +21,12 @@
background-color: #f8f9ff;
}
.code-editor-area {
min-height: 400px;
min-height: 600px;
border: 1px solid #dee2e6;
border-radius: 0.375rem;
}
.CodeMirror {
height: 400px;
height: 600px;
border-radius: 0.375rem;
}
.playbook-actions {
@@ -244,7 +244,7 @@
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<pre id="playbookContent" style="max-height: 400px; overflow-y: auto; background-color: #f8f9fa; padding: 15px; border-radius: 5px;"></pre>
<pre id="playbookContent" style="max-height: 600px; overflow-y: auto; background-color: #f8f9fa; padding: 15px; border-radius: 5px;"></pre>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>