aboutsummaryrefslogtreecommitdiffstats
path: root/src/dashboard.html
diff options
context:
space:
mode:
authorDeathamns <deathamns@gmail.com>2014-10-17 21:44:19 +0200
committerDeathamns <deathamns@gmail.com>2014-11-09 17:39:12 +0100
commit5b79bf353647a4dad9d4968d0f246582744f07bc (patch)
tree06f045f4dfbd188a8f1217c491b185f0d41d6d50 /src/dashboard.html
parent96c4e2e2565ffbd7d413ed7721d9610772b03859 (diff)
downloaduBlock-5b79bf353647a4dad9d4968d0f246582744f07bc.zip
uBlock-5b79bf353647a4dad9d4968d0f246582744f07bc.tar.gz
uBlock-5b79bf353647a4dad9d4968d0f246582744f07bc.tar.bz2
Work on vendor API abstraction, and near complete Safari support
Diffstat (limited to 'src/dashboard.html')
-rw-r--r--src/dashboard.html102
1 files changed, 102 insertions, 0 deletions
diff --git a/src/dashboard.html b/src/dashboard.html
new file mode 100644
index 0000000..7dbaef9
--- /dev/null
+++ b/src/dashboard.html
@@ -0,0 +1,102 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title data-i18n="dashboardName"></title>
+<style>
+html, body {
+ margin: 0;
+ border: 0;
+ padding: 0;
+ font: 15px httpsb,sans-serif;
+ position: relative;
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+ }
+#dashboard-nav {
+ margin: 0;
+ border: 0;
+ padding: 0;
+ position: absolute;
+ width: 100%;
+ top: 0;
+ height: 50px;
+ z-index: 10;
+ }
+#dashboard-nav-widgets {
+ margin: 0;
+ border-bottom: 1px solid #ccc;
+ padding: 4px 0 0;
+ 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;
+ border-bottom: 1px solid #ccc;
+ padding: 4px;
+ display: inline-block;
+ position: relative;
+ top: 1px;
+ 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;
+ border-bottom: 1px solid white;
+ }
+iframe {
+ margin: 0;
+ border: 0;
+ padding: 0;
+ background-color: transparent;
+ width: 100%;
+ height: 100%;
+ border-top: 50px solid transparent;
+ box-sizing: border-box;
+ }
+</style>
+<link href='css/common.css' rel='stylesheet' type='text/css'>
+</head>
+
+<body>
+<div id="dashboard-nav">
+ <div id="dashboard-nav-widgets">
+ <span>µBlock</span>
+ <a class="tabButton" href="#" data-dashboard-panel-url="3p-filters.html" data-i18n="3pPageName"></a>
+ <a class="tabButton" href="#" data-dashboard-panel-url="1p-filters.html" data-i18n="1pPageName"></a>
+ <a class="tabButton" href="#" data-dashboard-panel-url="whitelist.html" data-i18n="whitelistPageName"></a>
+ <a class="tabButton" href="#" data-dashboard-panel-url="settings.html" data-i18n="settingsPageName"></a>
+ <a class="tabButton" href="#" data-dashboard-panel-url="stats.html" data-i18n="statsPageName"></a>
+ <a class="tabButton" href="#" data-dashboard-panel-url="about.html" data-i18n="aboutPageName"></a>
+ </div>
+</div>
+
+<iframe src=""></iframe>
+
+<script src="js/js-loader.js" data-jsList="
+js/vapi-common.js
+js/udom.js
+js/i18n.js
+js/dashboard.js
+"></script>
+
+</body>
+</html>