Move rendering into private templates

Add an explicit template renderer with HTML views and partials for the app, bootstrap, package, and catalog pages. Move shared reporting setup into config/reporting.php and relocate stylesheet assets under css/.
This commit is contained in:
www-data
2026-05-26 12:50:26 +02:00
parent 2f2e8869d6
commit 475765e31f
55 changed files with 2328 additions and 1175 deletions
+27
View File
@@ -0,0 +1,27 @@
<tr>
<td colspan="7">
<form method="post" action="/users?lang={{language_url}}" class="user-row-form">
<input type="hidden" name="action" value="update_user">
<input type="hidden" name="user_id" value="{{user_id}}">
<label>{{full_name_label}}<br><input type="text" name="full_name" value="{{full_name}}" required></label>
<label>{{email_label}}<br><input type="email" name="email" value="{{email}}" required></label>
<label><input type="checkbox" name="is_admin" value="1"{{{is_admin_checked}}}> {{admin_label}}</label>
<label><input type="checkbox" name="is_enabled" value="1"{{{is_enabled_checked}}}> {{enabled_label}}</label>
<span>{{created_at}}</span>
<span>{{last_login_at}}</span>
<button type="submit">{{update_user_label}}</button>
</form>
<div class="user-row-actions">
<form method="post" action="/users?lang={{language_url}}">
<input type="hidden" name="action" value="set_password">
<input type="hidden" name="email" value="{{email}}">
<label>{{new_password_label}}<br><input type="password" name="password" autocomplete="new-password"></label>
<button type="submit">{{change_password_label}}</button>
</form>
{{{delete_html}}}
</div>
</td>
</tr>