-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(server): add manage-projects page
- Loading branch information
Showing
4 changed files
with
110 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<!doctype html> | ||
<html lang="en" data-bs-theme="light"> | ||
|
||
<head> | ||
{{> partials/head.hbs}} | ||
</head> | ||
|
||
<body> | ||
{{> partials/nav.hbs}} | ||
<div id="manage-container" class="container mx-auto"> | ||
<nav class="nav mt-3 mb-2"> | ||
<a class="nav-link" href="/settings/manage/options">Options</a> | ||
<a class="nav-link active" href="/settings/manage/projects">Projects</a> | ||
</nav> | ||
<div class="border-top py-3"> | ||
<div class="d-flex justify-content-between align-items-center"> | ||
<div class="left"> | ||
<h6 class="mb-0">Projects</h6> | ||
<p class="fs-6 text-body-tertiary mb-0">All projects.</p> | ||
</div> | ||
<div class="right"> | ||
<form action="/projects" method="get"> | ||
<div class="input-group input-group-sm"> | ||
<input type="text" class="form-control" name="search" placeholder="Search by domain or name" | ||
value="{{search}}" required> | ||
<button class="btn btn-outline-secondary" type="submit"><i | ||
class='bx bx-search-alt mx-2'></i></button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
<table class="table mt-3" id="project-list-table"> | ||
<thead> | ||
<tr> | ||
<th scope="col">Name</th> | ||
<th scope="col">Lang</th> | ||
<th scope="col">User</th> | ||
<th scope="col">URL</th> | ||
<th scope="col">Traffic</th> | ||
<th scope="col">Updated</th> | ||
<th scope="col">Ops</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<th scope="row"> | ||
<p class="name mb-1"> | ||
<a href="/projects/prize-gilt-19" class="text-body">prize-gilt-19</a> | ||
</p> | ||
<p class="meta mb-1 small text-body-tertiary fw-light">via <span | ||
class="text-uppercase">playground</span></p> | ||
</th> | ||
<td><span class="text-uppercase text-body-tertiary">js</span></td> | ||
<td><span class="text-body-tertiary">FuXiaoHei</span></td> | ||
<td> | ||
<a class="link" href="http://prize-gilt-19.127-0-0-1.nip.io" | ||
target="_blank">prize-gilt-19.127-0-0-1.nip.io</a> | ||
</td> | ||
<td></td> | ||
<td> | ||
<span class="text-body-tertiary" data-x-timeago="2024-03-27T06:17:44.382866Z">1 week | ||
ago</span> | ||
</td> | ||
<td> | ||
<a href="#">Redeploy</a> | ||
<a href="#">Forbidden</a> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
{{> partials/footer.hbs}} | ||
</body> | ||
|
||
</html> |