auth
This commit is contained in:
parent
937827d08b
commit
643203b8a5
9 changed files with 822 additions and 44 deletions
|
|
@ -14,7 +14,23 @@
|
|||
</head>
|
||||
|
||||
<body class="dark-theme">
|
||||
<div id="app">
|
||||
<div id="login-overlay" class="login-overlay glass hidden">
|
||||
<div class="login-box">
|
||||
<span class="logo-icon">▲</span>
|
||||
<div class="login-title">Agency</div>
|
||||
<p>Secure Agent Dashboard</p>
|
||||
<button id="login-btn" class="btn btn-primary">Login with Authentik</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="callback-overlay" class="login-overlay glass hidden">
|
||||
<div class="login-box">
|
||||
<div class="loader"></div>
|
||||
<p>Authenticating with Authentik...</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="app" class="hidden">
|
||||
<aside class="sidebar glass">
|
||||
<header class="sidebar-header">
|
||||
<a href="#" id="logo-link" class="logo">
|
||||
|
|
@ -31,6 +47,11 @@
|
|||
<!-- Tasks will be injected here -->
|
||||
</ul>
|
||||
</nav>
|
||||
<footer class="sidebar-footer">
|
||||
<button id="logout-btn" class="btn btn-ghost btn-sm logout-btn">
|
||||
Logout
|
||||
</button>
|
||||
</footer>
|
||||
</aside>
|
||||
|
||||
<main class="main-content">
|
||||
|
|
@ -127,7 +148,7 @@
|
|||
<div class="form-group">
|
||||
<label>Execution Schedule</label>
|
||||
<div id="schedule-presets" class="preset-group">
|
||||
<button type="button" class="btn btn-preset active" data-cron="">One-time</button>
|
||||
<button type="button" class="btn btn-preset active" data-cron="">Manual</button>
|
||||
<button type="button" class="btn btn-preset" data-cron="0 */5 * * * *">Every 5m</button>
|
||||
<button type="button" class="btn btn-preset" data-cron="0 0 * * * *">Hourly</button>
|
||||
<button type="button" class="btn btn-preset" data-cron="0 0 0 * * *">Daily</button>
|
||||
|
|
@ -147,8 +168,7 @@
|
|||
|
||||
<div class="modal-actions">
|
||||
<button type="button" class="btn btn-ghost" id="cancel-task">Cancel</button>
|
||||
<button type="submit" class="btn btn-primary" id="submit-task-btn">Execute
|
||||
Directive</button>
|
||||
<button type="submit" class="btn btn-primary" id="submit-task-btn">Save Task</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue