Skip to content

Commit 30f9a99

Browse files
committed
keep the upload and log folder
1 parent 3bd9e8b commit 30f9a99

File tree

5 files changed

+7
-17
lines changed

5 files changed

+7
-17
lines changed

.devcontainer/setup.sh

+4-10
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,23 @@ apt-get install -y \
1111
build-essential \
1212
openssl \
1313
libssl-dev \
14-
pkg-config
15-
16-
17-
sudo apt install postgresql postgresql-contrib
14+
pkg-config \
15+
llvm-dev \
16+
libclang-dev clang
1817

1918
## Install rustup and common components
2019
curl https://sh.rustup.rs -sSf | sh -s -- -y
2120
rustup install nightly
2221
rustup component add rustfmt
23-
rustup component add rustfmt --toolchain nightly
2422
rustup component add clippy
25-
rustup component add clippy --toolchain nightly
2623

2724
cargo install cargo-expand
2825
cargo install cargo-edit
2926

3027

31-
cargo install sea-orm-cli
32-
33-
3428
## setup and install oh-my-zsh
3529
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
3630
cp -R /root/.oh-my-zsh /home/$USERNAME
3731
cp /root/.zshrc /home/$USERNAME
3832
sed -i -e "s/\/root\/.oh-my-zsh/\/home\/$USERNAME\/.oh-my-zsh/g" /home/$USERNAME/.zshrc
39-
chown -R $USER_UID:$USER_GID /home/$USERNAME/.oh-my-zsh /home/$USERNAME/.zshrc
33+
chown -R $USER_UID:$USER_GID /home/$USERNAME/.oh-my-zsh /home/$USERNAME/.zshrc

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@
55
.vscode
66
/target
77
/data
8-
/public/upload
9-
/public/log

public/log/.gitkeep

Whitespace-only changes.

public/upload/.gitkeep

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.gitkeep

views/admin-user/admin-user-table.hbs

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
{{#*inline "page_content"}}
2-
<div
3-
class="border-b border-gray-300 px-6 py-2 shadow-sm text-xl font-bold">
2+
<div class="border-b border-gray-300 px-6 py-2 shadow-sm text-xl font-bold">
43
<div class="h-14 min-h-fit sm:flex sm:items-center sm:justify-between">
54
<div>
65
<div class="flex items-center">
7-
<h2
8-
class="text-lg font-medium text-gray-800 dark:text-white">
6+
<h2 class="text-lg font-medium text-gray-800 dark:text-white">
97
{{translate_key "admin_user" ~}}
108
</h2>
11-
129
<span
1310
class="ml-2 px-3 py-1 text-xs text-blue-600 bg-blue-100 rounded-full dark:bg-gray-800 dark:text-blue-400">
1411
{{ admin_user_pagination.pagination.total }} {{translate_key

0 commit comments

Comments
 (0)