v1.8.6: сортировка таблиц, спиннеры number input, единый стиль — fix broken HTML, modal-actions → form-actions, card-wrapper
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
<input type="url" name="source_url" id="kb-source-url" placeholder="https://aegisone.ru/...">
|
||||
</div>
|
||||
<div class="form-check"><input type="checkbox" name="is_active" id="kb-is-active" checked><label for="kb-is-active">Активная карточка</label></div>
|
||||
<div class="modal-actions" style="justify-content:flex-end;">
|
||||
<div class="form-actions" style="justify-content:flex-end;">
|
||||
<button type="submit" class="btn btn-primary">Сохранить</button>
|
||||
<button type="button" class="btn" onclick="closeModal()">Отмена</button>
|
||||
</div>
|
||||
@@ -87,7 +87,7 @@
|
||||
<p style="color:var(--text-secondary);font-size:14px;margin-bottom:20px;">
|
||||
Карточка <strong id="delete-kb-name"></strong> будет удалена навсегда. Это действие нельзя отменить.
|
||||
</p>
|
||||
<div class="modal-actions" style="justify-content:flex-end;">
|
||||
<div class="form-actions" style="justify-content:flex-end;">
|
||||
<button type="button" class="btn btn-danger" onclick="confirmDeleteKB()">Удалить</button>
|
||||
<button type="button" class="btn" onclick="closeConfirmDeleteKB()">Отмена</button>
|
||||
</div>
|
||||
@@ -129,6 +129,7 @@ function renderKB(cards){
|
||||
'</tr>';
|
||||
});
|
||||
tbody.innerHTML = html;
|
||||
if(typeof sortTables === 'function') sortTables();
|
||||
}
|
||||
|
||||
function filterKB(){
|
||||
|
||||
Reference in New Issue
Block a user