view client/src/imports/Job.vue @ 1148:67c45d2d1aad

feat: Import sounding results UI improvements. Layout cleanup.
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 13 Nov 2018 11:23:03 +0100
parents 5f98d0c9d738
children
line wrap: on
line source

<template>
    <div class="job">
        <h3 class="header">{{type}}</h3>
        <table class="table table-responsive">
            <thead>
                <tr>
                    <th>Enqueued</th>
                    <th>Kind</th>
                    <th>User</th>
                </tr>
            </thead>
            <tbody>
                <tr v-for="job in jobs" :key="job.id">
                    <td>{{job.enqueued}}</td>
                    <td>{{job.kind}}</td>
                    <td>{{job.user}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</template>

<script>
export default {
  name: "job",
  props: ["type", "jobs"]
};
</script>

<style lang="scss" scoped>
.job {
  position: relative;
  text-align: left;
}
</style>