Skip to content

Commit 20bcd5b

Browse files
committed
update: match UI with console (#113)
1 parent 44f36a8 commit 20bcd5b

34 files changed

+211
-1
lines changed

filebrowser/Dockerfile.21.01-ubuntu20.04

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ ENV PYTHONUNBUFFERED=1 \
1010
PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
1111
LANG=C.UTF-8
1212
COPY filebrowser_amd64 /usr/bin/filebrowser
13-
COPY filebrowser.db /etc/filebrowser.db
13+
RUN mkdir /etc/filebrowser
14+
COPY filebrowser.db /etc/filebrowser/filebrowser.db
15+
COPY config.json /etc/filebrowser/config.json
16+
COPY ./filebrowser_static /etc/filebrowser/resources
1417
#COPY bootstrap.sh /opt/container/bootstrap.sh
1518

1619
# Backend.AI specifics

filebrowser/config.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"settings": {
3+
"key": "VYZvfUzoVDwDVKZermpUQHur7JMtwE/ZbCpS6DCh4DeXFbAneKaSQWuBT7f/x6Drt06z0KTLnA0jrAzK5H8Sdw==",
4+
"signup": false,
5+
"createUserDir": false,
6+
"defaults": {
7+
"scope": ".",
8+
"locale": "en",
9+
"viewMode": "mosaic",
10+
"singleClick": false,
11+
"sorting": {
12+
"by": "",
13+
"asc": false
14+
},
15+
"perm": {
16+
"admin": false,
17+
"execute": false,
18+
"create": true,
19+
"rename": true,
20+
"modify": true,
21+
"delete": true,
22+
"share": true,
23+
"download": true
24+
},
25+
"commands": [],
26+
"hideDotfiles": false
27+
},
28+
"authMethod": "noauth",
29+
"branding": {
30+
"name": "Backend.AI",
31+
"disableExternal": true,
32+
"files": "/etc/filebrowser/resources",
33+
"theme": ""
34+
},
35+
"commands": {
36+
"after_copy": [],
37+
"after_delete": [],
38+
"after_rename": [],
39+
"after_save": [],
40+
"after_upload": [],
41+
"before_copy": [],
42+
"before_delete": [],
43+
"before_rename": [],
44+
"before_save": [],
45+
"before_upload": []
46+
},
47+
"shell": [],
48+
"rules": []
49+
},
50+
"server": {
51+
"root": "/home/work",
52+
"baseURL": "",
53+
"socket": "",
54+
"tlsKey": "",
55+
"tlsCert": "",
56+
"port": "8080",
57+
"address": "0.0.0.0",
58+
"log": "stdout",
59+
"enableThumbnails": false,
60+
"resizePreview": false,
61+
"enableExec": false
62+
},
63+
"auther": {}
64+
}
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
/* ubuntu-300 - latin */
2+
@font-face {
3+
font-family: "Ubuntu";
4+
font-style: normal;
5+
font-weight: 300;
6+
src: local("Ubuntu Light"), local("Ubuntu-Light"),
7+
url("./fonts/ubuntu-v14-latin-300.woff2") format("woff2"),
8+
/* Super Modern Browsers */ url("./fonts/ubuntu-v14-latin-300.woff")
9+
format("woff"); /* Modern Browsers */
10+
}
11+
12+
/* ubuntu-regular - latin */
13+
@font-face {
14+
font-family: "Ubuntu";
15+
font-style: normal;
16+
font-weight: 400;
17+
src: local("Ubuntu Regular"), local("Ubuntu-Regular"),
18+
url("./fonts/ubuntu-v14-latin-regular.woff2") format("woff2"),
19+
/* Super Modern Browsers */ url("./fonts/ubuntu-v14-latin-regular.woff")
20+
format("woff"); /* Modern Browsers */
21+
}
22+
23+
/* ubuntu-300italic - latin */
24+
@font-face {
25+
font-family: "Ubuntu";
26+
font-style: italic;
27+
font-weight: 300;
28+
src: local("Ubuntu Light Italic"), local("Ubuntu-LightItalic"),
29+
url("./fonts/ubuntu-v14-latin-300italic.woff2") format("woff2"),
30+
/* Super Modern Browsers */ url("./fonts/ubuntu-v14-latin-300italic.woff")
31+
format("woff"); /* Modern Browsers */
32+
}
33+
34+
/* ubuntu-italic - latin */
35+
@font-face {
36+
font-family: "Ubuntu";
37+
font-style: italic;
38+
font-weight: 400;
39+
src: local("Ubuntu Italic"), local("Ubuntu-Italic"),
40+
url("./fonts/ubuntu-v14-latin-italic.woff2") format("woff2"),
41+
/* Super Modern Browsers */ url("./fonts/ubuntu-v14-latin-italic.woff")
42+
format("woff"); /* Modern Browsers */
43+
}
44+
45+
/* ubuntu-500 - latin */
46+
@font-face {
47+
font-family: "Ubuntu";
48+
font-style: normal;
49+
font-weight: 500;
50+
src: local("Ubuntu Medium"), local("Ubuntu-Medium"),
51+
url("./fonts/ubuntu-v14-latin-500.woff2") format("woff2"),
52+
/* Super Modern Browsers */ url("./fonts/ubuntu-v14-latin-500.woff")
53+
format("woff"); /* Modern Browsers */
54+
}
55+
56+
/* ubuntu-500italic - latin */
57+
@font-face {
58+
font-family: "Ubuntu";
59+
font-style: italic;
60+
font-weight: 500;
61+
src: local("Ubuntu Medium Italic"), local("Ubuntu-MediumItalic"),
62+
url("./fonts/ubuntu-v14-latin-500italic.woff2") format("woff2"),
63+
/* Super Modern Browsers */ url("./fonts/ubuntu-v14-latin-500italic.woff")
64+
format("woff"); /* Modern Browsers */
65+
}
66+
67+
/* ubuntu-700 - latin */
68+
@font-face {
69+
font-family: "Ubuntu";
70+
font-style: normal;
71+
font-weight: 700;
72+
src: local("Ubuntu Bold"), local("Ubuntu-Bold"),
73+
url("./fonts/ubuntu-v14-latin-700.woff2") format("woff2"),
74+
/* Super Modern Browsers */ url("./fonts/ubuntu-v14-latin-700.woff")
75+
format("woff"); /* Modern Browsers */
76+
}
77+
78+
/* ubuntu-700italic - latin */
79+
@font-face {
80+
font-family: "Ubuntu";
81+
font-style: italic;
82+
font-weight: 700;
83+
src: local("Ubuntu Bold Italic"), local("Ubuntu-BoldItalic"),
84+
url("./fonts/ubuntu-v14-latin-700italic.woff2") format("woff2"),
85+
/* Super Modern Browsers */ url("./fonts/ubuntu-v14-latin-700italic.woff")
86+
format("woff"); /* Modern Browsers */
87+
}
88+
89+
body {
90+
font-family: Ubuntu, sans-serif !important;
91+
}
92+
.card {
93+
border-radius:10px !important;
94+
}
95+
.credits {
96+
display: none;
97+
}
98+
99+
a[title="Settings"] {
100+
display: none!important;
101+
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)