aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/resources/create_featured_resource.html
blob: e98b2ba2da4d547aae16af5905e4660bebf3e554 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends "base.html" %}
{% load static %}

{% block title %}Add featured resource{% endblock title %}

{% block content %}

{% if request.user.is_authenticated and request.user.is_staff %}
  <div class="row d-flex justify-content-center">
    <div class="col bg-light mt-lg-4 p-4 border border-success border-opacity-25 rounded">
      <h2>Configure featured resources</h2>
      <p>You can select three resources to be "featured" on the main page</p>
    </div>
  </div>
{% else %}
  <p>You must be a super-user to access this page.</p>
{% endif %}


{% endblock content %}