added static Access Point and Captive Portal and some small adjustments
This commit is contained in:
@@ -2,6 +2,10 @@ server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
# captive portal to face
|
||||
include /opt/helva-robot/drive/etc/nginx/snippets/captive-portal.conf;
|
||||
|
||||
# gives access to drive control
|
||||
include /opt/helva-robot/drive/etc/nginx/snippets/drive.conf;
|
||||
|
||||
root /opt/helva-robot/face/var/www/html;
|
||||
|
||||
@@ -18,8 +18,10 @@
|
||||
</div>
|
||||
|
||||
<div class="label" id="label">neutral</div>
|
||||
|
||||
</div>
|
||||
|
||||
<a href="/drive" class="control-link">🎮 Steuerung öffnen</a>
|
||||
<script src="/app.js?v=2"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -284,3 +284,17 @@ body.emotion-sleepy .eye {
|
||||
opacity: calc(var(--mouth-line-opacity) + 0.10 * var(--mouth-open));
|
||||
}
|
||||
|
||||
|
||||
.control-link{
|
||||
position: fixed;
|
||||
right: 16px;
|
||||
bottom: 16px;
|
||||
padding: 12px 16px;
|
||||
background: rgba(0,0,0,0.6);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
border-radius: 12px;
|
||||
font-family: system-ui, sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
.control-link:active{ transform: scale(0.98); }
|
||||
|
||||
Reference in New Issue
Block a user