diff options
author | Guillaume Mazoyer <respawneral@gmail.com> | 2014-08-26 22:54:42 +0200 |
---|---|---|
committer | Guillaume Mazoyer <respawneral@gmail.com> | 2014-08-26 22:54:42 +0200 |
commit | 471a14613f554aa7765974a3e58c9833b5273f2f (patch) | |
tree | 047f336a901327a14f2cc8678b7e0ce7f5fd17b9 | |
parent | 4e527a860130837d9b153eebd856b68ab84bc008 (diff) |
Remove command in label to use kbd (not a proper use of label).
-rw-r--r-- | css/style.css | 15 | ||||
-rw-r--r-- | 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 .= '<span class="label label-primary">'.$selected.'</span>'; + $data .= '<p><kbd>Command: '.$selected.'</kdb></p>'; $data .= '<pre class="pre-scrollable">'.$auth->send_command($selected). '</pre>'; log_to_file('[client: '.$this->requester.'] '.$this->config['host']. |