don't make requests in sibling navigation
This commit is contained in:
@@ -454,8 +454,11 @@ input[type="submit"]:disabled, input[type="submit"].disabled,
|
||||
input[type="button"]:disabled, input[type="button"].disabled,
|
||||
input[type="color"]:disabled, input[type="color"].disabled,
|
||||
select:disabled , select.disabled {
|
||||
background: var(--input_color_dark);
|
||||
background: var(--layer_1_color);
|
||||
color: var(--input_color);
|
||||
box-shadow: none;
|
||||
transition: none;
|
||||
padding: 4px 5px 4px 5px;
|
||||
}
|
||||
|
||||
/* Dropdown list of the select tag */
|
||||
|
21
res/template/account/user_buckets.html
Normal file
21
res/template/account/user_buckets.html
Normal file
@@ -0,0 +1,21 @@
|
||||
{{define "user_buckets"}}<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{{template "meta_tags" "Buckets"}}
|
||||
{{template "user_style" .}}
|
||||
<script>window.api_endpoint = '{{.APIEndpoint}}';</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{template "page_top" .}}
|
||||
<h1>My Buckets</h1>
|
||||
<div id="page_content" class="page_content"></div>
|
||||
|
||||
{{template "page_bottom" .}}
|
||||
{{template "analytics"}}
|
||||
|
||||
<link rel='stylesheet' href='/res/svelte/user_buckets.css'>
|
||||
<script defer src='/res/svelte/user_buckets.js'></script>
|
||||
</body>
|
||||
</html>
|
||||
{{end}}
|
@@ -17,9 +17,9 @@
|
||||
<div class="highlight_dark">
|
||||
<button onclick="loadGraph(720, 1, true);">Live</button>
|
||||
<button onclick="loadGraph(1440, 10, true);">Day</button>
|
||||
<button onclick="loadGraph(10080, 60, false);">Week</button>
|
||||
<button onclick="loadGraph(10080, 10, false);">Week</button>
|
||||
<button onclick="loadGraph(20160, 60, false);">Two Weeks</button>
|
||||
<button onclick="loadGraph(43200, 1440, false);">Month</button>
|
||||
<button onclick="loadGraph(43200, 60, false);">Month</button>
|
||||
<button onclick="loadGraph(131400, 1440, false);">Quarter</button>
|
||||
<button onclick="loadGraph(262800, 1440, false);">Half-year</button>
|
||||
<button onclick="loadGraph(525600, 1440, false);">Year</button>
|
||||
|
Reference in New Issue
Block a user