Ignore:
Timestamp:
Feb 23, 2020, 4:11:08 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
bd0cb38
Parents:
75adef3
Message:
  • added queue table
    • added logview to make the envelope of a log available
    • Added processing state to Log MetaData and Log table
    • Added icons for the processing state from Breeze
Location:
src/mapservice-webclient
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/mapservice-webclient/src/app/logs/logs.component.html

    r75adef3 r306f18a  
    1212        <th>Start</th>
    1313        <th>End</th>
     14        <th>Status</th>
    1415        <th>Comment</th>
    1516        <th></th>
    … …  
    2526          <td>{{printDate(log.start)}}</td>
    2627          <td>{{printDate(log.end)}}</td>
     28          <td [ngSwitch]="log.processingState.id">
     29            <img *ngSwitchCase="2" class="pure-img state-icon" src='/resources/log-queued.svg' title='Status: {{log.processingState.label}}'>
     30            <img *ngSwitchCase="3" class="pure-img state-icon" src='/resources/processing.svg' title='Status: {{log.processingState.label}}'>
     31            <img *ngSwitchCase="4" class="pure-img state-icon" src='/resources/log-processed.svg' title='Status: {{log.processingState.label}}'>
     32            <img *ngSwitchCase="4" class="pure-img state-icon" src='/resources/log-excluded.svg' title='Status: {{log.processingState.label}}'>
     33            <img *ngSwitchDefault class="pure-img state-icon" src='/resources/log-undefined.svg' title='Status: {{log.processingState.label}}'>
     34          </td>
    2735          <td>{{log.comment}}</td>
    2836          <td>
  • src/mapservice-webclient/src/css/GnuBoat.Mapservice.Webclient.css

    r75adef3 r306f18a  
    185185}
    186186
     187.state-icon {
     188  height: 100%;
     189  max-height: 2em;
     190  width: auto;
     191}
     192
    187193@-webkit-keyframes rotating {
    188194    from{
    … …  
    201207  margin-right: 1em;
    202208}
     209
    203210.footer {
    204211  background-color: var(--gnuboat-primary-light);
  • src/mapservice-webclient/webpack.config.js

    r75adef3 r306f18a  
    4747          { from: '../common/icon/gnuboat-gauge.svg', to: 'resources' },
    4848          { from: '../common/icon/gnuboat-logfile.svg', to: 'resources' },
    49           { from: '../common/icon/gnuboat-water.svg', to: 'resources' }
     49          { from: '../common/icon/gnuboat-water.svg', to: 'resources' },
    5050          { from: '../common/icon/processing.svg', to: 'resources' },
     51          { from: '../common/icon/log-excluded.svg', to: 'resources' },
     52          { from: '../common/icon/log-processed.svg', to: 'resources' },
     53          { from: '../common/icon/log-queued.svg', to: 'resources' },
     54          { from: '../common/icon/log-undefined.svg', to: 'resources' }
    5155        ])
    5256    ],
Note: See TracChangeset for help on using the changeset viewer.