fixé position inputs sur clients

This commit is contained in:
Sylvain Gay 2022-09-14 18:09:13 +02:00
parent 4443f6c1a3
commit f1cd3f2207
2 changed files with 22 additions and 4 deletions

View file

@ -18,6 +18,13 @@
<style type="text/css"> <style type="text/css">
#map { height: 600px; } #map { height: 600px; }
#below {
position: fixed;
bottom: 0px;
z-index: 10000;
background-color: white;
width: 100%;
}
</style> </style>
<script type="text/javascript" src="utils.js"></script> <script type="text/javascript" src="utils.js"></script>
@ -25,8 +32,10 @@
<body> <body>
<div id="map"></div><br/> <div id="map"></div><br/>
<input id="name"/><button id="setName">Set team name</button><br/> <div id="below">
<input id="message"/><button id="sendMessage">Enter code</button><br/> <input id="name"/><button id="setName">Set team name</button><br/>
<input id="message"/><button id="sendMessage">Enter code</button><br/>
</div>
<script type="text/javascript"> <script type="text/javascript">
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////

View file

@ -18,6 +18,13 @@
<style type="text/css"> <style type="text/css">
#map { height: 600px; } #map { height: 600px; }
#below {
position: fixed;
bottom: 0px;
z-index: 10000;
background-color: white;
width: 100%;
}
</style> </style>
<script type="text/javascript" src="utils.js"></script> <script type="text/javascript" src="utils.js"></script>
@ -25,8 +32,10 @@
<body> <body>
<div id="map"></div><br/> <div id="map"></div><br/>
<input id="name"/><button id="setName">Set team name</button><br/> <div id="below">
<input type="number" id="color" min="-1" value="0"/><button id="setColor">Set color</button><br/> <input id="name"/><button id="setName">Set team name</button><br/>
<input type="number" id="color" min="-1" value="0"/><button id="setColor">Set color</button><br/>
</div>
<script type="text/javascript"> <script type="text/javascript">
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////