|
5 | 5 |
|
6 | 6 | import { Col, Divider, Modal, Row, Tabs, TabsProps } from "antd"; |
7 | 7 | import { Gutter } from "antd/es/grid/row"; |
8 | | -import { useProjectContext } from "@cocalc/frontend/project/context"; |
| 8 | +import { FormattedMessage } from "react-intl"; |
| 9 | + |
9 | 10 | import { useState } from "@cocalc/frontend/app-framework"; |
10 | 11 | import { A, Icon, Paragraph, Text, Title } from "@cocalc/frontend/components"; |
11 | 12 | import { |
| 13 | + cloudFilesystemsEnabled, |
12 | 14 | ComputeServerDocs, |
13 | 15 | ComputeServers, |
14 | 16 | computeServersEnabled, |
15 | | - cloudFilesystemsEnabled, |
16 | 17 | } from "@cocalc/frontend/compute"; |
| 18 | +import CloudFilesystems from "@cocalc/frontend/compute/cloud-filesystem/cloud-filesystems"; |
| 19 | +import { |
| 20 | + getServerTab, |
| 21 | + setServerTab, |
| 22 | + TabName, |
| 23 | +} from "@cocalc/frontend/compute/tab"; |
| 24 | +import { useStudentProjectFunctionality } from "@cocalc/frontend/course"; |
17 | 25 | import { HelpEmailLink } from "@cocalc/frontend/customize"; |
| 26 | +import { useProjectContext } from "@cocalc/frontend/project/context"; |
18 | 27 | import { R_IDE } from "@cocalc/util/consts/ui"; |
19 | 28 | import { NamedServerName } from "@cocalc/util/types/servers"; |
20 | 29 | import { NamedServerPanel } from "../named-server-panel"; |
21 | 30 | import { NewFileButton } from "../new/new-file-button"; |
22 | 31 | import { SagewsControl } from "../settings/sagews-control"; |
23 | 32 | import { useAvailableFeatures } from "../use-available-features"; |
24 | 33 | import { ICON_NAME, ROOT_STYLE, TITLE } from "./consts"; |
25 | | -import CloudFilesystems from "@cocalc/frontend/compute/cloud-filesystem/cloud-filesystems"; |
26 | | -import { |
27 | | - getServerTab, |
28 | | - setServerTab, |
29 | | - TabName, |
30 | | -} from "@cocalc/frontend/compute/tab"; |
31 | | -import { FormattedMessage } from "react-intl"; |
32 | | -import { useStudentProjectFunctionality } from "@cocalc/frontend/course"; |
33 | 34 |
|
34 | 35 | // Antd's 24 grid system |
35 | 36 | const md = 6; |
@@ -243,7 +244,7 @@ export function ProjectServers() { |
243 | 244 | } |
244 | 245 |
|
245 | 246 | return ( |
246 | | - <div style={{ ...ROOT_STYLE, margin: "0 auto" }}> |
| 247 | + <div style={ROOT_STYLE}> |
247 | 248 | <Title level={2}> |
248 | 249 | <Icon name={ICON_NAME} /> {TITLE} |
249 | 250 | </Title> |
|
0 commit comments