Add close buttons to all views accessible from the main menu, to prevent users on iOS getting stuck

This commit is contained in:
Sulka Haro
2019-07-20 18:23:35 +03:00
parent 0dd701e7e4
commit 4626156a2b
6 changed files with 16 additions and 2 deletions
+3
View File
@@ -33,6 +33,9 @@
<% include preloadCSS %>
</head>
<body>
<a href="/"><div style="position: absolute; top: 10px; color: #404040; right: 10px; background: grey; border-radius: 5px; border: 2px solid #404040; padding: 5px; width: 20px; height: 20px; ">X</div></a>
<div id="toolbar">
<h1 class="customTitle">Nightscout</h1>
</div>
+4
View File
@@ -33,6 +33,10 @@
</head>
<body>
<a href="/"><div style="z-index: 1000; position: absolute; top: 10px; color: #404040; right: 10px; background: grey; border-radius: 5px; border: 2px solid #404040; padding: 5px; width: 20px; height: 20px; ">X</div></a>
<div id="toolbar">
<div id="buttonbar">
<b> <span class="translate">Status</span>:</b> <span id="fe_status" class="translate">Not loaded</span>
+3 -1
View File
@@ -33,8 +33,10 @@
</head>
<body>
<a href="/"><div style="position: absolute; top: 10px; color: #404040; right: 10px; background: grey; border-radius: 5px; border: 2px solid #404040; padding: 5px; width: 20px; height: 20px; ">X</div></a>
<div id="toolbar">
<div id="buttonbar">
<div id="buttonbar" style="margin-right:50 px; ">
<b> <span class="translate">Status</span>:</b> <span class="pe_status translate">Not loaded</span>
</div>
<h1 class="customTitle translate">Nightscout</h1>
+3 -1
View File
@@ -29,7 +29,9 @@
</head>
<body>
<p><img src="/images/logo1.png"><b style="font-size: 14pt;"><span class="translate">Nightscout reporting</span></b> <a style="font-size: 11pt;" href="/">Back main view</a></p>
<a href="/"><div style="position: absolute; top: 10px; color: #404040; right: 10px; background: grey; border-radius: 5px; border: 2px solid #404040; padding: 5px; width: 20px; height: 20px; ">X</div></a>
<p><img src="/images/logo1.png"><b style="font-size: 14pt;"><span class="translate">Nightscout reporting</span></b></p>
<ul id="tabnav">
</ul>
<table>
+2
View File
@@ -29,6 +29,8 @@
</head>
<body>
<a href="/"><div style="position: absolute; top: 10px; color: #404040; right: 10px; background: grey; border-radius: 5px; border: 2px solid #404040; padding: 5px; width: 20px; height: 20px; ">X</div></a>
<h1><img src="/images/logo1.png"><span class="translate">Nightscout translations</span></h1>
<div id="translations"></div>