diff --git a/public/static/css/style.css b/public/static/css/style.css index 30940a4..35a91bd 100644 --- a/public/static/css/style.css +++ b/public/static/css/style.css @@ -532,6 +532,9 @@ tr button { color: white; fill: #f1c40f; } +.font-size-s { + font-size: 1.2rem; +} .font-size-m { font-size: 1.4rem; } @@ -635,6 +638,10 @@ div.hr { padding: 1rem 0; } */ +.block { + display: block; +} + .inline-block { display: inline-block; } diff --git a/src/client/web/src/components/pane_admin.tsx b/src/client/web/src/components/pane_admin.tsx index e8ad9e5..45664e5 100644 --- a/src/client/web/src/components/pane_admin.tsx +++ b/src/client/web/src/components/pane_admin.tsx @@ -128,71 +128,25 @@ export class UserForm extends React.Component< render() { return ( - - +
+
-
- Name: {this.props.name} / ID: {this.props.id} / Role:{" "} - {this.props.role} -
-
- SpaceLimit: {this.props.quota.spaceLimit} / UploadSpeedLimit:{" "} - {this.props.quota.uploadSpeedLimit} / DownloadSpeedLimit:{" "} - {this.props.quota.downloadSpeedLimit} -
-
-
- - - - -
-
- -
+ Name: {this.props.name} / ID: {this.props.id}
+
-
- + +
+
+ +
+ +
+
+
+
+
Role
+ +
+ +
+
+ Space Limit +
+ +
+ +
+
+ Upload Speed Limit +
+ +
+ +
+
+ Download Speed Limit +
+ +
- - -
- - - +
+ +
- + +
+ +
+
+
Password
+ + + +
+ +
+ +
+
+
); } } @@ -380,9 +414,16 @@ export class AdminPane extends React.Component { return (
-
-
- {/* */} +
+
+ + + Add New User + + +
+ +
{ Create User
- {/* */}
@@ -444,8 +484,16 @@ export class AdminPane extends React.Component {
-
-
+
+
+ + + Add New Role + + +
+ +