new_link.html 953 Bytes
Newer Older
Zach Knox's avatar
Zach Knox committed
1
2
3
<!-- include the base html template -->
{% extends 'layouts/base.html' %}

4
5
6
<!-- Tell Django to load static files -->
{% load staticfiles %}

Zach Knox's avatar
Zach Knox committed
7
8
9
10
11
<!-- load django crispy forms' tags -->
{% load crispy_forms_tags %}

<!-- define the page title block -->
{% block title %}
12
SRCT Go &bull; New Link
Zach Knox's avatar
Zach Knox committed
13
14
15
16
17
18
19
20
21
{% endblock %}

<!-- define the content block for the page -->
{% block content %}

<!-- define the page header div -->
<div class="page-header" id="banner">
  <div class="row">
    <div class="col-md-12">
22
      <h1>
Zach Knox's avatar
Zach Knox committed
23
24
25
26
        <span class="fa-stack fa-lg">
          <i class="fa fa-circle fa-stack-2x"></i>
          <i class="fa fa-link fa-stack-1x fa-inverse"></i>
        </span>
27
28
        Shorten URL
      </h1>
Zach Knox's avatar
Zach Knox committed
29
30
31
32
33
34
35
36
    </div>
  </div>
</div>

<!-- call django crispy forms to render the go link creation form here -->
{% crispy form %}

<!-- load some JS to hide/show the custom date field -->
37
<script src="{% static "js/new_link.js" %}"></script>
Zach Knox's avatar
Zach Knox committed
38
39

{% endblock %}