mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Import page is blank [ch90] (#6636)
This commit is contained in:
parent
d1fe7abb18
commit
7d982c9ea6
|
@ -13,6 +13,21 @@
|
|||
[v-cloak] {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* Rules for the div table */
|
||||
.tbl_head {
|
||||
font-weight: bold
|
||||
}
|
||||
.div_tbl {
|
||||
display: table
|
||||
}
|
||||
.div_tbl_row {
|
||||
display: table-row
|
||||
}
|
||||
.div_tbl_cell {
|
||||
display: table-cell;
|
||||
padding: 2px
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="app">
|
||||
|
@ -49,33 +64,32 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12" style="padding-top: 30px;">
|
||||
<table class="table table-striped" id="upload-table">
|
||||
<thead>
|
||||
<th>File</th>
|
||||
<th>Created</th>
|
||||
<th>Size</th>
|
||||
<th></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<template v-for="currentFile in files">
|
||||
<tr>
|
||||
<td>@{{ currentFile.file_path }}</td>
|
||||
<td>@{{ currentFile.created_at }} </td>
|
||||
<td>@{{ currentFile.filesize }}</td>
|
||||
<td>
|
||||
<div class="table table-striped div_tbl" id="upload-table">
|
||||
<div class="div_tbl_row">
|
||||
<div class="div_tbl_cell tbl_head">File</div>
|
||||
<div class="div_tbl_cell tbl_head">Created</div>
|
||||
<div class="div_tbl_cell tbl_head">Size</div>
|
||||
<div class="div_tbl_cell tbl_head"></div>
|
||||
</div>
|
||||
|
||||
<template v-for="currentFile in files">
|
||||
<div class="div_tbl_row">
|
||||
<div class="div_tbl_cell">@{{ currentFile.file_path }}</div>
|
||||
<div class="div_tbl_cell">@{{ currentFile.created_at }} </div>
|
||||
<div class="div_tbl_cell">@{{ currentFile.filesize }}</div>
|
||||
<div class="div_tbl_cell">
|
||||
<button class="btn btn-sm btn-info" @click="toggleEvent(currentFile.id)">Process</button>
|
||||
<button class="btn btn-sm btn-danger" @click="deleteFile(currentFile)"><i class="fa fa-trash icon-white"></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
<import-file
|
||||
:key="currentFile.id"
|
||||
:file="currentFile"
|
||||
:custom-fields="customFields"
|
||||
@alert="updateAlert(alert)">
|
||||
</import-file>
|
||||
</template>
|
||||
</tbody>
|
||||
</table>
|
||||
<button class="btn btn-sm btn-danger" @click="deleteFile(currentFile)"><i class="fa fa-trash icon-white"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<import-file
|
||||
:key="currentFile.id"
|
||||
:file="currentFile"
|
||||
:custom-fields="customFields"
|
||||
@alert="updateAlert(alert)">
|
||||
</import-file>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue