mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-24 20:15:44 +02:00
top bar css
This commit is contained in:
parent
10f512306e
commit
53404caccf
1 changed files with 35 additions and 3 deletions
|
@ -9,11 +9,43 @@
|
||||||
-->
|
-->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<title>Users Online</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-bar {
|
||||||
|
width: 100%;
|
||||||
|
height: 90px;
|
||||||
|
background: linear-gradient(#2b2b2b, #1e1e1e);
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-bar div {
|
||||||
|
padding-left: 30px;
|
||||||
|
padding-right: 30px;
|
||||||
|
line-height: 90px;
|
||||||
|
color: white;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main {
|
||||||
|
padding-top: 90px;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1> Hello Users </h1>
|
<div class="top-bar">
|
||||||
<button type="button" onclick="pollUsers()">Poll Users</button>
|
<div>Users Online</div>
|
||||||
<div id="dev-div"></div>
|
</div>
|
||||||
|
<div class="main">
|
||||||
|
<button type="button" onclick="pollUsers()">Poll Users</button>
|
||||||
|
<div id="dev-div"></div>
|
||||||
|
</div>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var METAVERSE_API_URL = "https://metaverse.highfidelity.com/api/v1/users?status=online";
|
var METAVERSE_API_URL = "https://metaverse.highfidelity.com/api/v1/users?status=online";
|
||||||
|
|
Loading…
Reference in a new issue