Claude: HighResolution mit Limit
This commit is contained in:
@@ -24,18 +24,47 @@
|
||||
#snapAllBtn:hover:not(:disabled) { background: #3a6a3a; }
|
||||
#snapAllBtn:disabled { opacity: 0.4; cursor: default; }
|
||||
|
||||
/* Überlast-Banner */
|
||||
#notice {
|
||||
display: none; align-items: center; gap: 10px;
|
||||
background: #4a2a2a; color: #fbb; border-bottom: 1px solid #a55;
|
||||
padding: 8px 16px; font-size: 0.82rem;
|
||||
}
|
||||
#notice button {
|
||||
background: #2a2a2a; color: #fcc; border: 1px solid #a55;
|
||||
padding: 3px 10px; font-family: monospace; cursor: pointer; border-radius: 3px;
|
||||
}
|
||||
|
||||
#cameras { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px; }
|
||||
|
||||
.cam-box { position: relative; background: #000; border: 1px solid #2a2a2a; }
|
||||
.cam-box { position: relative; background: #000; border: 1px solid #2a2a2a; min-width: 320px; }
|
||||
|
||||
video-stream { display: block; width: 640px; height: 480px; background: #111; }
|
||||
video-stream video { width: 100%; height: 100%; object-fit: contain; }
|
||||
|
||||
.cam-label {
|
||||
position: absolute; top: 5px; left: 8px;
|
||||
position: absolute; top: 5px; left: 8px; z-index: 2;
|
||||
background: rgba(0,0,0,.65); padding: 2px 7px; border-radius: 3px;
|
||||
font-size: 0.72rem; color: #ccc;
|
||||
}
|
||||
/* Health-Anzeige unten links: fps · drop% */
|
||||
.cam-info {
|
||||
position: absolute; bottom: 5px; left: 8px; z-index: 2;
|
||||
background: rgba(0,0,0,.7); padding: 2px 7px; border-radius: 3px;
|
||||
font-size: 0.7rem; color: #999;
|
||||
}
|
||||
.cam-info.ok { color: #6d6; }
|
||||
.cam-info.warn { color: #fb4; }
|
||||
.cam-info.crit { color: #f66; }
|
||||
|
||||
/* Ein/Aus-Schalter oben rechts */
|
||||
.cam-toggle {
|
||||
position: absolute; top: 5px; right: 8px; z-index: 2;
|
||||
background: rgba(0,0,0,.65); color: #ccc; border: 1px solid #444;
|
||||
width: 26px; height: 22px; font-size: 0.7rem;
|
||||
cursor: pointer; border-radius: 3px;
|
||||
}
|
||||
.cam-toggle:hover { background: rgba(60,60,60,.85); }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -45,6 +74,7 @@
|
||||
<button id="snapAllBtn" disabled>⬇ Snapshot alle</button>
|
||||
</header>
|
||||
|
||||
<div id="notice"></div>
|
||||
<div id="cameras"></div>
|
||||
|
||||
<script type="module" src="/video-stream.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user