summaryrefslogtreecommitdiff
path: root/web/views/template/modal.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/views/template/modal.php')
-rw-r--r--web/views/template/modal.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/views/template/modal.php b/web/views/template/modal.php
new file mode 100644
index 0000000..4f47400
--- /dev/null
+++ b/web/views/template/modal.php
@@ -0,0 +1,12 @@
+<div class="modal-container">
+ <div class="modal">
+ <div class="modal-header row">
+ <?=$title?>
+ <?=ilang(
+ 'action_modal_close',
+ class: 'float-right btn btn-action modal-close',
+ )?>
+ </div>
+ <?php $this->view('modal/' . $content) ?>
+ </div>
+</div>