mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-22 06:34:34 +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:
34
templates/notifications.html
Normal file
34
templates/notifications.html
Normal file
@@ -0,0 +1,34 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="jumbotron">
|
||||
<div class="container">
|
||||
<h1>
|
||||
{% trans %}Notifications{% endtrans %}
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
{% if not notifications %}
|
||||
<h2 class="text-center">
|
||||
{% trans %}There are no notifications yet{% endtrans %}
|
||||
</h2>
|
||||
{% endif %}
|
||||
{% for notification in notifications %}
|
||||
<div class="card bg-light mb-4">
|
||||
<div class="card-body">
|
||||
<h3 class="card-title">{{ notification.title }}</h3>
|
||||
<blockquote class="blockquote mb-0">
|
||||
<p>{{ notification.html }}</p>
|
||||
<small class="text-muted"><span data-time="{{ notification.date | isoformat }}"></span></small>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{{ Assets.js("assets/js/notifications.js") }}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user