Update index.html
This commit is contained in:
+25
-17
@@ -10,17 +10,12 @@
|
|||||||
</head>
|
</head>
|
||||||
<style>
|
<style>
|
||||||
body, html {
|
body, html {
|
||||||
height: 100%;
|
height: 100%;overflow-x:hidden;
|
||||||
margin: 0;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: flex-start; /* Align items at the start of the cross axis */
|
|
||||||
}
|
}
|
||||||
.container {
|
.container {
|
||||||
width: 100%;
|
width: auto;
|
||||||
height: 60%; /* adjust height level, 100% is in middle */
|
height: auto; /* adjust height level, 100% is in middle */
|
||||||
display: flex;
|
overflow-x:hidden;
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.centered-div {
|
.centered-div {
|
||||||
@@ -41,31 +36,44 @@ body, html {
|
|||||||
<body class="fullbody">
|
<body class="fullbody">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="centered-div">
|
<div class="centered-div">
|
||||||
|
<p>
|
||||||
|
<a href="{{ url_for('show_query') }}"> Show History ...</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
{% if records %}
|
{% if records %}
|
||||||
<h1 class='warning'>
|
<h1 class='warning'>
|
||||||
<b>Website {{ records.root_domain }} blocked</b>
|
<b>Website {{ records.root_domain }} blocked</b>
|
||||||
</h1>
|
</h1>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<table class="left_align s_table">
|
<table class="left_align s_table" style="table-layout:fixed;width:100%;">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Method</th>
|
<th style="width:25%">Method</th>
|
||||||
<td>{{records.method}}</td>
|
<td>{{records.method}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>URL</th>
|
<th style="width:25%">URL</th>
|
||||||
<td>{{records.url}}</td>
|
<td>{{records.url}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th style="width:25%">Data</th>
|
||||||
|
<td>{{records.post_data}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th style="width:25%">Headers</th>
|
||||||
|
<td style="word-wrap:break-word;">
|
||||||
|
{{ records.headers }}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
{% elif error %}
|
||||||
<a href="{{ url_for('show_query') }}"> Show History ...</a>
|
<h1 class='warning'>
|
||||||
</p>
|
<b>There was a problem:<br> {{ error }} </b>
|
||||||
|
</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user