summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2015-04-07 15:05:59 -0400
committerSimo Sorce <simo@redhat.com>2015-04-10 10:38:30 -0400
commit130aaa056aac3d214afef4a43ddf6f948f5f0a8b (patch)
tree485d92f1450afc535d18865019e407a0da9ce6ff
parent81ad559af403d4d62f21209d34ba00833e007300 (diff)
downloadipsilon.git-130aaa056aac3d214afef4a43ddf6f948f5f0a8b.tar.gz
ipsilon.git-130aaa056aac3d214afef4a43ddf6f948f5f0a8b.tar.xz
ipsilon.git-130aaa056aac3d214afef4a43ddf6f948f5f0a8b.zip
SAML SP template page is no longer needed
The page is built up using the option_config.html template now. https://fedorahosted.org/ipsilon/ticket/25 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r--templates/admin/providers/saml2_sp.html69
1 files changed, 0 insertions, 69 deletions
diff --git a/templates/admin/providers/saml2_sp.html b/templates/admin/providers/saml2_sp.html
deleted file mode 100644
index 84e46a9..0000000
--- a/templates/admin/providers/saml2_sp.html
+++ /dev/null
@@ -1,69 +0,0 @@
-{% extends "master-admin.html" %}
-{% block main %}
- <h2>{{ title }}</h2>
- {% if message %}
- <div class="alert alert-{{message_type}}">
- <p>{{ message }}</p>
- </div>
- {% endif %}
- <div id="options">
- <form role="form" id="{{ name }}" action="{{ action }}" method="post" enctype="application/x-www-form-urlencoded">
-
- <div class="form-group">
- <label for="provider_id">Provider ID:</label>
- {{ data.provider_id }}
- </div>
-
- <div class="form-group">
- <label for="name">Name:</label>
- {% if user.name == data.owner or user.is_admin %}
- <input type="text" class="form-control" name="name" value="{{ data.name }}"
- title="A nickname used to easily identify the Service Provider. Only alphanumeric characters [A-Z,a-z,0-9] and spaces are accepted"/>
- {% else %}
- {{ data.name }}
- {% endif %}
- </div>
-
- <div class="form-group">
- <label for="default_nameid">Default NameID:</label>
- {% if user.is_admin -%}
- <input type="text" class="form-control" name="default_nameid"
- title="The default nameid type returned to the Service Provider"
- value="
- {%- endif -%}
- {{ data.default_nameid }}
- {%- if user.is_admin -%}
- "/>
- {%- endif %}
- </div>
-
- <div class="form-group">
- <label for="allowed_nameids">Allowed NameIDs:</label>
- {% if user.is_admin -%}
- <input type="text" class="form-control" name="allowed_nameids"
- title="The allowed nameid types that can be returned to a Service Provider"
- value="
- {%- endif -%}
- {{ data.allowed_nameids|join(', ') }}
- {%- if user.is_admin -%}
- "/>
- {%- endif %}
- </div>
-
- {% if user.is_admin %}
- <div class="form-group">
- <label for="owner">User Owner:</label>
- <input type="text" class="form-control" name="owner" value="{{ data.owner }}"
- title="The user that owns the Service Provider"/>
- </div>
- {% endif %}
-
- {% if user.name == data.owner or user.is_admin %}
- <button id="submit" class="btn btn-primary" name="submit" type="submit" value="Submit">
- Save
- </button>
- {% endif %}
- <a href="{{ backurl }}" class="btn btn-default" title="Back">Back</a>
- </form>
- </div>
-{% endblock %}