Refactor to remove dajaxice. Modified the URLs that address schedules: - urls now always start with /agenda, removing the mix of /agenda and /schedule prefixes - urls to a given schedule include the schedule owner (by email address) Corrected issue that prevented deleting sessions. Changed comment mechanism in timeslot_edit.js Migration to change the email address for (System) Fixes bug #1426 Commit ready to merge - Legacy-Id: 8229
82 lines
3.1 KiB
HTML
82 lines
3.1 KiB
HTML
{% extends "base.html" %}
|
|
{% load ietf_filters %}
|
|
{# Copyright The IETF Trust 2007, All Rights Reserved #}
|
|
{% load humanize %}
|
|
|
|
{% block title %}IETF {{ meeting.number }} Meeting Agenda: {{schedule.owner}} / {{ schedule.name }}{% endblock %}
|
|
{% load agenda_custom_tags %}
|
|
{% block pagehead %}
|
|
<link rel='stylesheet' type='text/css' href='/css/jquery-ui-themes/jquery-ui-1.8.11.custom.css' />
|
|
<link rel='stylesheet' type='text/css' href='/css/base2.css' />
|
|
<link rel='stylesheet' type='text/css' href='/css/agenda.css' />
|
|
{% endblock pagehead %}
|
|
|
|
{% block js %}
|
|
<script type='text/javascript' src='/js/jquery-ui-1.9.0.custom/jquery-ui.custom.js'></script>
|
|
<script type='text/javascript' src='/js/jquery-ui-1.9.0.custom/jquery.ui.widget.js'></script>
|
|
<script type='text/javascript' src='/js/jquery-ui-1.9.0.custom/jquery.ui.droppable.js'></script>
|
|
<script type='text/javascript' src='/js/jquery-ui-1.9.0.custom/jquery.ui.sortable.js'></script>
|
|
<script type='text/javascript' src='/js/jquery-ui-1.9.0.custom/jquery.ui.accordion.js'></script>
|
|
<script type='text/javascript' src='/js/jquery-ui-1.9.0.custom/jquery.ui.draggable.js'></script>
|
|
|
|
<script type='text/javascript' src='/js/agenda/agenda_listeners.js'></script>
|
|
<script type='text/javascript' src='/js/agenda/agenda_helpers.js'></script>
|
|
<script type='text/javascript' src='/js/agenda/agenda_property_utils.js'></script>
|
|
<script type='text/javascript' src='/js/agenda/agenda_properties_edit.js'></script>
|
|
{% endblock js %}
|
|
|
|
{% block start_content_table %}{% endblock %}
|
|
{% block end_content_table %}{% endblock %}
|
|
|
|
{% block content %}
|
|
</tr></table></div>
|
|
<div class="wrapper custom_text_stuff">
|
|
<div style="ui-icon ui-icon-arrow-1-w" id="close_ietf_menubar">
|
|
<
|
|
</div>
|
|
|
|
<div href="{{ meeting.json_url }}" class="agenda_list_title">
|
|
<p>Meeting {{meeting.number}}</p>
|
|
</div>
|
|
|
|
<div id="agenda_edit_properties">
|
|
<div id="title">
|
|
<p>Schedule: {{schedule.owner}}/{{schedule.name}}</p>
|
|
<!-- done with table to reuse code from table view -->
|
|
<table class="agenda_list"><tr></tr><tr agenda_name="{{schedule.name}}" id="agenda_name_{{schedule.name|slugify}}" ><td>
|
|
<span class="styled_button agenda_official_mark {{schedule.official_class}}">{{ schedule.official_token }}</span>
|
|
</td></tr></table>
|
|
</div>
|
|
|
|
<form action="{{schedule.json_url}}" method="POST">
|
|
<fieldset>
|
|
<table>
|
|
{{ form.as_table }}
|
|
|
|
<tr>
|
|
<td></td>
|
|
<td colspan=2><input type="button" name="save" value="save" onClick="save_agenda(this.form)" class="styled_button">
|
|
<a id="agenda_cancel_url" href="{% url "ietf.meeting.views.edit_agendas" meeting.number %}"><span class="styled_button agenda_cancel">Cancel</span></a></td>
|
|
<td><span class="styled_button agenda_delete">DEL</span></td>
|
|
</tr>
|
|
</table>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="dialog" id="agenda_delete_dialog">
|
|
Are you sure you want to delete this agenda?
|
|
</div>
|
|
|
|
<div class="towtruck">
|
|
{% if server_mode %}
|
|
{% if server_mode != "production" %}
|
|
<button onclick="TowTruck(this); return false;">Start TowTruck</button>
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{% endblock %}
|