summaryrefslogtreecommitdiffstats
path: root/static/partial-eventlog.html
blob: 548eb1ef69ccc641a782354f10801dac9076df92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<div class="container" ng-controller="selController">
    <div class="row">

            <table class="table table-striped table-condensed">
                <thead>
                    <tr>
                        <th class="fit">ID</th>
                        <th class="fit">Timestamp</th>
                        <th class="fit">Sensor Name</th>
                        <th class="fit">
                            <!-- Controller button -->
                            <div class="btn-group" style="cursor: pointer; cursor: hand;" uib-dropdown is-open="status.isopen" auto-close="outsideClick">
                            <div id="single-button" type="button" class="" uib-dropdown-toggle>
                                Controller <span class="caret"></span>
                            </div>
                                <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="dropdownMenu">
                                    <li role="menuitem"><a data-ng-click="checkAll()"><i class="fa fa-check-circle"></i> Check All</a></li>
                                    <li role="menuitem"><a data-ng-click="uncheckAll()"><i class="fa fa-times-circle"></i> Uncheck All</a></li>
                                    <li class="divider"></li>
                                    <li role="menuitem" data-ng-repeat="company in unique_columns.controller"> <a data-ng-click="setSelectedController()">{{company}}<span data-ng-class="isChecked(company)"></span></a>
                                    </li>
                                </ul>
                            </div>
                        </th>
                        <th class="fit">Severity</th>
                        <th class="fit">Sensor Type</th>
                        <th>Description</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="entry in filtered_and_sliced_sel">
                        <td class="fit">{{ entry.id }}</td>
                        <td class="fit">{{ entry.timestamp * 1000 | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
                        <td class="fit">Sensor Name</td>
                        <td class="fit">{{ entry.generator_name }}</td>
                        <td class="fit">{{ entry.event_severity }}</td>
                        <td class="fit">{{ entry.sensor_type_string }}</td>
                        <td>{{ entry.description_string }}</td>
                    </tr>
                </tbody>
            </table>

    </div>
    <pagination uib-pagination
    ng-model="current_page"
    items-per-page="items_per_page"
    total-items="filtered_sel.length"
    max-size="max_size"
    boundary-links="true"
    boundary-link-numbers="true" rotate="true" force-ellipses="true">
    </pagination>

</div>
OpenPOWER on IntegriCloud