blob: ed8db1d2cf75856d76c5c7a7ebad890f8a5269f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{% 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=""
title="A nickname used to easily identify the Service Provider.
Only alphanumeric characters and spaces are accepted"/>
</div>
<div class="form-group">
<label for="metafile">Metadata file:</label>
<input type="file" name="metafile" id="file"
title="The metadata file generated by the Service Provider"/>
</div>
- OR -
<div class="form-group">
<label for="metaurl">Metadata url:</label>
<input type="text" name="metaurl" id="url"
title="The metadata url exposed by the Service Provider (ex. http://service.provider/saml/metadata )"/>
</div>
- OR -
<div class="form-group">
<label for="metatext">Metadata text:</label>
<br>
<textarea name="metatext" rows="10" cols="80"
title="The metadata generated by the Service Provider"
form="{{ name }}"></textarea>
</div>
<button id="submit" class="btn btn-primary" name="submit" type="submit" value="Submit">
Save
</button>
<a href="{{ back }}" class="btn btn-default" title="Back">Back</a>
</form>
</div>
{% endblock %}
|