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