@@ -285,11 +285,11 @@ App.Templates.html = {
285285 </div>\
286286 <div class="form-row cc">\
287287 <label for="#" class="field-label">username:</label>\
288- <input type="text" class="text-field" value="~!:LOGIN_NAME~!" name="LOGIN_NAME">\
288+ <input type="text" class="text-field rule-abc rule-required " value="~!:LOGIN_NAME~!" name="LOGIN_NAME">\
289289 </div>\
290290 <div class="form-row pwd-box cc">\
291291 <label for="#" class="field-label">password:</label>\
292- <input type="text" class="text-field password" name="PASSWORD" value="~!:PASSWORD~!">\
292+ <input type="text" class="text-field password rule-required " name="PASSWORD" value="~!:PASSWORD~!">\
293293 <span class="generate-pwd do_action_generate_pass">Generate</span>\
294294 </div>\
295295 <div class="form-row cc">\
@@ -298,7 +298,7 @@ App.Templates.html = {
298298 ~!:PACKAGE_OPTIONS~!\
299299 </select>\
300300 </div>\
301- <div class="form-row cc">\
301+ <div class="form-row cc hidden ">\
302302 <label for="#" class="field-label">shell:</label>\
303303 <select class="not-styled" name="SHELL">\
304304 ~!:SHELL_OPTIONS~!\
@@ -312,13 +312,21 @@ App.Templates.html = {
312312 </div>\
313313 <div class="form-row cc">\
314314 <label for="#" class="field-label">contact email:</label>\
315- <input type="text" name="CONTACT" class="text-field" value="~!:CONTACT~!">\
315+ <input type="text" name="CONTACT" class="text-field rule-email rule-required " value="~!:CONTACT~!">\
316316 </div>\
317317 <div class="form-row cc">\
318318 <label for="#" class="field-label">reports:</label>\
319319 <input type="checkbox" name="REPORTS_ENABLED" class="not-styled" value="~!:REPORTS_ENABLED~!">\
320320 </div>\
321+ <div class="form-row cc">\
322+ <label for="#" class="field-label">Firstname:</label>\
323+ <input type="text" name="FNAME" class="not-styled rule-abc rule-required" value="~!:FNAME~!">\
324+ </div>\
321325 <div class="form-row cc">\
326+ <label for="#" class="field-label">Lastname:</label>\
327+ <input type="text" name="LNAME" class="not-styled rule-abc rule-required" value="~!:LNAME~!">\
328+ </div>\
329+ <div class="form-row cc hidden">\
322330 <label for="#" class="field-label">ns1:</label>\
323331 <input type="text" name="NS" class="text-field" value="~!:NS~!">\
324332 </div>\
@@ -357,6 +365,7 @@ App.Templates.html = {
357365 <div class="username-box">\
358366 <span class="user">\
359367 <span class="nickname do_action_edit">~!:LOGIN_NAME~!</span>\
368+ <span class="role">~!:FNAME~! ~!:LNAME~!</span>\
360369 <span class="role">(~!:ROLE~!)</span>\
361370 </span>\
362371 <span class="prop-box template-box">\
0 commit comments