top bar css

This commit is contained in:
Faye Li 2017-01-19 12:15:27 -08:00
parent 10f512306e
commit 53404caccf

View file

@ -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";