From: Christian Weiske Date: Wed, 29 Jun 2016 19:44:06 +0000 (+0200) Subject: Use HTML5 doctype X-Git-Tag: v0.3.0~2 X-Git-Url: https://git.cweiske.de/phancap.git/commitdiff_plain/5d72131d67cff554de79af8d8ccd07a26148ec9d Use HTML5 doctype --- diff --git a/www/css/phancap.css b/www/css/phancap.css index 049f648..8f0f7ee 100644 --- a/www/css/phancap.css +++ b/www/css/phancap.css @@ -9,3 +9,6 @@ h2 { text-align: center; clear: both; } +var { + font-family: monospace; +} diff --git a/www/index.php b/www/index.php index 0d90824..7ed9e21 100644 --- a/www/index.php +++ b/www/index.php @@ -30,9 +30,8 @@ try { } catch (\Exception $e) { } ?> - - - + + phancap @@ -68,9 +67,9 @@ try { access !== true) { ?>
API requires authentication
-
+
- +
@@ -116,16 +115,16 @@ try { options as $name => $option) { echo '' - . '' . $name . '' + . '' . $name . '' . '' . htmlspecialchars($option['title']) . '' . '' . ( is_array($option['type']) - ? ('One of: ' . implode(', ', $option['type']) . '') + ? ('One of: ' . implode(', ', $option['type']) . '') : str_replace('skip', ' ', $option['type']) ) . '' - . ' ' . $option['default'] . '' + . ' ' . $option['default'] . '' . ''; } ?> @@ -136,10 +135,10 @@ foreach ($options->options as $name => $option) { Ages can be given as ISO 8601 duration specification, for example:

-
P1Y
1 year
-
P2W
2 weeks
-
P1D
1 day
-
PT4H
4 hours
+
P1Y
1 year
+
P2W
2 weeks
+
P1D
1 day
+
PT4H
4 hours
diff --git a/www/setup.php b/www/setup.php index a49a7ae..10f23fc 100644 --- a/www/setup.php +++ b/www/setup.php @@ -83,9 +83,8 @@ foreach ($adapter as $classpart) { } $out = << - - + + phancap setup check