|
10 | 10 | <meta name="object" content="Index"> |
11 | 11 | <meta name="owner" content="Nigel Horne"> |
12 | 12 | <meta name="Author" content="Nigel Horne"> |
13 | | - <meta name="Copyright" content="Copyright (C) 2025 Nigel Hornne, all rights reserved"> |
14 | | - <title>[% SiteTitle %]: Meta Data</title> |
| 13 | + <meta name="Copyright" content="Copyright (C) 2025 NJH Music, all rights reserved"> |
| 14 | + <title>[% SiteTitle.English %]: Meta Data</title> |
15 | 15 | [% IF keywords %] |
16 | 16 | <meta name="keywords" content="[% keywords %]" /> |
17 | 17 | [% END %] |
18 | 18 | <link rel="stylesheet" type="text/css" href="/css/style.css" /> |
| 19 | + <!-- https://www.geeksforgeeks.org/how-to-create-three-boxes-in-the-same-div-using-html-and-css/ --> |
| 20 | + <style> |
| 21 | + * { |
| 22 | + margin: 0; |
| 23 | + padding: 0; |
| 24 | + box-sizing: border-box; |
| 25 | + } |
| 26 | + |
| 27 | + body { |
| 28 | + margin: 2%; |
| 29 | + // justify-content: center; |
| 30 | + overflow: hidden; |
| 31 | + } |
| 32 | + |
| 33 | + .box-wrapper { |
| 34 | + height: 95vh; |
| 35 | + width: 100%; |
| 36 | + display: flex; |
| 37 | + flex-direction: column; |
| 38 | + // text-align: center; |
| 39 | + } |
| 40 | + |
| 41 | + #box1 { |
| 42 | + padding: 10px; |
| 43 | + justify-content: center; |
| 44 | + // border: solid 1px green |
| 45 | + } |
| 46 | + |
| 47 | + #box2 { |
| 48 | + padding: 8px; |
| 49 | + // border: solid 1px blue |
| 50 | + } |
| 51 | + |
| 52 | + #box3 { |
| 53 | + padding: 10px; |
| 54 | + flex-grow: 1; |
| 55 | + display: flex; |
| 56 | + flex-direction: row; |
| 57 | + // border: solid 1px green |
| 58 | + } |
| 59 | + |
| 60 | + #box4 { |
| 61 | + // flex-grow: 2; |
| 62 | + flex-grow: 1; |
| 63 | + // border: solid 1px orange |
| 64 | + } |
| 65 | + |
| 66 | + .middle-column { |
| 67 | + // flex-grow: 1; |
| 68 | + flex-grow: 2; |
| 69 | + display: flex; |
| 70 | + flex-direction: column; |
| 71 | + } |
| 72 | + |
| 73 | + .middle-column div { |
| 74 | + flex-grow: 1; |
| 75 | + margin: 0 8px; |
| 76 | + // border: solid 1px red; |
| 77 | + } |
| 78 | + |
| 79 | + .middle-column div+div { |
| 80 | + margin-top: 8px |
| 81 | + } |
| 82 | + |
| 83 | + #box8 { |
| 84 | + flex-grow: 1; |
| 85 | + // border: solid 1px black |
| 86 | + } |
| 87 | + </style> |
19 | 88 | [% IF datapoints %] |
20 | 89 | <script> |
21 | 90 | window.onload = function() { |
|
44 | 113 | </head> |
45 | 114 |
|
46 | 115 | <body> |
47 | | - <!-- Show basic information about this site --> |
48 | | - [% IF info %] |
49 | | - <H1>Info</H1> |
50 | | - domain_name: [% info.domain_name() %]<br> |
51 | | - browser_type: [% info.browser_type() %] |
52 | | - [% END %] |
53 | | - [% IF lingua %] |
54 | | - <H1>Lingua</H1> |
55 | | - country: [% lingua.country() %]<br> |
56 | | - requested_language: [% lingua.requested_language() %]<br> |
57 | | - language_code_alpha2: [% lingua.language_code_alpha2() %] |
58 | | - [% END %] |
59 | | - <!-- Show information about visitors to the site --> |
60 | | - <!-- Browser type --> |
61 | | - [% IF datapoints %] |
62 | | - <div id="chartContainer" style="height: 370px; width: 100%;"></div> |
63 | | - <script src="https://cdn.canvasjs.com/canvasjs.min.js"></script> |
64 | | - [% END %] |
| 116 | + <div class="box-wrapper"> |
| 117 | + <div id="box1"> |
| 118 | + <h1>[% SiteTitle.English %]: Meta Data</h1> |
| 119 | + </div> |
| 120 | + <!-- |
| 121 | + <div id="box2"> |
| 122 | + </div> |
| 123 | + --> |
| 124 | + <div id="box3"> |
| 125 | + <div id="box4"> |
| 126 | + [% IF info %] |
| 127 | + <H1>Info</H1> |
| 128 | + domain_name: [% info.domain_name() %]<br> |
| 129 | + browser_type: [% info.browser_type() %] |
| 130 | + [% END %] |
| 131 | + [% IF lingua %] |
| 132 | + <H1>Lingua</H1> |
| 133 | + country: [% lingua.country() %]<br> |
| 134 | + requested_language: [% lingua.requested_language() %]<br> |
| 135 | + language_code_alpha2: [% lingua.language_code_alpha2() %] |
| 136 | + [% END %] |
| 137 | + </div> |
| 138 | + <div class="middle-column"> |
| 139 | + <div id="box5"> |
| 140 | + [% IF datapoints %] |
| 141 | + <div id="chartContainer" style="height: 370px; width: 100%;"></div> |
| 142 | + <script src="https://cdn.canvasjs.com/canvasjs.min.js"></script> |
| 143 | + [% END %] |
| 144 | + </div> |
| 145 | + </div> |
| 146 | + </div> |
| 147 | + </div> |
65 | 148 | </body> |
66 | 149 | </html> |
0 commit comments