EUS/views/account/domains.ejs

58 lines
1.4 KiB
Text

<%- include("../base/header", { title: "Your Domains", 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" aria-current="page">Domains</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">
<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>
<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>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
</script>
<%- include("../base/footer") %>