1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-02 18:34:52 +12:00
uMatrix/src/dashboard.html

98 lines
2.5 KiB
HTML
Raw Normal View History

2014-10-18 08:01:09 +13:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>µMatrix — Dashboard</title>
<style>
body {
margin: 0;
border: 0;
padding: 0;
2014-10-24 12:40:48 +13:00
font: 15px sans-serif;
2014-10-18 08:01:09 +13:00
position: relative;
width: 100vw;
height: 100vh;
overflow: hidden;
}
#dashboard-nav {
margin: 0;
border: 0;
padding: 0;
2014-10-28 04:02:45 +13:00
position: absolute;
2014-10-18 08:01:09 +13:00
top: 0;
width: 100vw;
height: 50px;
z-index: 10;
}
#dashboard-nav-widgets {
margin: 0;
border-bottom: 1px solid #ccc;
2014-10-28 04:02:45 +13:00
padding: 4px 0 0 0;
2014-10-18 08:01:09 +13:00
white-space: nowrap;
background-color: white;
}
#dashboard-nav-widgets span {
padding: 0 0.5em;
font-size: larger;
}
.tabButton {
margin: 0;
border: 1px solid #ccc;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
padding: 4px;
2014-10-28 04:02:45 +13:00
display: inline-block;
position: relative;
top: 1px;
2014-10-18 08:01:09 +13:00
color: black;
background-color: #eee;
font: inherit;
cursor: pointer;
text-decoration: none;
}
.tabButton:focus {
outline: 0;
}
.tabButton:active,.tabButton:visited {
color: inherited;
}
.tabButton.selected {
border-bottom: 1px solid white;
background-color: white;
}
iframe {
margin: 0;
border: 0;
padding: 0;
background-color: transparent;
overflow: auto;
position: absolute;
top: 50px;
width: 100%;
height: calc(100% - 50px);
}
</style>
<link href='css/common.css' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="dashboard-nav">
<div id="dashboard-nav-widgets">
<span>µMatrix</span>
<a class="tabButton" id="settings" href="#settings" data-dashboard-panel-url="settings.html" data-i18n="settingsPageName"></a>
<a class="tabButton" id="privacy" href="#privacy" data-dashboard-panel-url="privacy.html" data-i18n="privacyPageName"></a>
2014-10-22 12:12:25 +13:00
<a class="tabButton" id="user-rules" href="#user-rules" data-dashboard-panel-url="user-rules.html" data-i18n="userRulesPageName"></a>
2014-10-24 12:40:48 +13:00
<a class="tabButton" id="hosts-files" href="#hosts-files" data-dashboard-panel-url="hosts-files.html" data-i18n="ubiquitousRulesPageName"></a>
2014-10-18 08:01:09 +13:00
<a class="tabButton" id="statistics" href="#statistics" data-dashboard-panel-url="info.html" data-i18n="statsPageName"></a>
<a class="tabButton" id="about" href="#about" data-dashboard-panel-url="about.html" data-i18n="aboutPageName"></a>
</div>
</div>
<iframe src=""></iframe>
2014-10-22 12:12:25 +13:00
<script src="js/udom.js"></script>
2014-10-18 08:01:09 +13:00
<script src="js/i18n.js"></script>
<script src="js/dashboard.js"></script>
</body>
</html>