UNPKG

pip-webui

Version:

HTML5 UI for LOB applications

59 lines (58 loc) 2.95 kB
<md-toolbar class="pip-appbar-ext"> </md-toolbar> <pip-document> <div ng-show="$mdMedia('gt-xs')" class="scrolled-container"> <table class="w-stretch"> <thead class="color-secondary-text"> <tr class="h48 text-left"> <th class="divider-bottom"><!--For icons--></th> <th class="divider-bottom">Time</th> <th class="divider-bottom">Node ID</th> <th class="divider-bottom">Node Name</th> <th class="divider-bottom">Description</th> <th class="text-right divider-bottom">Temperature</th> <th class="text-right rp16 divider-bottom">Radiation level</th> </tr> </thead> <tbody> <tr class="h48 text-subhead2 divider-bottom" ng-repeat="event in events"> <td class="lp16 divider-bottom"> <md-icon ng-style="{color: iconColors[event.icon]}" md-svg-icon="icons:{{ event.icon }}"> </md-icon> </td> <td class="divider-bottom">00:00</td> <td class="divider-bottom">{{ event.node_id }}</td> <td class="divider-bottom">{{ event.node_name }}</td> <td class="divider-bottom">{{ event.description }}</td> <td class="text-right divider-bottom">{{ event.temperature }}</td> <td class="text-right rp16 divider-bottom">{{ event.rad_level }}</td> </tr> </tbody> </table> </div> <div ng-show="$mdMedia('xs')" class="scrolled-container"> <div ng-repeat="event in events" class="layout-row layout-align-start-center"> <div class="flex-fixed lp16 rp16"> <md-icon ng-style="{color: iconColors[event.icon]}" md-svg-icon="icons:{{ event.icon }}"> </md-icon> </div> <div class="flex layout-column layout-align-start-start divider-bottom color-secondary-text tp16 bp16"> <div class="flex text-subhead2 w-stretch"> <span >Node {{ event.node_name }}</span><span >{{ event.description }}</span> </div> <div class="flex w-stretch"> <span >00:00</span><span >{{ event.temperature }}</span><span >{{ event.rad_level }}</span> </div> </div> </div> </div> <md-button class="md-fab md-accent md-fab-bottom-right" aria-label="refresh" ng-click="onReload()"> <md-tooltip md-direction="left">Refresh</md-tooltip> <md-icon md-svg-icon="icons:reload"></md-icon> </md-button> </pip-document>