index.html 869 Bytes
Newer Older
1
{% extends 'layouts/base.html' %}
2
{% load crispy_forms_tags %}
3 4

{% block title %}
5
Go - A University Branded URL Shortener
6 7 8
{% endblock %}

{% block content %}
9 10 11
<script type="text/javascript">
$(function() {
    $("#div_id_expires_custom").hide();
Matthew Rodgers's avatar
Matthew Rodgers committed
12 13 14 15 16 17 18
    $("#div_id_expires").click(function() {
      if ($("#id_expires_5").is(":checked")) {
        $("#div_id_expires_custom").slideDown();
      } else {
          $("#div_id_expires_custom").slideUp();
      }
  })  
19 20
})
</script>
21 22 23 24

<div class="page-header" id="banner">
  <div class="row">
    <div class="col-md-12">
David Haynes's avatar
David Haynes committed
25 26 27 28 29 30 31
      <h1><strong>
        <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>
        <i class="fa">Shorten URL</i>
      </strong></h1>
32 33 34 35
    </div>
  </div>
</div>

36
{% crispy form %}
37 38

{% endblock %}