Add templating
This commit is contained in:
28
web/templates/admin.html
Normal file
28
web/templates/admin.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{{template "layout" .}}
|
||||
|
||||
{{define "title"}}Admin Panel · Luxtools{{end}}
|
||||
|
||||
{{define "content"}}
|
||||
<fieldset class="tui-fieldset" style="padding: 2rem;">
|
||||
<legend>Admin Panel</legend>
|
||||
<p class="tui-text-white">
|
||||
This is an example admin page with a different menu bar that includes admin-specific options.
|
||||
</p>
|
||||
|
||||
<section style="margin-top: 1.5rem;">
|
||||
<h2 class="tui-text-yellow">System Status</h2>
|
||||
<div class="tui-panel">
|
||||
<p><strong>Server:</strong> Running</p>
|
||||
<p><strong>Users:</strong> 42 active</p>
|
||||
<p><strong>Uptime:</strong> 7 days, 3 hours</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section style="margin-top: 1.5rem;">
|
||||
<h2 class="tui-text-yellow">Quick Actions</h2>
|
||||
<button class="tui-button">View Logs</button>
|
||||
<button class="tui-button">Manage Users</button>
|
||||
<button class="tui-button">Settings</button>
|
||||
</section>
|
||||
</fieldset>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user