mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
plugins: style sweep
This commit is contained in:
parent
0faec69e0e
commit
58d06c7cc4
2 changed files with 7 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue