feat: Add domain sorting and fixed a few ui bugs

This commit is contained in:
2024-01-25 18:53:04 +11:00
parent a5c0ffc4ba
commit 123e4eea98
3 changed files with 83 additions and 7 deletions

View File

@@ -137,9 +137,9 @@
<table class="table">
<thead>
<tr>
<th>Domain</th>
<th>Expires</th>
<th>Price Paid</th>
<th><a href="/?direction={{sort_domain_next}}">Domain{{sort_domain}}</a></th>
<th><a href="/?sort=expiry&direction={{sort_expiry_next}}">Expires{{sort_expiry}}</a></th>
<th><a href="/?sort=price&direction={{sort_price_next}}">Price Paid{{sort_price}}</a></th>
<th></th>
</tr>
</thead>

View File

@@ -71,7 +71,7 @@
<div class="container-fluid" style="margin-top: 50px;">
<div class="card">
<div class="card-body">
<h4 class="card-title">DNS</h4><div class="table-responsive">
<h4 class="card-title" style="display: inline-block;">DNS</h4><a class="btn btn-primary" role="button" style="position: absolute; right:16px;" href="/manage/{{domain}}/edit">Edit</a><div class="table-responsive">
<table class="table">
<thead>
<tr>