github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/panel_analytics_memory.html (about) 1 <div class="colstack_item colstack_head"> 2 <div class="rowitem"> 3 <h1>{{lang "panel_stats_memory_head"}}</h1> 4 {{template "panel_analytics_time_range_month.html" . }} 5 </div> 6 </div> 7 <form id="timeRangeForm"name="timeRangeForm"action="/panel/analytics/memory/"method="get"></form> 8 <div id="panel_analytics_memory"class="colstack_graph_holder"> 9 <div class="ct_chart"aria-label="{{lang "panel_stats_memory_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_memory_table"class="colstack_item rowlist"aria-label="{{lang "panel_stats_memory_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}}{{.Unit}}</span> 21 </div> 22 {{else}}<div class="rowitem passive rowmsg">{{lang "panel_stats_memory_no_memory"}}</div>{{end}} 23 </div> 24 {{template "panel_analytics_script_memory.html" . }}