torstatus/templates/details.html
2025-09-03 01:28:11 +02:00

67 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="author" content="">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link
rel="stylesheet"
type="text/css"
href="[[ url_for('static', filename='app.css') ]]"
>
<style>
html {
font-family: 'DejaVu Sans', sans-serif;
}
svg {
}
</style>
</head>
<body>
<div id="app" class="details">
<div class="heartbeats">
<div :class="['heartbeat', 'heartbeat-0', heartbeatActive(0)]">
</div>
<div :class="['heartbeat', 'heartbeat-1', heartbeatActive(1)]">
</div>
</div>
<div class="statusrows">
<template
v-for="(state, index) in states"
:class="['statusrow', statusblockClosed(index)]"
>
<div :class="['statusrow', statusblockClosed(index)]">
<div>
Tor {{ parseInt(index) + 1 }}
</div>
</div>
<div :class="['statusrow', statusblockClosed(index)]">
<div v-if="state.closed">
geschlossen
</div>
<div v-else>
offen
</div>
</div>
<div :class="['statusrow', statusblockClosed(index)]">
<div v-if="state.date">
{{ state.date }}
</div>
<div v-else>
-
</div>
</div>
</template>
</div>
<!--<div>-->
<!-- security.mixed_content.block_active_content-->
<!--</div>-->
</div>
<script src="[[ url_for('static', filename='vue.global.js') ]]"></script>
<script src="[[ url_for('static', filename='axios.min.js') ]]"></script>
<script src="[[ url_for('static', filename='index.js') ]]"></script>
</body>
</html>