More HTML fixes. - Legacy-Id: 9787 Note: SVN reference [9766] has been migrated to Git commit 77f555bdbdfa653e4b5a0589ead9eda6632f10d7
50 lines
1.3 KiB
HTML
50 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
|
|
{% load bootstrap3 %}
|
|
|
|
{% block pagehead %}
|
|
<link rel="stylesheet" href="/css/lib/datepicker3.css">
|
|
{% endblock %}
|
|
|
|
{% block title %}Make last call for {{ doc.name }}{% endblock %}
|
|
|
|
{% block content %}
|
|
{% origin %}
|
|
|
|
<h1>Make last call<br><small>{{doc.name}}</small></h1>
|
|
|
|
{% bootstrap_messages %}
|
|
|
|
<div class="form-group">
|
|
<label>Last call text</label>
|
|
<pre>{{ announcement }}</pre>
|
|
</div>
|
|
|
|
<form enctype="multipart/form-data" method="post">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
|
|
{% buttons %}
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
<button type="reset" class="btn btn-warning">Reset</button>
|
|
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
|
|
{% endbuttons %}
|
|
</form>
|
|
{% endblock %}
|
|
|
|
|
|
{% block js %}
|
|
<script src="/js/lib/bootstrap-datepicker.js"></script>
|
|
<script>
|
|
$('#id_last_call_sent_date, #id_last_call_expiration_date').datepicker({
|
|
format: "yyyy-mm-dd",
|
|
todayBtn: "linked",
|
|
todayHighlight: true
|
|
}).wrap('<div class="input-group"></div>').parent().prepend('<span class="input-group-addon"><span class="fa fa-calendar"></span></span>');
|
|
</script>
|
|
{% endblock %}
|
|
|
|
|