change admin menu url to smtp-server
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<div class="flex-grow-1 overflow-auto">
|
||||
<ul class="nav nav-pills flex-column p-3">
|
||||
<li class="nav-item mb-2">
|
||||
<a href="/pymta-manager/" class="nav-link text-white {{if eq (dget . "active") "dashboard"}}active{{end}}">
|
||||
<a href="/smtp-server/" class="nav-link text-white {{if eq (dget . "active") "dashboard"}}active{{end}}">
|
||||
<i class="bi bi-speedometer2 me-2"></i>
|
||||
Dashboard
|
||||
</a>
|
||||
@@ -31,7 +31,7 @@
|
||||
</li>
|
||||
|
||||
<li class="nav-item mb-1">
|
||||
<a href="/pymta-manager/domains" class="nav-link text-white {{if eq (dget . "active") "domains"}}active{{end}}">
|
||||
<a href="/smtp-server/domains" class="nav-link text-white {{if eq (dget . "active") "domains"}}active{{end}}">
|
||||
<i class="bi bi-list-ul me-2"></i>
|
||||
Domains
|
||||
<span class="badge bg-secondary ms-auto">{{dget . "domain_count"}}</span>
|
||||
@@ -39,7 +39,7 @@
|
||||
</li>
|
||||
|
||||
<li class="nav-item mb-1">
|
||||
<a href="/pymta-manager/senders" class="nav-link text-white {{if eq (dget . "active") "senders"}}active{{end}}">
|
||||
<a href="/smtp-server/senders" class="nav-link text-white {{if eq (dget . "active") "senders"}}active{{end}}">
|
||||
<i class="bi bi-people me-2"></i>
|
||||
Allowed Senders
|
||||
<span class="badge bg-secondary ms-auto">{{dget . "sender_count"}}</span>
|
||||
@@ -47,7 +47,7 @@
|
||||
</li>
|
||||
|
||||
<li class="nav-item mb-1">
|
||||
<a href="/pymta-manager/mailboxes" class="nav-link text-white {{if eq (dget . "active") "mailboxes"}}active{{end}}">
|
||||
<a href="/smtp-server/mailboxes" class="nav-link text-white {{if eq (dget . "active") "mailboxes"}}active{{end}}">
|
||||
<i class="bi bi-inbox me-2"></i>
|
||||
Mailboxes
|
||||
<span class="badge bg-secondary ms-auto">{{dget . "mailbox_count"}}</span>
|
||||
@@ -55,7 +55,7 @@
|
||||
</li>
|
||||
|
||||
<li class="nav-item mb-1">
|
||||
<a href="/pymta-manager/ips" class="nav-link text-white {{if eq (dget . "active") "ips"}}active{{end}}">
|
||||
<a href="/smtp-server/ips" class="nav-link text-white {{if eq (dget . "active") "ips"}}active{{end}}">
|
||||
<i class="bi bi-router me-2"></i>
|
||||
Whitelisted IPs
|
||||
<span class="badge bg-secondary ms-auto">{{dget . "ip_count"}}</span>
|
||||
@@ -63,7 +63,7 @@
|
||||
</li>
|
||||
|
||||
<li class="nav-item mb-1">
|
||||
<a href="/pymta-manager/dkim" class="nav-link text-white {{if eq (dget . "active") "dkim"}}active{{end}}">
|
||||
<a href="/smtp-server/dkim" class="nav-link text-white {{if eq (dget . "active") "dkim"}}active{{end}}">
|
||||
<i class="bi bi-shield-check me-2"></i>
|
||||
DKIM Keys
|
||||
<span class="badge bg-secondary ms-auto">{{dget . "dkim_count"}}</span>
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
{{if dget . "is_global_admin"}}
|
||||
<li class="nav-item mb-1">
|
||||
<a href="/pymta-manager/letsencrypt" class="nav-link text-white {{if eq (dget . "active") "letsencrypt"}}active{{end}}">
|
||||
<a href="/smtp-server/letsencrypt" class="nav-link text-white {{if eq (dget . "active") "letsencrypt"}}active{{end}}">
|
||||
<i class="bi bi-patch-check me-2"></i>
|
||||
Let's Encrypt
|
||||
</a>
|
||||
@@ -80,7 +80,7 @@
|
||||
{{end}}
|
||||
|
||||
<li class="nav-item mb-1">
|
||||
<a href="/pymta-manager/logs" class="nav-link text-white {{if eq (dget . "active") "logs"}}active{{end}}">
|
||||
<a href="/smtp-server/logs" class="nav-link text-white {{if eq (dget . "active") "logs"}}active{{end}}">
|
||||
<i class="bi bi-journal-text me-2"></i>
|
||||
Emails Log
|
||||
</a>
|
||||
@@ -94,7 +94,7 @@
|
||||
</h6>
|
||||
</li>
|
||||
<li class="nav-item mb-1">
|
||||
<a href="/pymta-manager/blacklist" class="nav-link text-white {{if eq (dget . "active") "blacklist"}}active{{end}}">
|
||||
<a href="/smtp-server/blacklist" class="nav-link text-white {{if eq (dget . "active") "blacklist"}}active{{end}}">
|
||||
<i class="bi bi-shield-x me-2"></i>
|
||||
Blacklist
|
||||
<span class="badge bg-secondary ms-auto">{{dget . "blacklist_count"}}</span>
|
||||
@@ -111,7 +111,7 @@
|
||||
|
||||
{{if dget . "is_global_admin"}}
|
||||
<li class="nav-item mb-1">
|
||||
<a href="/pymta-manager/settings" class="nav-link text-white {{if eq (dget . "active") "settings"}}active{{end}}">
|
||||
<a href="/smtp-server/settings" class="nav-link text-white {{if eq (dget . "active") "settings"}}active{{end}}">
|
||||
<i class="bi bi-sliders me-2"></i>
|
||||
Server Settings
|
||||
</a>
|
||||
@@ -119,14 +119,14 @@
|
||||
{{end}}
|
||||
|
||||
<li class="nav-item mb-1">
|
||||
<a href="/pymta-manager/admins" class="nav-link text-white {{if eq (dget . "active") "admins"}}active{{end}}">
|
||||
<a href="/smtp-server/admins" class="nav-link text-white {{if eq (dget . "active") "admins"}}active{{end}}">
|
||||
<i class="bi bi-people-fill me-2"></i>
|
||||
Admins
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item mb-1">
|
||||
<a href="/pymta-manager/account" class="nav-link text-white {{if eq (dget . "active") "account"}}active{{end}}">
|
||||
<a href="/smtp-server/account" class="nav-link text-white {{if eq (dget . "active") "account"}}active{{end}}">
|
||||
<i class="bi bi-person-circle me-2"></i>
|
||||
Account
|
||||
</a>
|
||||
@@ -141,7 +141,7 @@
|
||||
</li>
|
||||
|
||||
<li class="nav-item mb-1">
|
||||
<form method="post" action="/pymta-manager/logout">
|
||||
<form method="post" action="/smtp-server/logout">
|
||||
<button type="submit" class="nav-link text-white w-100 text-start border-0 bg-transparent">
|
||||
<i class="bi bi-box-arrow-right me-2"></i>
|
||||
Sign out
|
||||
|
||||
Reference in New Issue
Block a user