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

{% block title %}
David Haynes's avatar
David Haynes committed
5
SRCT Go - A University Branded URL Shortener
6 7 8
{% endblock %}

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

<div class="page-header" id="banner">
  <div class="row">
    <div class="col-md-12">
David Haynes's avatar
David Haynes committed
30 31 32 33 34 35 36
      <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>
37 38 39 40
    </div>
  </div>
</div>

41
{% crispy form %}
42 43

{% endblock %}