diff --git a/templates/admin/quota/quota.mako b/templates/admin/quota/quota.mako deleted file mode 100644 index 8fd9cb5132c..00000000000 --- a/templates/admin/quota/quota.mako +++ /dev/null @@ -1,83 +0,0 @@ -<%inherit file="/base.mako"/> -<%namespace file="/message.mako" import="render_msg" /> - -<%def name="javascripts()"> - ${parent.javascripts()} - - - -<%def name="render_select( name, options )"> - - - - - -%if message: - ${render_msg( message, status )} -%endif - -
-
Quota '${name|h}'
-
-
-
-
- - ${render_select( "in_users", in_users )}
- -
-
- - ${render_select( "out_users", out_users )}
- -
-
-
-
- - ${render_select( "in_groups", in_groups )}
- -
-
- - ${render_select( "out_groups", out_groups )}
- -
-
-
- -
-
-
-
diff --git a/templates/admin/quota/quota_create.mako b/templates/admin/quota/quota_create.mako deleted file mode 100644 index c581744cfbe..00000000000 --- a/templates/admin/quota/quota_create.mako +++ /dev/null @@ -1,125 +0,0 @@ -<%inherit file="/base.mako"/> -<%namespace file="/message.mako" import="render_msg" /> - -<%def name="javascripts()"> - ${parent.javascripts()} - - - -<%def name="render_select( name, options )"> - - - - - -<% - from galaxy.web.form_builder import SelectField - operation_selectfield = SelectField( 'operation' ) - for op in ( '=', '+', '-' ): - selected = op == operation - operation_selectfield.add_option( op, op, selected ) - default_selectfield = SelectField( 'default' ) - selected = 'no' == default - default_selectfield.add_option( 'No', 'no', selected ) - for typ in trans.app.model.DefaultQuotaAssociation.types.__dict__.values(): - selected = typ == default - default_selectfield.add_option( 'Yes, ' + typ, typ, selected ) -%> - -%if message: - ${render_msg( message, status )} -%endif - -
-
Create quota
-
-
-
- - -
-
- - -
-
- - -
- Examples: "10000MB", "99 gb", "0.2T", "unlimited" -
-
-
- - ${operation_selectfield.get_html()} -
-
- - ${default_selectfield.get_html()} -
- Warning: Any user or group associations selected below will be ignored if this quota is used as a default. -
-
-
-
- - ${render_select( "in_users", in_users )}
- -
-
- - ${render_select( "out_users", out_users )}
- -
-
-
-
- - ${render_select( "in_groups", in_groups )}
- -
-
- - ${render_select( "out_groups", out_groups )}
- -
-
-
- -
-
-
-
diff --git a/templates/admin/quota/quota_edit.mako b/templates/admin/quota/quota_edit.mako deleted file mode 100644 index c437fea5e1c..00000000000 --- a/templates/admin/quota/quota_edit.mako +++ /dev/null @@ -1,46 +0,0 @@ -<%inherit file="/base.mako"/> -<%namespace file="/message.mako" import="render_msg" /> - -<%def name="javascripts()"> - ${parent.javascripts()} - - - -<% - from galaxy.web.form_builder import SelectField - operation_selectfield = SelectField( 'operation' ) - for op in ( '=', '+', '-' ): - selected = op == operation - operation_selectfield.add_option( op, op, selected ) -%> - -%if message: - ${render_msg( message, status )} -%endif - -
-
Change quota amount
-
-
- -
- - -
- Examples: "10000MB", "99 gb", "0.2T", "unlimited" -
-
-
- - ${operation_selectfield.get_html()} -
-
- -
-
-
-
diff --git a/templates/admin/quota/quota_rename.mako b/templates/admin/quota/quota_rename.mako deleted file mode 100644 index 476518b6209..00000000000 --- a/templates/admin/quota/quota_rename.mako +++ /dev/null @@ -1,52 +0,0 @@ -<%inherit file="/base.mako"/> -<%namespace file="/message.mako" import="render_msg" /> - -<%def name="javascripts()"> - ${parent.javascripts()} - - - -%if message: - ${render_msg( message, status )} -%endif - -
-
Change quota name and description
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
- -
-
-
-
diff --git a/templates/admin/quota/quota_set_default.mako b/templates/admin/quota/quota_set_default.mako deleted file mode 100644 index ed64e0ad81e..00000000000 --- a/templates/admin/quota/quota_set_default.mako +++ /dev/null @@ -1,44 +0,0 @@ -<%inherit file="/base.mako"/> -<%namespace file="/message.mako" import="render_msg" /> - -<%def name="javascripts()"> - ${parent.javascripts()} - - - -<% - from galaxy.web.form_builder import SelectField - default_selectfield = SelectField( 'default' ) - selected = 'no' == default - default_selectfield.add_option( 'No', 'no', selected ) - for typ in trans.app.model.DefaultQuotaAssociation.types.__dict__.values(): - selected = typ == default - default_selectfield.add_option( 'Yes, ' + typ, typ, selected ) -%> - -%if message: - ${render_msg( message, status )} -%endif - -
-
Set quota default
-
-
- -
- - ${default_selectfield.get_html()} -
- Warning: Any users or groups associated with this quota will be disassociated. -
-
-
- -
-
-
-