forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimport_minutes.html
More file actions
36 lines (33 loc) · 1.29 KB
/
import_minutes.html
File metadata and controls
36 lines (33 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{% extends "base.html" %}
{% load bootstrap3 origin %}
{% block morecss %}
#preview { width: 100%; height: 60vh; border: solid 2px; }
{% endblock %}
{% block title %}
Import Preview: {% firstof note.get_title note.id %}
{% endblock %}
{% block content %}
{% origin %}
<h1>Import Preview: {% firstof note.get_title note.id %}</h1>
<div class="row">
<div class="col-md-11">
<p class="pull-left">Last updated: {% firstof note.get_update_time "unknown" %}</p>
<p class="pull-right"><a href="{{ note.url }}">View on notes.ietf.org</a></p>
<iframe id="preview" srcdoc="{{ note.get_preview|force_escape }}" sandbox>
<p>Your browser does not support iframes, so preview cannot be shown.</p>
</iframe>
</div>
</div>
<div class="row">
<div class="col-md-11">
<form method="post" enctype="multipart/form-data">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary pull-left" {% if not contents_changed %}disabled{% endif %}> Import </button>
<a class="btn btn-default pull-right" href="{% url 'ietf.meeting.views.session_details' num=session.meeting.number acronym=session.group.acronym %}"> Back </a>
{% endbuttons %}
</form>
</div>
</div>
{% endblock %}