Use <h1> for headers in analytics panes instead of <a>
Fixed the padding in the analytics panes. Don't load the status phrases in the control panel as they're not really needed there.
This commit is contained in:
parent
e50366ce60
commit
c1e74f9af6
|
@ -27,4 +27,5 @@ RouterGen
|
||||||
Patcher
|
Patcher
|
||||||
Gosora
|
Gosora
|
||||||
Installer
|
Installer
|
||||||
template_*.go
|
template_*.go
|
||||||
|
template_*.jgo
|
|
@ -180,8 +180,8 @@ function initPhrases(loggedIn, panel = false) {
|
||||||
let e = "";
|
let e = "";
|
||||||
if(loggedIn && !panel) e = ",topic_list,topic";
|
if(loggedIn && !panel) e = ",topic_list,topic";
|
||||||
else if(panel) e = ",analytics,panel"; // TODO: Request phrases for just one section of the control panel?
|
else if(panel) e = ",analytics,panel"; // TODO: Request phrases for just one section of the control panel?
|
||||||
else e = ",topic_list";
|
else e = ",status,topic_list";
|
||||||
fetchPhrases("status,alerts,paginator"+e) // TODO: Break this up?
|
fetchPhrases("alerts,paginator"+e) // TODO: Break this up?
|
||||||
}
|
}
|
||||||
|
|
||||||
function fetchPhrases(plist) {
|
function fetchPhrases(plist) {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
{{range .Header.PreScriptsAsync}}
|
{{range .Header.PreScriptsAsync}}
|
||||||
<script async type="text/javascript" src="/static/{{.}}"></script>{{end}}
|
<script async type="text/javascript" src="/static/{{.}}"></script>{{end}}
|
||||||
<meta property="x-loggedin" content="{{.CurrentUser.Loggedin}}" />
|
<meta property="x-loggedin" content="{{.CurrentUser.Loggedin}}" />
|
||||||
<script type="text/javascript" src="/static/init.js?i=4"></script>
|
<script type="text/javascript" src="/static/init.js?i=5"></script>
|
||||||
{{range .Header.ScriptsAsync}}
|
{{range .Header.ScriptsAsync}}
|
||||||
<script async type="text/javascript" src="/static/{{.}}"></script>{{end}}
|
<script async type="text/javascript" src="/static/{{.}}"></script>{{end}}
|
||||||
<script type="text/javascript" src="/static/jquery-3.1.1.min.js"></script>
|
<script type="text/javascript" src="/static/jquery-3.1.1.min.js"></script>
|
||||||
|
|
|
@ -1,20 +1,19 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/agent/{{.Agent}}" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/agent/{{.Agent}}" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{.FriendlyAgent}}{{lang "panel_statistics_views_head_suffix"}}</h1>
|
||||||
<a>{{.FriendlyAgent}}{{lang "panel_statistics_views_head_suffix"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_views" class="colstack_graph_holder">
|
<div id="panel_analytics_views" class="colstack_graph_holder">
|
||||||
<div class="ct_chart"></div>
|
<div class="ct_chart"></div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "panel_analytics_script.html" . }}
|
{{template "panel_analytics_script.html" . }}
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -1,16 +1,15 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/agents/" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/agents/" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{lang "panel_statistics_user_agents_head"}}</h1>
|
||||||
<a>{{lang "panel_statistics_user_agents_head"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_agents_chart" class="colstack_graph_holder">
|
<div id="panel_analytics_agents_chart" class="colstack_graph_holder">
|
||||||
<div class="ct_chart"></div>
|
<div class="ct_chart"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,4 +24,4 @@
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "panel_analytics_script.html" . }}
|
{{template "panel_analytics_script.html" . }}
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -1,20 +1,19 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/forum/{{.Agent}}" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/forum/{{.Agent}}" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{.FriendlyAgent}}{{lang "panel_statistics_views_head_suffix"}}</h1>
|
||||||
<a>{{.FriendlyAgent}}{{lang "panel_statistics_views_head_suffix"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_views" class="colstack_graph_holder">
|
<div id="panel_analytics_views" class="colstack_graph_holder">
|
||||||
<div class="ct_chart"></div>
|
<div class="ct_chart"></div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "panel_analytics_script.html" . }}
|
{{template "panel_analytics_script.html" . }}
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -1,16 +1,15 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/forums/" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/forums/" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{lang "panel_statistics_forums_head"}}</h1>
|
||||||
<a>{{lang "panel_statistics_forums_head"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_forums_chart" class="colstack_graph_holder">
|
<div id="panel_analytics_forums_chart" class="colstack_graph_holder">
|
||||||
<div class="ct_chart"></div>
|
<div class="ct_chart"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,20 +1,19 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/lang/{{.Agent}}" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/lang/{{.Agent}}" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{.FriendlyAgent}}{{lang "panel_statistics_views_head_suffix"}}</h1>
|
||||||
<a>{{.FriendlyAgent}}{{lang "panel_statistics_views_head_suffix"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_langs" class="colstack_graph_holder">
|
<div id="panel_analytics_langs" class="colstack_graph_holder">
|
||||||
<div class="ct_chart"></div>
|
<div class="ct_chart"></div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "panel_analytics_script.html" . }}
|
{{template "panel_analytics_script.html" . }}
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -1,16 +1,15 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/langs/" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/langs/" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{lang "panel_statistics_languages_head"}}</h1>
|
||||||
<a>{{lang "panel_statistics_languages_head"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_langs_chart" class="colstack_graph_holder">
|
<div id="panel_analytics_langs_chart" class="colstack_graph_holder">
|
||||||
<div class="ct_chart"></div>
|
<div class="ct_chart"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/posts/" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/posts/" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{lang "panel_statistics_post_counts_head"}}</h1>
|
||||||
<a>{{lang "panel_statistics_post_counts_head"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_posts" class="colstack_graph_holder">
|
<div id="panel_analytics_posts" class="colstack_graph_holder">
|
||||||
<div class="ct_chart" aria-label="{{lang "panel_statistics_post_counts_chart_aria"}}"></div>
|
<div class="ct_chart" aria-label="{{lang "panel_statistics_post_counts_chart_aria"}}"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,4 +27,4 @@
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "panel_analytics_script.html" . }}
|
{{template "panel_analytics_script.html" . }}
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -1,20 +1,19 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/referrer/{{.Agent}}" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/referrer/{{.Agent}}" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{.Agent}}{{lang "panel_statistics_views_head_suffix"}}</h1>
|
||||||
<a>{{.Agent}}{{lang "panel_statistics_views_head_suffix"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_referrers" class="colstack_graph_holder">
|
<div id="panel_analytics_referrers" class="colstack_graph_holder">
|
||||||
<div class="ct_chart"></div>
|
<div class="ct_chart"></div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "panel_analytics_script.html" . }}
|
{{template "panel_analytics_script.html" . }}
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -1,16 +1,15 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/referrers/" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/referrers/" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{lang "panel_statistics_referrers_head"}}</h1>
|
||||||
<a>{{lang "panel_statistics_referrers_head"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_referrers" class="colstack_item rowlist">
|
<div id="panel_analytics_referrers" class="colstack_item rowlist">
|
||||||
{{range .ItemList}}
|
{{range .ItemList}}
|
||||||
<div class="rowitem panel_compactrow editable_parent">
|
<div class="rowitem panel_compactrow editable_parent">
|
||||||
|
@ -21,4 +20,4 @@
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -1,16 +1,15 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/route/{{.Route}}" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/route/{{.Route}}" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{.Route}}{{lang "panel_statistics_views_head_suffix"}}</h1>
|
||||||
<a>{{.Route}}{{lang "panel_statistics_views_head_suffix"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_views" class="colstack_graph_holder">
|
<div id="panel_analytics_views" class="colstack_graph_holder">
|
||||||
<div class="ct_chart"></div>
|
<div class="ct_chart"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,4 +27,4 @@
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "panel_analytics_script.html" . }}
|
{{template "panel_analytics_script.html" . }}
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -1,16 +1,15 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/routes/" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/routes/" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{lang "panel_statistics_routes_head"}}</h1>
|
||||||
<a>{{lang "panel_statistics_routes_head"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_routes_chart" class="colstack_graph_holder">
|
<div id="panel_analytics_routes_chart" class="colstack_graph_holder">
|
||||||
<div class="ct_chart"></div>
|
<div class="ct_chart"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,4 +24,4 @@
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "panel_analytics_script.html" . }}
|
{{template "panel_analytics_script.html" . }}
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -1,20 +1,19 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/system/{{.Agent}}" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/system/{{.Agent}}" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{.FriendlyAgent}}{{lang "panel_statistics_views_head_suffix"}}</h1>
|
||||||
<a>{{.FriendlyAgent}}{{lang "panel_statistics_views_head_suffix"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_systems" class="colstack_graph_holder">
|
<div id="panel_analytics_systems" class="colstack_graph_holder">
|
||||||
<div class="ct_chart"></div>
|
<div class="ct_chart"></div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "panel_analytics_script.html" . }}
|
{{template "panel_analytics_script.html" . }}
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -1,16 +1,15 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/systems/" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/systems/" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{lang "panel_statistics_operating_systems_head"}}</h1>
|
||||||
<a>{{lang "panel_statistics_operating_systems_head"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_systems_chart" class="colstack_graph_holder">
|
<div id="panel_analytics_systems_chart" class="colstack_graph_holder">
|
||||||
<div class="ct_chart"></div>
|
<div class="ct_chart"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,4 +24,4 @@
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "panel_analytics_script.html" . }}
|
{{template "panel_analytics_script.html" . }}
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -1,4 +1,4 @@
|
||||||
<select class="timeRangeSelector to_right" name="timeRange">
|
<select form="timeRangeForm" class="timeRangeSelector to_right" name="timeRange">
|
||||||
<option val="one-year"{{if eq .TimeRange "one-year"}} selected{{end}}>{{lang "panel_statistics_time_range_one_year"}}</option>
|
<option val="one-year"{{if eq .TimeRange "one-year"}} selected{{end}}>{{lang "panel_statistics_time_range_one_year"}}</option>
|
||||||
<option val="three-months"{{if eq .TimeRange "three-months"}} selected{{end}}>{{lang "panel_statistics_time_range_three_months"}}</option>
|
<option val="three-months"{{if eq .TimeRange "three-months"}} selected{{end}}>{{lang "panel_statistics_time_range_three_months"}}</option>
|
||||||
<option val="one-month"{{if eq .TimeRange "one-month"}} selected{{end}}>{{lang "panel_statistics_time_range_one_month"}}</option>
|
<option val="one-month"{{if eq .TimeRange "one-month"}} selected{{end}}>{{lang "panel_statistics_time_range_one_month"}}</option>
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/topics/" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/topics/" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{lang "panel_statistics_topic_counts_head"}}</h1>
|
||||||
<a>{{lang "panel_statistics_topic_counts_head"}}</a>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_topics" class="colstack_graph_holder">
|
<div id="panel_analytics_topics" class="colstack_graph_holder">
|
||||||
<div class="ct_chart" aria-label="{{lang "panel_statistics_topic_counts_chart_aria"}}"></div>
|
<div class="ct_chart" aria-label="{{lang "panel_statistics_topic_counts_chart_aria"}}"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colstack panel_stack">
|
<div class="colstack panel_stack">
|
||||||
{{template "panel_menu.html" . }}
|
{{template "panel_menu.html" . }}
|
||||||
<main id="panel_analytics_right" class="colstack_right">
|
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/views/" method="get"></form>
|
||||||
|
<main id="panel_analytics_right" class="colstack_right analytics">
|
||||||
{{template "panel_before_head.html" . }}
|
{{template "panel_before_head.html" . }}
|
||||||
<form id="timeRangeForm" name="timeRangeForm" action="/panel/analytics/views/" method="get">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="colstack_item colstack_head">
|
<div class="rowitem">
|
||||||
<div class="rowitem">
|
<h1>{{lang "panel_statistics_requests_head"}}</h1>
|
||||||
<h1>{{lang "panel_statistics_requests_head"}}</h1>
|
{{template "panel_analytics_time_range.html" . }}
|
||||||
{{template "panel_analytics_time_range.html" . }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
<div id="panel_analytics_views" class="colstack_graph_holder">
|
<div id="panel_analytics_views" class="colstack_graph_holder">
|
||||||
<div class="ct_chart" aria-label="{{lang "panel_statistics_requests_chart_aria"}}"></div>
|
<div class="ct_chart" aria-label="{{lang "panel_statistics_requests_chart_aria"}}"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,4 +27,4 @@
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{template "panel_analytics_script.html" . }}
|
{{template "panel_analytics_script.html" . }}
|
||||||
{{template "footer.html" . }}
|
{{template "footer.html" . }}
|
|
@ -304,6 +304,12 @@
|
||||||
.timeRangeSelector {
|
.timeRangeSelector {
|
||||||
margin-top: -5px;
|
margin-top: -5px;
|
||||||
}
|
}
|
||||||
|
.colstack_graph_holder + .rowlist {
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
|
.analytics .colstack_head h1 {
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Experimental header tweaks */
|
/* Experimental header tweaks */
|
||||||
.colstack_head a {
|
.colstack_head a {
|
||||||
|
|
|
@ -20,6 +20,9 @@
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.analytics .colstack_head:first-child {
|
||||||
|
padding-bottom: 4px;
|
||||||
|
}
|
||||||
.timeRangeSelector {
|
.timeRangeSelector {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin-top: -3px;
|
margin-top: -3px;
|
||||||
|
|
Loading…
Reference in New Issue