browser-webapp/dist/index.html

69 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
#browser-container {
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
}
#address-bar-container {
padding: 10px;
background-color: #f1f1f1;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
display: flex;
justify-content: space-between;
align-items: center;
}
#address-bar {
flex-grow: 1;
padding: 10px;
border: 1px solid #ccc;
border-radius: 3px;
margin-right: 10px;
}
#go-button {
padding: 10px 20px;
border: none;
background-color: #007bff;
color: white;
cursor: pointer;
border-radius: 3px;
}
#web-content {
flex-grow: 1;
}
#booting {
margin: 1em;
}
</style>
<title></title>
<script type="application/javascript" src="./index.js"></script>
</head>
<body>
<div id="browser-container">
<div id="address-bar-container">
<span id="booting">Booting</span>
<input type="text" id="address-bar" placeholder="Enter URL..." disabled>
<button id="go-button" disabled>Go</button>
</div>
<iframe id="web-content" src="about:blank" frameborder="0" style="width: 100%; height: 100%;"></iframe>
</div>
</body>
</html>