From 3972a5016db7afa751907a5a327b1eb7439cb5b3 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 22 Jun 2024 15:40:41 +0200 Subject: [PATCH] Apply the code formatter to the test script --- wcfsetup/test.php | 166 +++++++++++++++++++++++++--------------------- 1 file changed, 90 insertions(+), 76 deletions(-) diff --git a/wcfsetup/test.php b/wcfsetup/test.php index a9277de7d8..919afb7bf7 100644 --- a/wcfsetup/test.php +++ b/wcfsetup/test.php @@ -225,8 +225,10 @@ function checkOpcache() return true; } -?> +?> + + @@ -238,7 +240,7 @@ function checkOpcache() background-color: #2D2D2D; box-sizing: border-box; color: #c0c0c0; - font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px; line-height: 1.5; } @@ -272,7 +274,7 @@ function checkOpcache() margin-bottom: 15px; } - header > img { + header>img { flex: 0 auto; } @@ -283,11 +285,11 @@ function checkOpcache() padding: 0; } - .language-switcher > li { + .language-switcher>li { display: inline; } - .language-switcher > li + li { + .language-switcher>li+li { border-left: 1px solid #444444; margin-left: 10px; padding-left: 10px; @@ -313,12 +315,13 @@ function checkOpcache() text-align: right; } - footer > a { + footer>a { color: inherit; text-decoration: none; } - h2, h3 { + h2, + h3 { margin: 0 0 10px 0; font-weight: 300; padding: 0; @@ -346,6 +349,7 @@ function checkOpcache() margin-bottom: 10px; padding: 0 20px; } + ul.system-requirements li::before { font-family: Georgia, "Times New Roman", serif; margin-right: 10px; @@ -354,18 +358,23 @@ function checkOpcache() li.success { color: #00c291; } + li.success::before { content: '✔'; } + li.failure { color: #f08f84; } + li.failure::before { content: '✘'; } + li.info { color: #63b0e3; } + li.info::before { content: '✔'; } @@ -376,6 +385,7 @@ function checkOpcache() color: #fff; padding: 10px 20px; } + p.success::before, p.failure::before { font-family: Georgia, "Times New Roman", serif; @@ -385,6 +395,7 @@ function checkOpcache() p.success { background-color: #008563; } + p.success::before { content: '✔'; } @@ -392,6 +403,7 @@ function checkOpcache() p.failure { background-color: #de2f1b; } + p.failure::before { content: '✘'; } @@ -415,86 +427,88 @@ function checkOpcache() } + -
-
- WoltLab Suite - -
- -
-

WoltLab Suite System Requirements Test

- -

- -
    - -
  • - - -
  • - -
  • - +
    +
    + WoltLab Suite + +
    + +
    +

    WoltLab Suite System Requirements Test

    + +

    + +
      + +
    • + + +
    • + +
    • + + + + +
    • + +
    • + + - - -
    • + +
    • + + +
    • + +
    • + -
    • +
    • - - -
    • - - -
    • + +
    • -
    • +
    • - -
    • - - -
    • + +
    • + -
    • +
    • +
    - -
  • - +

    + +
      +
    • +
    + +

    + + +

    -
  • +

    -
- -

- -
    -
  • -
- -

- - -

- -

- - - -

- -
- -
+ + +

+ + + + - + + \ No newline at end of file -- 2.20.1