added uikit markup for account winix function
This commit is contained in:
@@ -1,20 +1,47 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>Account</h1>
|
||||
<h1>{account_header}</h1>
|
||||
|
||||
[if user_logged]
|
||||
<p>You are logged as: [user_name]<br>
|
||||
[if user_super_user]
|
||||
You are the root
|
||||
[end]
|
||||
[# !! IMPROVE ME add info about groups, may other parameters like time zone, language?]
|
||||
</p>
|
||||
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-justify">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="uk-width-1-4">{account_logged_as}</td>
|
||||
<td>[user_name]</td>
|
||||
</tr>
|
||||
|
||||
[if user_super_user]
|
||||
<tr>
|
||||
<td>{account_admin}</td>
|
||||
<td>{account_admin_yes}</td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
[if false]
|
||||
[# improve me]
|
||||
<tr>
|
||||
<td>{account_groups}</td>
|
||||
<td>html, www, foo</td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
<tr>
|
||||
<td>{account_timezone}</td>
|
||||
<td>[user_time_zone_name]</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{account_language}</td>
|
||||
<td>[user_locale_name]</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
[else]
|
||||
<p>You are not logged in.</p>
|
||||
<p>{account_not_logged}</p>
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user