EUS/views/account/domain.ejs
2025-03-26 00:20:43 +00:00

64 lines
1.7 KiB
Text

<%- include("../base/header", { title: "Add Domain", session }) %>
<div class="row mb-3">
<div class="col">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"></li>
<li class="breadcrumb-item"><a href="/account/dashboard">Dashboard</a></li>
<li class="breadcrumb-item"><a href="/account/domains">Domains</a></li>
<li class="breadcrumb-item" aria-current="page">Add Domain</li>
</ol>
</nav>
</div>
</div>
<div class="row">
<div class="col">
<div class="card">
<div class="card-header">
<div class="row">
<div class="col text-start">Your Domains</div>
</div>
</div>
<div class="card-body">
<div class="row">
<div class="col">
<table class="table table-striped" style="word-break:break-word">
<thead>
<th>Domain Name</th>
<th>Has HTTPS</th>
<th>Active</th>
<th>&nbsp;</th>
</thead>
<tbody>
<% for (const domain of domains) { %>
<tr>
<td><%= domain.Domain %></td>
<td><%= domain.HasHttpsString %></td>
<td><%= domain.ActiveString %></td>
<td class="text-end">
<a class="btn btn-success"><i class="bi bi-pencil-square"></i> Edit</a>
<a class="btn btn-danger"><i class="bi bi-trash"></i> Delete</a>
</td>
</tr>
<% } %>
</tbody>
</table>
<div class="row">
<div class="col text-end">
<a class="btn btn-primary"><i class="bi bi-plus-lg"></i> Add Domain</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
</script>
<%- include("../base/footer") %>