initial version (static test data)

This commit is contained in:
Jan Jastrow 2019-10-18 00:27:45 +02:00
parent 2686e6a51d
commit e05d2286f8
2 changed files with 94 additions and 0 deletions

_source/index.html Normal file
View File

@ -0,0 +1,54 @@
<!doctype html>
<html lang="en">
<meta charset="utf-8" />
<meta name="description" content="Display current IP and other http connection details" />
<meta name="author" content="Jan Jastrow" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/addons.min.css" type="text/css" />
<link rel="stylesheet" href="css/styles.min.css" type="text/css" />
<link rel="icon" href="favicon-62.png" sizes="62x62" type="image/png" />
<link rel="icon" href="favicon-48.png" sizes="48x48" type="image/png" />
<link rel="icon" href="favicon-32.png" sizes="32x32" type="image/png" />
<link rel="icon" href="favicon-16.png" sizes="16x16" type="image/png" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
<meta name="theme-color" content="#00ddbf">
<meta name="format-detection" content="telephone=no" />
<!-- while developing -->
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<p class="details_ip"></p>
<span class="details_description">source port</span>
<span class="details_data">15827</span>
<span class="details_description">source hostname</span>
<span class="details_data"></span>
<span class="details_description">target ip</span>
<span class="details_data"></span>
<span class="details_description">target hostname</span>
<span class="details_data"></span>
<span class="details_description">connection security</span>
<span class="details_data">unencrypted IPv4 request</span>
<span class="details_description">date</span>
<span class="details_data">Thursday, 17-Oct-2019 23:31:14 CEST</span>
<span class="details_description">useragent</span>
<span class="details_data">Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:70.0) Gecko/20100101 Firefox/70.0</span>
<p>with HTTP/1.1 using request-method GET on keep-alive connection</p>
<p>preferring de,en-US;q=0.7,en;q=0.3 encoded as (none)</p>
<p>while generally accepting text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</p>

_source/scss/styles.scss Normal file
View File

@ -0,0 +1,40 @@
$background-light: #eeeeee;
$background-dark: #131515;
$text-light: #0C231F;
$text-dark: #B5E6DD;
$border-dark: #00ddbf;
$border-light: #005C4B;
html {
background-color: $background-light;
color: $text-light;
font-family: sans-serif;
font-size: 20px;
.details_ip {
border: 1px solid $border-light;
display: block;
font-size: 1.5rem;
margin: 0.5em;
padding: 0.2em;
text-align: center;
.details_description {
display: block;
font-size: 0.6em;
font-family: monospace;
.details_data {
display: block;