Better help display (#868)

This commit is contained in:
Xavier Guimard 2017-02-02 12:42:18 +00:00
parent 71b9b98cbb
commit 44c8aaae06
3 changed files with 27 additions and 9 deletions

View File

@ -32,7 +32,7 @@
"ADPwdExpireWarning": "Password expire warning", "ADPwdExpireWarning": "Password expire warning",
"ADPwdMaxAge": "Password max age", "ADPwdMaxAge": "Password max age",
"advancedParams": "Advanced parameters", "advancedParams": "Advanced parameters",
"allowedMarkups": "XML allowed markups:", "allowedMarkups": "Allowed markups:",
"apacheParams": "Apache parameters", "apacheParams": "Apache parameters",
"apacheAuthnLevel": "Authentication level", "apacheAuthnLevel": "Authentication level",
"application": "Application", "application": "Application",

View File

@ -32,7 +32,7 @@
"ADPwdExpireWarning": "Avertissement avant expiration du mot de passe", "ADPwdExpireWarning": "Avertissement avant expiration du mot de passe",
"ADPwdMaxAge": "Âge maximal du mot de passe", "ADPwdMaxAge": "Âge maximal du mot de passe",
"advancedParams": "Paramètres avancés", "advancedParams": "Paramètres avancés",
"allowedMarkups": "Balises XML autorisées :", "allowedMarkups": "Balises autorisées :",
"apacheParams": "Paramètres Apache", "apacheParams": "Paramètres Apache",
"apacheAuthnLevel": "Niveau d'authentification", "apacheAuthnLevel": "Niveau d'authentification",
"application": "Application", "application": "Application",

View File

@ -111,16 +111,34 @@
<tr> <tr>
<th><span trspan="XMLcontent" /></th> <th><span trspan="XMLcontent" /></th>
<td> <td>
<textarea rows=5 class="form-control" ng-model="form.xml"></textarea>
<div class="alert alert-info"> <div class="alert alert-info">
<p><span trspan="allowedMarkups" /></p> <p><span trspan="allowedMarkups" /></p>
<ul> <table border="0">
<li>&lt;title&gt;...&lt;/title&gt;</li> <thead>
<li>&lt;subtitle&gt;...&lt;/subtitle&gt;</li> <tr><th>JSON</th><th>XML</th></tr>
<li>&lt;text&gt;...&lt;/text&gt;</li> </thead>
<li>&lt;check&gt;...&lt;/check&gt;</li> <tbody><tr>
</ul> <td>
<pre>
{
"title": "...",
"subtitle": "...",
"text": "...",
"check": [ "...", "..." ]
}
</pre>
</td>
<td>
<ul>
<li>&lt;title&gt;...&lt;/title&gt;</li>
<li>&lt;subtitle&gt;...&lt;/subtitle&gt;</li>
<li>&lt;text&gt;...&lt;/text&gt;</li>
<li>&lt;check&gt;...&lt;/check&gt;</li>
</ul>
</td>
</tr></tbody></table>
</div> </div>
<textarea rows=5 class="form-control" ng-model="form.xml"></textarea>
</td> </td>
</tr> </tr>
</table> </table>