From 471a14613f554aa7765974a3e58c9833b5273f2f Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Tue, 26 Aug 2014 22:54:42 +0200 Subject: Remove command in label to use kbd (not a proper use of label). --- css/style.css | 15 +++++++-------- routers/router.php | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/css/style.css b/css/style.css index 1bae099..52cf55a 100644 --- a/css/style.css +++ b/css/style.css @@ -43,14 +43,6 @@ body { margin-left: auto; margin-right: auto; } -.label { - font-size: 1.3em; - display: block; - width: 50%; - margin-bottom: 1em; - margin-left: auto; - margin-right: auto; -} .reset { width: 25%; margin-left: auto; @@ -65,6 +57,13 @@ body { #description-help, #parameter-help { font-size: 1.3em; } +kbd { + font-size: 1.3em; + display: block; + width: 70%; + margin-left: auto; + margin-right: auto; +} pre { color: #FFFFFF; background-color: #000000; diff --git a/routers/router.php b/routers/router.php index 03336ac..74407c2 100644 --- a/routers/router.php +++ b/routers/router.php @@ -54,7 +54,7 @@ abstract class Router { $data = ''; foreach ($commands as $selected) { - $data .= ''.$selected.''; + $data .= '

Command: '.$selected.'

'; $data .= '
'.$auth->send_command($selected).
           '
'; log_to_file('[client: '.$this->requester.'] '.$this->config['host']. -- cgit v1.2.3