mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-22 22:54:23 +01:00
Squashed 'CTFd/themes/core-beta/' changes from 9126d77d..5ce3003b
5ce3003b Merge pull request #47 from aCursedComrade/patch-1 c9887cb1 Fix team template git-subtree-dir: CTFd/themes/core-beta git-subtree-split: 5ce3003b4d68352e629ee2d390bc999e7d6b071e
This commit is contained in:
19
templates/components/errors.html
Normal file
19
templates/components/errors.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<div>
|
||||
{% for info in infos %}
|
||||
<div class="alert alert-info alert-dismissible text-center" role="alert">
|
||||
<span>{{ info }}</span>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% for error in errors %}
|
||||
<div class="alert alert-danger alert-dismissible text-center" role="alert">
|
||||
<span>{{ error }}</span>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user