diff options
author | Simo Sorce <simo@redhat.com> | 2014-05-29 09:38:18 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-06-04 10:26:29 -0400 |
commit | 5c0898a8e0fa977911fde7c24123f834e4792948 (patch) | |
tree | c63f2662394f3d0c5f9fc383ac64d1fe7784cf18 /templates | |
parent | 57152208ec0aabab7923a414a118fe0ce1cdb4ce (diff) | |
download | ipsilon-5c0898a8e0fa977911fde7c24123f834e4792948.tar.gz ipsilon-5c0898a8e0fa977911fde7c24123f834e4792948.tar.xz ipsilon-5c0898a8e0fa977911fde7c24123f834e4792948.zip |
Add optional field to allow pasting the metadata
This way a user can avoid copying the metadata file arund but paste
the content straight from a terminal window.
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/providers/saml2_sp_new.html | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/templates/admin/providers/saml2_sp_new.html b/templates/admin/providers/saml2_sp_new.html index 46e4906..b3cef19 100644 --- a/templates/admin/providers/saml2_sp_new.html +++ b/templates/admin/providers/saml2_sp_new.html @@ -17,10 +17,24 @@ </div> <div class="form-group"> - <label for="meta">Metadata file:</label> - <input type="file" name="meta" id="file" + <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 |