You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nginx/goaccess++/resources/tpls.html.tmp

1 line
10 KiB

<!-- TPL General --><script id="tpl-general" type="text/template"><h4 class="hidden-xs gheader">{{head}}<span class="pull-right">{{#from}}<span class="from">{{from}}</span>{{/from}}{{#to}} &#8212; <span class="to">{{to}}</span>{{/to}}</span></h4><h5 class="visible-xs hidden-sm hidden-md hidden-lg gheader">{{head}}&nbsp;&nbsp;{{#from}}<span class="from">{{from}}</span>{{/from}}{{#to}} &#8212; <span class="to">{{to}}</span>{{/to}}</h5><div class="wrap-general-items"></div></script><!-- TPL General Items --><script id="tpl-general-items" type="text/template"><div class="col-md-2"><div class="grid-module {{#className}}{{className}}{{/className}}{{^className}}gray{{/className}}"><div class="col-title"><i class="fa fa-bar-chart"></i> {{#label}}{{label}}{{/label}}</div><h3 id="{{id}}" style="padding-top: 0;">{{value}}</h3></div></div></script><!-- TPL Panel Table --><script id="tpl-table-row" type="text/template">{{#rows}}<tr class="{{#className}}{{className}}{{/className}} {{#hasSubItems}}{{#items}}expandable{{/items}}{{/hasSubItems}}" {{#idx}}data-pid="{{idx}}"{{/idx}} data-panel="{{panel}}" {{#key}}data-key="{{key}}"{{/key}}>{{#hasSubItems}}<td class="row-expandable text-center {{#items}}clickable{{/items}}">{{#items}}<i class="fa {{#expanded}}fa-caret-down{{/expanded}}{{^expanded}}fa fa-caret-right{{/expanded}}"></i>{{/items}}{{^items}}<i></i>{{/items}}</td>{{/hasSubItems}}<td class="row-idx text-right">{{#idx}}{{idx}}{{/idx}}</td>{{#cells}}<td class="{{className}}" {{#colspan}}colspan="{{colspan}}"{{/colspan}}><span class="value">{{{value}}}</span>{{#percent}}<span class="percent"> ({{percent}})</span>{{/percent}}</td>{{/cells}}</tr>{{/rows}}</script><!-- TPL Panel Table Meta --><script id="tpl-table-row-meta" type="text/template">{{#row}}<tr>{{#hasSubItems}}<td class=""></td>{{/hasSubItems}}<td class=""></td>{{#cells}}<td class="{{className}}" {{#colspan}}colspan="{{colspan}}"{{/colspan}}>{{#value}}<h4 class="value"><span title="{{title}}">{{value}}</span>{{#label}}<small> {{label}}</small>{{/label}}{{#max}}<br><small>Max: {{max}}</small>{{/max}}{{#min}}<br><small>Min: {{min}}</small>{{/min}}</h4>{{/value}}</td>{{/cells}}</tr>{{/row}}</script><!-- TPL Table thead --><script id="tpl-table-thead" type="text/template"><tr>{{#hasSubItems}}<th></th>{{/hasSubItems}}<th>#</th>{{#items}}<th class="{{dataType}} {{#key}}sortable{{/key}}" data-key="{{key}}" {{#sort}}data-order="{{#asc}}asc{{/asc}}{{^asc}}desc{{/asc}}"{{/sort}}>{{label}} <i class="fa fa-{{^sort}}sort{{/sort}}{{#sort}}{{#asc}}caret-up{{/asc}}{{^asc}}caret-down{{/asc}}{{/sort}}"></i></th>{{/items}}</tr></script><!-- TPL Panel Options DropDown --><script id="tpl-panel-opts" type="text/template"><li class="dropdown-header">{{ labels.chart_opts }}</li><li><a href="javascript:void(0);" data-panel="{{id}}" data-chart="{{showChart}}"><i class="fa fa-{{#showChart}}check-{{/showChart}}square-o"></i> {{labels.chart}}</a></li>{{#plot.length}}<li class="dropdown-header">{{ labels.type }}</li><li><a href="javascript:void(0);" data-panel="{{id}}" data-chart-type="area-spline"><i class="fa fa-circle{{^area-spline}}-o{{/area-spline}}"></i> {{labels.area_spline}}</a></li><li><a href="javascript:void(0);" data-panel="{{id}}" data-chart-type="bar"><i class="fa fa-circle{{^bar}}-o{{/bar}}"></i> {{labels.bar}}</a></li><li class="dropdown-header">{{labels.plot_metric}}</li>{{#plot}}<li><a href="javascript:void(0);" data-panel="{{id}}" data-plot="{{className}}" class="panel-plot-{{className}}"><i class="fa fa-circle{{^selected}}-o{{/selected}}"></i> {{label}}</a></li>{{/plot}}{{/plot.length}}<li class="dropdown-header">{{labels.table_columns}}</li>{{#items}}<li><a href="javascript:void(0);" data-panel="{{id}}" data-metric="{{key}}"><i class="fa fa-{{^hide}}check-{{/hide}}square-o"></i> {{label}}</a></li>{{/items}}</script><!-- TPL Table colgroup --><script id="tpl-table-colgroup" type="text/template">{{#hasSubItems}}<col style="width: 2%;"> <!-- right-caret -->{{/hasSubItems}}<col style="width: 3%;"> <!-- row # -->{{#items}}<col style="width:{{colWidth}}">{{/items}}</script><!-- TPL Panel