From 9259d6cd6be90481a2e91fc91202f2ac6b1df0f9 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 31 Aug 2022 14:28:20 -0700 Subject: [PATCH] add isset check for @vhosts_array --- panel/ui/vhost/vhosts.html | 57 +++++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/panel/ui/vhost/vhosts.html b/panel/ui/vhost/vhosts.html index 1fe5e7d..5fff2db 100644 --- a/panel/ui/vhost/vhosts.html +++ b/panel/ui/vhost/vhosts.html @@ -1,31 +1,38 @@ - - - - - - - - - - + + +
WebsiteUsernameConfigStatus
- - - - + + + + - + -
{{ @vhost_domain.virtualhost }}{{ @vhost_domain.username }}{{ @vhost_domain.config }}{{ @vhost_domain.status }}WebsiteUsernameConfigStatus
-

-Select a Website name above for more details and options.
-Username is the system username that owns the website files.
-Config is the Apache server Macro Virtualhost config currently set for the site.
-Status can be used to disable a site without deleting any files or other configs.
-

+ + {{ @vhost_domain.virtualhost }} + {{ @vhost_domain.username }} + {{ @vhost_domain.config }} + {{ @vhost_domain.status }} + + + + + +

+ Select a Website name above for more details and options.
+ Username is the system username that owns the website files.
+ Config is the Apache server Macro Virtualhost config currently set for the site.
+ Status can be used to disable a site without deleting any files or other configs.
+

+ + +

There are no website domains on this server.

+
+

Add new Website form @@ -34,14 +41,14 @@ Select a Website name above for more details and options.


-

Add New Website

+

Add New Website

Only the domain name is required - + - + Check to jail user: