Small UI improvements

This commit is contained in:
Pinga 2025-03-16 12:04:07 +02:00
parent 4b7532fef6
commit fa17f258fb
4 changed files with 20 additions and 7 deletions

View file

@ -26,8 +26,14 @@
<div class="col-12"> <div class="col-12">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div class="alert alert-important alert-info" role="alert"> <div class="alert alert-info" role="alert">
{{ __('The host you\'re trying to update') }}, <strong>{{ host.name }}</strong>, {{ __('is external to the registry. Consequently, it does not store any IP addresses within our system, and therefore, does not require any updates from your end. This means there are no associated IP addresses under our management that need your attention.') }} <div class="alert-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon">
<path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" /><path d="M12 9h.01" /><path d="M11 12h1v4h1" />
</svg>
</div>
<h4 class="alert-title">{{ __('The host you\'re trying to update') }}, <strong>{{ host.name }}</strong>, {{ __('is external to the registry. Consequently, it does not store any IP addresses within our system, and therefore, does not require any updates from your end. This means there are no associated IP addresses under our management that need your attention.') }}</h4>
</div> </div>
</div> </div>
</div> </div>

View file

@ -6,7 +6,7 @@
<meta name="description" content="Namingo Registry Panel - a powerful solution for managing domains, registrars, and registry operations seamlessly."> <meta name="description" content="Namingo Registry Panel - a powerful solution for managing domains, registrars, and registry operations seamlessly.">
<meta name="author" content="Namingo Team"> <meta name="author" content="Namingo Team">
<meta name="keywords" content="Namingo, Registry Panel, Domain Management, Registrar Tools, Namingo Software, ICANN, Domain Registrar"> <meta name="keywords" content="Namingo, Registry Panel, Domain Management, Registrar Tools, Namingo Software, ICANN, Domain Registrar">
<meta name="theme-color" content="#A62A6C"> <meta name="theme-color" content="#066fd1">
<title>Registry Panel</title> <title>Registry Panel</title>
{% include 'partials/css.twig' %} {% include 'partials/css.twig' %}
<style> <style>
@ -126,10 +126,15 @@
</div> </div>
</div> </div>
<div class="alert alert-secondary text-start mt-4" role="alert"> <div class="alert alert-info alert-dismissible mt-4" role="alert">
To customize this page, copy <code>index.twig</code> from <div class="alert-icon">
<code>/var/www/cp/resources/views</code> to <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
<code>index.custom.twig</code> and edit the file as required. stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon">
<path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" /><path d="M12 9h.01" /><path d="M11 12h1v4h1" />
</svg>
</div>
<h4 class="alert-title">To customize this page, copy <code>index.twig</code> from <code>/var/www/cp/resources/views</code> to <code>index.custom.twig</code> and edit the file as required.</h4>
<a class="btn-close" data-bs-dismiss="alert" aria-label="close"></a>
</div> </div>
</div> </div>
</main> </main>

View file

@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/> <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>{% block title %}{% endblock %} | Namingo</title> <title>{% block title %}{% endblock %} | Namingo</title>
<meta name="theme-color" content="#066fd1">
<!-- CSS files --> <!-- CSS files -->
{% if route_is('domains') or route_is('applications') or route_is('contacts') or route_is('hosts') or route_is('epphistory') or is_current_url('registrars') or route_is('transactions') or route_is('overview') or route_is('reports') or route_is('transfers') or route_is('users') or is_current_url('ticketview') or route_is('poll') or route_is('log') or route_is('invoices') or route_is('registry/tlds') or route_is('profile') %}{% include 'partials/css-tables.twig' %}{% else %}{% include 'partials/css.twig' %}{% endif %} {% if route_is('domains') or route_is('applications') or route_is('contacts') or route_is('hosts') or route_is('epphistory') or is_current_url('registrars') or route_is('transactions') or route_is('overview') or route_is('reports') or route_is('transfers') or route_is('users') or is_current_url('ticketview') or route_is('poll') or route_is('log') or route_is('invoices') or route_is('registry/tlds') or route_is('profile') %}{% include 'partials/css-tables.twig' %}{% else %}{% include 'partials/css.twig' %}{% endif %}
</head> </head>

View file

@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/> <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>{% block title %}{% endblock %} | Namingo</title> <title>{% block title %}{% endblock %} | Namingo</title>
<meta name="theme-color" content="#066fd1">
<!-- CSS files --> <!-- CSS files -->
{% include 'partials/css.twig' %} {% include 'partials/css.twig' %}
<link href="/assets/css/sweetalert2.min.css" rel="stylesheet"> <link href="/assets/css/sweetalert2.min.css" rel="stylesheet">