diff options
| author | root | 2014-11-10 12:49:35 +0100 |
|---|---|---|
| committer | root | 2014-11-10 12:49:35 +0100 |
| commit | 72a3cc39d5e629562be36758173afc99efb62af3 (patch) | |
| tree | 5f01a81bca5f1f4bd8c44c6b0823bbe9de58a665 /header.php | |
| parent | 771f805803f0cd67730ebbc7cb63e2312e4ca6c8 (diff) | |
| download | httpheader-72a3cc39d5e629562be36758173afc99efb62af3.tar.gz | |
v0.1
Diffstat (limited to 'header.php')
| -rw-r--r-- | header.php | 68 |
1 files changed, 65 insertions, 3 deletions
@@ -3,7 +3,58 @@ <head> <meta charset="utf-8"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> - <title>Check HTTP Headers online!</title> + <style> + html { + position: relative; + min-height: 100%; +} + +body { + margin-bottom: 60px; +} + +a { + color: #3083D6; +} + +/* navbar */ + +.navbar-default { + background-color: #3083D6 ; + border-color: #3083D6 ; + background: #3083D6 ; +} + +.navbar-default .navbar-brand { + color: white; +} + +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { +} + +.navbar-default .navbar-nav > li > a { + color: white; +} + + +/* footer */ + +.footer { + background-color: #3083D6 ; + border-color: #3083D6 ; + background: #3083D6 ; + color: white ; + position: absolute; + bottom: 0; + width: 100%; +} + +.footer-a { + color: white; +} + </style> + <title>Header: <?php echo htmlentities($_POST['url']); ?></title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'> </head> @@ -11,20 +62,31 @@ <nav class="navbar navbar-default navbar-custom" role="navigation"> <div class="container"> <div class="navbar-header"> - <a class="navbar-brand" href="">Home</a> + <a class="navbar-brand" href=""><span class="glyphicon glyphicon-home"></span> Home</a> </div> </div> </nav> <div class="container"> <div class="text-center"> <div class="row"> + <h3><u><?php echo htmlentities($_POST['url']); ?></u></h3> + <br> <pre> <?php require 'getheader.php'; - echo $header; + echo htmlentities($header); ?> </pre> </div> </div> </div> + <div class="footer"> + <div class="container"> + <div class="row"> + <div class="text-right"> + <p>Copyright 2014 <a class="footer-a" href="//www.moehm.org/" target="_blank" title="https://www.moehm.org/">Maximilian Möhring</a></p> + </div> + </div> + </div> + </div> </body> |
