diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-05-30 13:29:31 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-05-30 13:29:31 +0100 |
| commit | da15e439e64c8314825ad5f28073fbcbd436946f (patch) | |
| tree | 62b40c9be838316fc1c0e1a5372d7bf8fbdc496b /app/templates/_partials | |
| parent | Add database migration for cp_index (diff) | |
| download | AnnotateChange-da15e439e64c8314825ad5f28073fbcbd436946f.tar.gz AnnotateChange-da15e439e64c8314825ad5f28073fbcbd436946f.zip | |
Initial version of demo
This commit introduces the demo functionality.
The task assignment has been removed at the moment,
as this will be changed in a future commit.
Diffstat (limited to 'app/templates/_partials')
| -rw-r--r-- | app/templates/_partials/modals.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/templates/_partials/modals.html b/app/templates/_partials/modals.html new file mode 100644 index 0000000..1ffd85f --- /dev/null +++ b/app/templates/_partials/modals.html @@ -0,0 +1,21 @@ +{% macro modal(id, title, message) %} +<!-- Modal --> +<div class="modal fade" id="{{ id }}Modal" tabindex="-1" role="dialog" aria-labelledby="{{ id }}ModalTitle" aria-hidden="true"> + <div class="modal-dialog modal-dialog-centered" role="document"> + <div class="modal-content"> + <div class="modal-header"> + <h5 class="modal-title" id="{{ id }}LongTitle">{{ title }}</h5> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"> + <span aria-hidden="true">×</span> + </button> + </div> + <div class="modal-body"> + {{ message }} + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> + </div> + </div> + </div> +</div> +{% endmacro %} |
