github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/panel_analytics_views.html (about) 1 <div class="colstack_item colstack_head"> 2 <div class="rowitem"> 3 <h1>{{lang "panel_stats_requests_head"}}</h1> 4 {{template "panel_analytics_time_range.html" . }} 5 </div> 6 </div> 7 <form id="timeRangeForm"name="timeRangeForm"action="/panel/analytics/views/"method="get"></form> 8 <div id="panel_analytics_views"class="colstack_graph_holder"> 9 <div class="ct_chart"aria-label="{{lang "panel_stats_requests_chart_aria"}}"></div> 10 </div> 11 <div class="colstack_item colstack_head"> 12 <div class="rowitem"> 13 <h1>{{lang "panel_stats_details_head"}}</h1> 14 </div> 15 </div> 16 <div id="panel_analytics_views_table"class="colstack_item rowlist"aria-label="{{lang "panel_stats_requests_table_aria"}}"> 17 {{range .ViewItems}} 18 <div class="rowitem panel_compactrow editable_parent"> 19 <a class="panel_upshift unix_to_{{if or (or (or (eq $.TimeRange "six-hours") (eq $.TimeRange "twelve-hours")) (eq $.TimeRange "one-day")) (eq $.TimeRange "two-days")}}24_hour_time{{else}}date{{end}}">{{.Time}}</a> 20 <span class="panel_compacttext to_right">{{.Count}}{{lang "panel_stats_views_suffix"}}</span> 21 </div> 22 {{end}} 23 </div> 24 {{template "panel_analytics_script.html" . }}