Bootstrap for SAML configuration (#776)

This commit is contained in:
Clément Oudot 2014-12-10 17:08:57 +00:00
parent e66481fb56
commit e258db2b44

View File

@ -526,112 +526,118 @@
<!-- Vhost --> <!-- Vhost -->
<div id="content_vhost" class="hidden"> <div id="content_vhost" class="hidden">
<input type="text" id="vhost" size="30" class="form-control"/> <input type="text" id="vhost" size="30" class="form-control"/>
<br /> <div class="buttons">
<button onclick="setlminputtext(currentId,vhost);return false;" class="btn btn-info"> <button onclick="setlminputtext(currentId,vhost);return false;" class="btn btn-info">
<i class="glyphicon glyphicon-ok"></i> <i class="glyphicon glyphicon-ok"></i>
<lang en="Apply" fr="Appliquer" /> <lang en="Apply" fr="Appliquer" />
</button> </button>
</div>
</div> </div>
<!-- samlIdpMetaData --> <!-- samlIdpMetaData -->
<div id="content_samlIdpMetaData" class="hidden"> <div id="content_samlIdpMetaData" class="hidden">
<input type="text" id="samlIdpMetaData" size="30" class="form-control"/> <input type="text" id="samlIdpMetaData" size="30" class="form-control"/>
<br /> <div class="buttons">
<button onclick="setlminputtext(currentId,samlIdpMetaData);return false;" class="btn btn-info"> <button onclick="setlminputtext(currentId,samlIdpMetaData);return false;" class="btn btn-info">
<i class="glyphicon glyphicon-ok"></i> <i class="glyphicon glyphicon-ok"></i>
<lang en="Apply" fr="Appliquer" /> <lang en="Apply" fr="Appliquer" />
</button> </button>
</div>
</div> </div>
<!-- samlSpMetaData --> <!-- samlSpMetaData -->
<div id="content_samlSpMetaData" class="hidden"> <div id="content_samlSpMetaData" class="hidden">
<input type="text" id="samlSpMetaData" size="30" class="form-control"/> <input type="text" id="samlSpMetaData" size="30" class="form-control"/>
<br /> <div class="buttons">
<button onclick="setlminputtext(currentId,samlSpMetaData);return false;" class="btn btn-info"> <button onclick="setlminputtext(currentId,samlSpMetaData);return false;" class="btn btn-info">
<i class="glyphicon glyphicon-ok"></i> <i class="glyphicon glyphicon-ok"></i>
<lang en="Apply" fr="Appliquer" /> <lang en="Apply" fr="Appliquer" />
</button> </button>
</div>
</div> </div>
<!-- samlAttribute --> <!-- samlAttribute -->
<div id="content_samlAttribute" class="hidden"> <div id="content_samlAttribute" class="hidden">
<table> <table class="table">
<tr> <tr>
<td><lang en="Key name" fr="Nom de la clef"/></td> <th><lang en="Key name" fr="Nom de la clef"/></th>
<td><input type="text" id="samlAttributeKey" class="form-control"/></td> <td><input type="text" id="samlAttributeKey" class="form-control"/></td>
</tr> </tr>
<tr> <tr>
<td><lang en="Name" fr="Nom"/></td> <th><lang en="Name" fr="Nom"/></th>
<td><input type="text" id="samlAttributeName" class="form-control"/></td> <td><input type="text" id="samlAttributeName" class="form-control"/></td>
<td><lang en="Mandatory" fr="Obligatoire"/></td> <th><lang en="Mandatory" fr="Obligatoire"/></th>
<td><input id="samlAttributeMandatoryOn" type="radio" name="samlAttributeMandatoryBoolean" value="1" /><label for="samlAttributeMandatoryOn"><lang en="On" fr="Activé"/></label> <td><input id="samlAttributeMandatoryOn" type="radio" name="samlAttributeMandatoryBoolean" value="1" /><label for="samlAttributeMandatoryOn"><lang en="On" fr="Activé"/></label>
<input id="samlAttributeMandatoryOff" type="radio" name="samlAttributeMandatoryBoolean" value="0" /><label for="samlAttributeMandatoryOff"><lang en="Off" fr="Désactivé"/></label> <input id="samlAttributeMandatoryOff" type="radio" name="samlAttributeMandatoryBoolean" value="0" /><label for="samlAttributeMandatoryOff"><lang en="Off" fr="Désactivé"/></label>
</td> </td>
</tr> </tr>
<tr> <tr>
<td><lang en="Friendly name" fr="Nom alternatif"/></td> <th><lang en="Friendly name" fr="Nom alternatif"/></th>
<td><input type="text" id="samlAttributeFriendlyName" class="form-control"/></td> <td><input type="text" id="samlAttributeFriendlyName" class="form-control"/></td>
<td><lang en="Format" fr="Format"/></td> <th><lang en="Format" fr="Format"/></th>
<td><select id="samlAttributeFormat" class="form-control"></select></td> <td><select id="samlAttributeFormat" class="form-control"></select></td>
</tr> </tr>
</table> </table>
<br /> <div class="buttons">
<button onclick="setlmsamlattribute(currentId);return false;" class="btn btn-info"> <button onclick="setlmsamlattribute(currentId);return false;" class="btn btn-info">
<i class="glyphicon glyphicon-ok"></i> <i class="glyphicon glyphicon-ok"></i>
<lang en="Apply" fr="Appliquer" /> <lang en="Apply" fr="Appliquer" />
</button> </button>
</div>
</div> </div>
<!-- samlAssertion --> <!-- samlAssertion -->
<div id="content_samlAssertion" class="hidden"> <div id="content_samlAssertion" class="hidden">
<table> <table class="table">
<tr> <tr>
<td><lang en="Default" fr="Par défaut"/></td> <th><lang en="Default" fr="Par défaut"/></th>
<td><input id="samlAssertionDefaultOn" type="radio" name="samlAssertionDefaultBoolean" value="1" /><label for="samlAssertionDefaultOn"><lang en="On" fr="Activé"/></label> <td><input id="samlAssertionDefaultOn" type="radio" name="samlAssertionDefaultBoolean" value="1" /><label for="samlAssertionDefaultOn"><lang en="On" fr="Activé"/></label>
<input id="samlAssertionDefaultOff" type="radio" name="samlAssertionDefaultBoolean" value="0" /><label for="samlAssertionDefaultOff"><lang en="Off" fr="Désactivé"/></label> <input id="samlAssertionDefaultOff" type="radio" name="samlAssertionDefaultBoolean" value="0" /><label for="samlAssertionDefaultOff"><lang en="Off" fr="Désactivé"/></label>
</td> </td>
</tr> </tr>
<tr class="hidden"> <tr class="hidden">
<td><lang en="Index" fr="Index"/></td> <th><lang en="Index" fr="Index"/></th>
<td><input type="text" size="50" id="samlAssertionIndex" class="form-control"/></td> <td><input type="text" size="50" id="samlAssertionIndex" class="form-control"/></td>
</tr> </tr>
<tr> <tr>
<td><lang en="Binding" fr="Binding"/></td> <th><lang en="Binding" fr="Binding"/></th>
<td><select disabled="disabled" id="samlAssertionBinding" class="form-control"></select></td> <td><select disabled="disabled" id="samlAssertionBinding" class="form-control"></select></td>
</tr> </tr>
<tr> <tr>
<td><lang en="Location" fr="URL"/></td> <th><lang en="Location" fr="URL"/></th>
<td><input type="text" size="50" id="samlAssertionLocation" class="form-control"/></td> <td><input type="text" size="50" id="samlAssertionLocation" class="form-control"/></td>
</tr> </tr>
</table> </table>
<br /> <div class="buttons">
<button onclick="setlmsamlassertion(currentId);return false;" class="btn btn-info"> <button onclick="setlmsamlassertion(currentId);return false;" class="btn btn-info">
<i class="glyphicon glyphicon-ok"></i> <i class="glyphicon glyphicon-ok"></i>
<lang en="Apply" fr="Appliquer" /> <lang en="Apply" fr="Appliquer" />
</button> </button>
</div>
</div> </div>
<!-- samlService --> <!-- samlService -->
<div id="content_samlService" class="hidden"> <div id="content_samlService" class="hidden">
<table> <table class="table">
<tr> <tr>
<td><lang en="Binding" fr="Binding"/></td> <th><lang en="Binding" fr="Binding"/></th>
<td><select disabled="disabled" id="samlServiceBinding" class="form-control"></select></td> <td><select disabled="disabled" id="samlServiceBinding" class="form-control"></select></td>
</tr> </tr>
<tr> <tr>
<td><lang en="Location" fr="URL"/></td> <th><lang en="Location" fr="URL"/></th>
<td><input type="text" size="50" id="samlServiceLocation" class="form-control"/></td> <td><input type="text" size="50" id="samlServiceLocation" class="form-control"/></td>
</tr> </tr>
<tr> <tr>
<td><lang en="Response Location" fr="URL de retour"/></td> <th><lang en="Response Location" fr="URL de retour"/></th>
<td><input type="text" size="50" id="samlServiceResponseLocation" class="form-control"/></td> <td><input type="text" size="50" id="samlServiceResponseLocation" class="form-control"/></td>
</tr> </tr>
</table> </table>
<br /> <div class="buttons">
<button onclick="setlmsamlservice(currentId);return false;" class="btn btn-info"> <button onclick="setlmsamlservice(currentId);return false;" class="btn btn-info">
<i class="glyphicon glyphicon-ok"></i> <i class="glyphicon glyphicon-ok"></i>
<lang en="Apply" fr="Appliquer" /> <lang en="Apply" fr="Appliquer" />
</button> </button>
</div>
</div> </div>
<!-- OpenID black/white lists --> <!-- OpenID black/white lists -->