diff options
author | Simo Sorce <simo@redhat.com> | 2014-04-04 13:08:02 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-04-04 13:08:28 -0400 |
commit | e3547ec9148642659c3708db8a54fb008b1d9995 (patch) | |
tree | 0d65f941909588313bf9454fb72ea0dbaa2935e0 /templates | |
parent | 8cdf10beebc47e1dfa095d052a2f7ed317e905a0 (diff) | |
download | ipsilon.git-e3547ec9148642659c3708db8a54fb008b1d9995.tar.gz ipsilon.git-e3547ec9148642659c3708db8a54fb008b1d9995.tar.xz ipsilon.git-e3547ec9148642659c3708db8a54fb008b1d9995.zip |
Admin functions to add new Service Providers
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/providers/saml2.html | 5 | ||||
-rw-r--r-- | templates/admin/providers/saml2_sp_new.html | 28 |
2 files changed, 33 insertions, 0 deletions
diff --git a/templates/admin/providers/saml2.html b/templates/admin/providers/saml2.html index 5185a6f..2e4aff3 100644 --- a/templates/admin/providers/saml2.html +++ b/templates/admin/providers/saml2.html @@ -2,6 +2,11 @@ {% block main %} <h2>Service Providers</h2> +<div class="row"> + <div class="col-md-3 col-sm-3 col-xs-6"> + <a href="{{ baseurl }}/new">Add New</a> + </div> +</div> <hr/> {% for p in providers %} <div class="row"> diff --git a/templates/admin/providers/saml2_sp_new.html b/templates/admin/providers/saml2_sp_new.html new file mode 100644 index 0000000..bf83fb2 --- /dev/null +++ b/templates/admin/providers/saml2_sp_new.html @@ -0,0 +1,28 @@ +{% 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="multipart/form-data"> + + <div class="form-group"> + <label for="name">Name:</label> + <input type="text" class="form-control" name="name" value=""/> + </div> + + <div class="form-group"> + <label for="meta">Metadata file:</label> + <input type="file" name="meta" id="file"/> + </div> + + <button id="submit" class="btn btn-primary" name="submit" type="submit" value="Submit"> + Save + </button> + <a href="{{ backurl }}" class="btn btn-default" title="Back">Back</a> + </form> + </div> +{% endblock %} |