mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
plugins: style sweep
This commit is contained in:
@@ -5750,7 +5750,7 @@ body {
|
||||
height: auto;
|
||||
padding: 7px 14px 5px 14px;
|
||||
-webkit-box-shadow: 0 3px 4px rgb(23, 23, 23);
|
||||
box-shadow: 0 3px 4px rgb(23, 23, 23);
|
||||
box-shadow: 0 3px 4px rgb(23, 23, 23);
|
||||
border-radius: 0.5em 0.5em 0.5em 0.5em; }
|
||||
.page-content-head, .content-box-head {
|
||||
padding-bottom: 2px;
|
||||
|
||||
@@ -108,7 +108,8 @@ class Caddy extends BaseModel
|
||||
}
|
||||
|
||||
// 3. Get the current OPNsense WebGUI ports and check for conflicts with Caddy
|
||||
private function getWebGuiPorts() {
|
||||
private function getWebGuiPorts()
|
||||
{
|
||||
$webgui = Config::getInstance()->object()->system->webgui ?? null;
|
||||
$webGuiPorts = [];
|
||||
|
||||
@@ -126,7 +127,8 @@ class Caddy extends BaseModel
|
||||
return $webGuiPorts;
|
||||
}
|
||||
|
||||
private function checkWebGuiSettings($messages) {
|
||||
private function checkWebGuiSettings($messages)
|
||||
{
|
||||
$overlap = array_intersect($this->getWebGuiPorts(), ['80', '443']);
|
||||
$tlsAutoHttpsSetting = (string)$this->general->TlsAutoHttps;
|
||||
|
||||
@@ -140,7 +142,8 @@ class Caddy extends BaseModel
|
||||
}
|
||||
|
||||
// 4. Check for ACME Email being required when Auto HTTPS on
|
||||
private function checkAcmeEmailAutoHttps($messages) {
|
||||
private function checkAcmeEmailAutoHttps($messages)
|
||||
{
|
||||
$tlsAutoHttpsSetting = (string)$this->general->TlsAutoHttps;
|
||||
$tlsEmail = (string)$this->general->TlsEmail;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user