pull/3811/merge
Nguyễn Trần Chung 2025-03-20 01:17:10 +09:00 committed by GitHub
commit 4dfa97633e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 29 additions and 21 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@ rice-box.go
/filebrowser
/filebrowser.exe
/dist
/vendor
.DS_Store
node_modules

1
frontend/.nvmrc Normal file
View File

@ -0,0 +1 @@
22

View File

@ -7,12 +7,14 @@
<template v-if="listing">
<div class="card-content">
<table>
<tr>
<th>#</th>
<th>{{ $t("settings.shareDuration") }}</th>
<th></th>
<th></th>
</tr>
<thead>
<tr>
<th>#</th>
<th>{{ $t("settings.shareDuration") }}</th>
<th></th>
<th></th>
</tr>
</thead>
<tr v-for="link in links" :key="link.hash">
<td>{{ link.hash }}</td>

View File

@ -9,15 +9,17 @@
<div class="card-content full" v-if="links.length > 0">
<table>
<tr>
<th>{{ t("settings.path") }}</th>
<th>{{ t("settings.shareDuration") }}</th>
<th v-if="authStore.user?.perm.admin">
{{ t("settings.username") }}
</th>
<th></th>
<th></th>
</tr>
<thead>
<tr>
<th>{{ t("settings.path") }}</th>
<th>{{ t("settings.shareDuration") }}</th>
<th v-if="authStore.user?.perm.admin">
{{ t("settings.username") }}
</th>
<th></th>
<th></th>
</tr>
</thead>
<tr v-for="link in links" :key="link.hash">
<td>

View File

@ -14,12 +14,14 @@
<div class="card-content full">
<table>
<tr>
<th>{{ t("settings.username") }}</th>
<th>{{ t("settings.admin") }}</th>
<th>{{ t("settings.scope") }}</th>
<th></th>
</tr>
<thead>
<tr>
<th>{{ t("settings.username") }}</th>
<th>{{ t("settings.admin") }}</th>
<th>{{ t("settings.scope") }}</th>
<th></th>
</tr>
</thead>
<tr v-for="user in users" :key="user.id">
<td>{{ user.username }}</td>