Commit 44c8aaae authored by Xavier Guimard's avatar Xavier Guimard

Better help display (#868)

parent 71b9b98c
......@@ -32,7 +32,7 @@
"ADPwdExpireWarning": "Password expire warning",
"ADPwdMaxAge": "Password max age",
"advancedParams": "Advanced parameters",
"allowedMarkups": "XML allowed markups:",
"allowedMarkups": "Allowed markups:",
"apacheParams": "Apache parameters",
"apacheAuthnLevel": "Authentication level",
"application": "Application",
......
......@@ -32,7 +32,7 @@
"ADPwdExpireWarning": "Avertissement avant expiration du mot de passe",
"ADPwdMaxAge": "Âge maximal du mot de passe",
"advancedParams": "Paramètres avancés",
"allowedMarkups": "Balises XML autorisées :",
"allowedMarkups": "Balises autorisées :",
"apacheParams": "Paramètres Apache",
"apacheAuthnLevel": "Niveau d'authentification",
"application": "Application",
......
......@@ -111,16 +111,34 @@
<tr>
<th><span trspan="XMLcontent" /></th>
<td>
<textarea rows=5 class="form-control" ng-model="form.xml"></textarea>
<div class="alert alert-info">
<p><span trspan="allowedMarkups" /></p>
<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>
<table border="0">
<thead>
<tr><th>JSON</th><th>XML</th></tr>
</thead>
<tbody><tr>
<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>
<textarea rows=5 class="form-control" ng-model="form.xml"></textarea>
</td>
</tr>
</table>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment