chore(front/file-uploader): remove unnecessary css, container, update col-grow class names
This commit is contained in:
parent
1b5e088d74
commit
c025aa2539
@ -71,23 +71,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
:global(button) {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
:global(button .icon) {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
:global(button .tip) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.new-files {
|
||||
h3 {
|
||||
text-align: center;
|
||||
@ -116,7 +99,6 @@
|
||||
<BaseTemplate title="{$locals.app.name} - Upload file" description="File upload web interface." noH1>
|
||||
<h1>Upload files</h1>
|
||||
|
||||
<div class="container">
|
||||
<section class="panel">
|
||||
<h2>
|
||||
<Icon name="upload"/>
|
||||
@ -195,7 +177,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th class="table-col-grow">Name</th>
|
||||
<th class="col-grow">Name</th>
|
||||
<th>Size</th>
|
||||
<th>Expires in</th>
|
||||
<th>Actions</th>
|
||||
@ -206,7 +188,7 @@
|
||||
{#each $locals.files as file}
|
||||
<tr>
|
||||
<td>{file.id}</td>
|
||||
<td class="table-col-grow-cell"><a href="{file.url}">
|
||||
<td class="col-grow-cell"><a href="{file.url}">
|
||||
<pre>{file.real_name}</pre>
|
||||
</a></td>
|
||||
<td>{(file.size / (1024 * 1024)).toFixed(2)}MB</td>
|
||||
@ -241,5 +223,4 @@
|
||||
|
||||
<Pagination pagination={$locals.pagination} routeName="file-uploader" contextSize={3}/>
|
||||
</section>
|
||||
</div>
|
||||
</BaseTemplate>
|
||||
|
Loading…
Reference in New Issue
Block a user