github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/panel_analytics_posts.html (about) 1 <div class="colstack_item colstack_head"> 2 <div class="rowitem"> 3 <h1>{{lang "panel_stats_post_counts_head"}}</h1> 4 {{template "panel_analytics_time_range.html" . }} 5 </div> 6 </div> 7 <form id="timeRangeForm"name="timeRangeForm"action="/panel/analytics/posts/"method="get"></form> 8 <div id="panel_analytics_posts"class="colstack_graph_holder"> 9 <div class="ct_chart"aria-label="{{lang "panel_stats_post_counts_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_posts_table"class="colstack_item rowlist"aria-label="{{lang "panel_stats_post_counts_table_aria"}}"> 17 {{range .ViewItems}} 18 <div class="rowitem panel_compactrow editable_parent"> 19 <a class="panel_upshift unix_{{if or (or (or (eq $.TimeRange "six-hours") (eq $.TimeRange "twelve-hours")) (eq $.TimeRange "one-day")) (eq $.TimeRange "two-days")}}to_24_hour_time{{else}}to_date{{end}}">{{.Time}}</a> 20 <span class="panel_compacttext to_right">{{.Count}}{{lang "panel_stats_posts_suffix"}}</span> 21 </div> 22 {{else}}<div class="rowitem passive rowmsg">{{lang "panel_stats_post_counts_no_post_counts"}}</div>{{end}} 23 </div> 24 {{template "panel_analytics_script.html" . }}