cloudlog/application/views/notes/partials/delete_modal.php
Peter Goodhall 5c5bdf2f2f Add categories and management to notes feature
Introduces note categories with support for filtering, assigning, and managing categories. Adds category selection and creation to add/edit forms, category filtering to the notes list, and modals for deleting/merging categories and confirming note deletion. Updates controller and model logic to handle categories, and improves UI for notes management.
2026-01-09 13:17:56 +00:00

27 lines
1.2 KiB
PHP

<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<div class="modal fade" id="deleteNoteModal" tabindex="-1" aria-labelledby="deleteNoteModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="deleteNoteModalLabel"><?php echo lang('general_word_danger'); ?></h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="<?php echo lang('admin_close'); ?>"></button>
</div>
<div class="modal-body">
<p class="mb-0">
<?php echo lang('qso_delete_warning'); ?>
<strong id="deleteNoteTitle"></strong>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><?php echo lang('general_word_cancel'); ?></button>
<form method="post" action="<?php echo site_url('notes/delete'); ?>" class="d-inline">
<input type="hidden" name="id" id="deleteNoteId" value="">
<button type="submit" class="btn btn-danger">
<i class="fas fa-trash-alt"></i> <?php echo lang('notes_input_btn_delete_note'); ?>
</button>
</form>
</div>
</div>
</div>
</div>