diff options
Diffstat (limited to 'ishtar/templates/window.html')
| -rw-r--r-- | ishtar/templates/window.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ishtar/templates/window.html b/ishtar/templates/window.html new file mode 100644 index 000000000..3c52a3d90 --- /dev/null +++ b/ishtar/templates/window.html @@ -0,0 +1,40 @@ +{% load i18n %} +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + +<head> + <link rel="shortcut icon" href="{{MEDIA_URL}}/media/images/favicon.png"> + <title>{% block title %}Ishtar{% if APP_NAME %} - {{APP_NAME}}{%endif%}{% endblock %} + </title> + <script language="javascript" type="text/javascript"> + var url_path = "{{URL_PATH}}"; + </script> + <script language="javascript" type="text/javascript" src="{{JQUERY_URL}}"></script> + <script language="javascript" type="text/javascript" src="{{JQUERY_UI_URL}}jquery-ui.js"></script> + <script language="javascript" type="text/javascript" src="{{JQUERY_UI_URL}}ui/i18n/jquery.ui.datepicker-{{COUNTRY}}.js"></script> + <script language="javascript" type="text/javascript" src="{{MEDIA_URL}}/js/ishtar.js"></script> + <link type="text/css" href="{{JQUERY_UI_URL}}css/smoothness/jquery-ui.css" rel="stylesheet" /> + <link rel="stylesheet" href="{{MEDIA_URL}}/media/style.css" /> + {% block extra_head %} + {% endblock %} +</head> +<body> +{% if new_item_label %} +<script type='text/javascript' language='javascript'> +save_and_close_window("{{parent_name}}", "{{parent_pk}}", "{{new_item_label}}", "{{new_item_pk}}"); +</script> +{% endif %} +<div id="window_content"> + <h3>{{title}}</h3> + <form action="." method="post">{% csrf_token %} + <table> + {{form.as_table}} + <tr><td colspan='2' class='submit_button'><input type="submit" id="submit_new_item" value="{% trans "Add" %}"/></td></tr> + </table> + </form> + +</div> +</body> + +</html> |
