style admin landing page with shell and card nav
wrap the admin page in the shared header (with the logout button) and present the texts entry-point as a card-link in a list-cards list. the #texts and #logout id hooks used by cypress are preserved.
This commit is contained in:
parent
59ec2e19e8
commit
e51378b8c7
1 changed files with 17 additions and 2 deletions
|
|
@ -7,8 +7,23 @@
|
|||
<link rel="stylesheet" href="/css/app.css">
|
||||
</head>
|
||||
<body>
|
||||
<button id="logout">Logout</button>
|
||||
<a href="/admin/texts" id="texts">Texts</a>
|
||||
<header class="site-header">
|
||||
<div class="site-header-inner">
|
||||
<h1>Admin</h1>
|
||||
<div class="cluster">
|
||||
<button id="logout" class="btn btn-danger">Logout</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<main class="container stack">
|
||||
<ul class="list-cards">
|
||||
<li class="card">
|
||||
<a id="texts" class="card-link" href="/admin/texts">
|
||||
Texts
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</main>
|
||||
<script src="/js/auth.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue