Skip to content

Commit dabcf59

Browse files
wip push
1 parent 2b94ec0 commit dabcf59

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# CyberGIS-Compute Web App
2+
3+
**THIS IS VERY EARLY WORK, PLEASE USE OUR PYTHON SDK**
4+
5+
[CyberGIS-Compute Python SDK](https://cybergis.github.io/cybergis-compute-python-sdk/)
6+
17
# React + TypeScript + Vite
28

39
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/svg+xml" href="/cybergiscenter.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite + React + TS</title>
7+
<title>CyberGIS-Compute</title>
88
</head>
99
<body>
1010
<div id="root"></div>

public/cybergiscenter.png

23.9 KB
Loading

src/App.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ function App() {
182182
const handleJobNameChange = (event: ChangeEvent<HTMLInputElement>) => {
183183
setJobName(event.target.value);
184184
console.log(169, 'Job name changed to:', event.target.value);
185+
// also update the parameters and everything here
185186
}
186187

187188
// Code to handle job submission
@@ -309,7 +310,7 @@ function App() {
309310
<ChakraProvider>
310311
<Box className="p-4">
311312
<Box className="flex justify-between items-center border-b pb-4 mb-4">
312-
<Heading size="lg">Welcome to CyberGIS-Compute</Heading>
313+
<Heading size="lg">CyberGIS-Compute Web App (ALPHA RELEASE, UNSTABLE)</Heading>
313314
<Tabs variant="enclosed">
314315
<TabList>
315316
<Tab>Job Configuration</Tab>
@@ -323,11 +324,11 @@ function App() {
323324
<Tabs variant="enclosed">
324325
<TabPanels>
325326
<TabPanel>
326-
{/* ANNOUNCEMENTS */}
327+
{/* ANNOUNCEMENTS
327328
<Box className="mb-4">
328329
<Heading size="md" className="mb-2">Announcements</Heading>
329330
<Announcements />
330-
</Box>
331+
</Box>*/}
331332

332333
<Box className="text-left">
333334
{/* JOB TEMPLATE DROPDOWN */}
@@ -392,8 +393,8 @@ function App() {
392393
</Box>
393394
</Box>
394395
<Text className="mb-4">{submissionResponse ? submissionResponse : "Submit a job to view its status"}</Text>
395-
<Text className="mb-4">{jobFinished ? jobFinished : "Awaiting Job Completion"}</Text>
396-
<Text className="mb-4">{jobOutput ? jobOutput : "Awaiting Job Completion"}</Text>
396+
<Text className="mb-4">{jobFinished ? jobFinished : "Awaiting Job Submission"}</Text>
397+
<Text className="mb-4">{jobOutput ? jobOutput : "Awaiting Job Submission"}</Text>
397398
</TabPanel>
398399
<TabPanel>
399400
{/* Add content for "Your Job Status" tab here */}

0 commit comments

Comments
 (0)