update archive ui
<md-table-row>
<md-table-head>Filename</md-table-head>
<md-table-head>Size</md-table-head>
- <md-table-head>Download</md-table-head>
</md-table-row>
</md-table-header>
<md-table-body>
<md-table-row v-for="a in job.archive" :key="a.filename">
- <md-table-cell>{{ a.filename }}</md-table-cell>
- <md-table-cell>{{ a.size }} ms</md-table-cell>
- <md-table-cell>
- <md-button class="md-icon-button md-primary"
- @click="job.downloadArchive(a.filename)">
- <md-icon>close</md-icon>
- </md-button>
- </md-table-cell>
+ <md-table-cell><a @click="job.downloadArchive(a.filename)">{{ a.filename }}</a></md-table-cell>
+ <md-table-cell>{{ a.size / 1024 }} kb</md-table-cell>
</md-table-row>
</md-table-body>
</md-table>
