diff options
Diffstat (limited to 'src/templates/index.html')
| -rw-r--r-- | src/templates/index.html | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/templates/index.html b/src/templates/index.html index e5f602b..8b2d0c0 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -4,6 +4,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>SSH login attempts</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="/bootstrap-5.3.3-dist/css/bootstrap.min.css"> <script src="/chartjs/chart.umd.js" defer></script> <script type="module" src="/histogram.js" defer></script> @@ -26,7 +27,7 @@ </div> <div class="row"> <div class="col"> - <canvas id="histogram"></canvas> + {% include 'chart.html' %} </div> </div> <div class="row"> @@ -50,15 +51,9 @@ </div> </div> - <p>Do you like living life dangerously? use <a href="/password_of_the_month">password of the month</a> + <p>Do you like living life dangerously? use <a href="/potm">password of the month</a> as your next password</p> </div> - -<script defer> - var data = {{ histogram_data|safe }}; - var labels = {{ histogram_labels|safe }}; -</script> - </body> </html>
\ No newline at end of file |
