-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Format tf, ts, js, html and css files
- Loading branch information
Showing
11 changed files
with
474 additions
and
314 deletions.
There are no files selected for viewing
20 changes: 14 additions & 6 deletions
20
demo/dockerfiles/demo-theia-docker/project/web/src/contentgenerator.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
interface Config { | ||
name: string; | ||
time: Date; | ||
name: string; | ||
time: Date; | ||
} | ||
|
||
function generateContents(config: Config) { | ||
return "Hello " + config.name + "! It's " + config.time.getHours() + " o\'clock and " + config.time.getMinutes() + " minutes." | ||
return ( | ||
"Hello " + | ||
config.name + | ||
"! It's " + | ||
config.time.getHours() + | ||
" o'clock and " + | ||
config.time.getMinutes() + | ||
" minutes." | ||
); | ||
} | ||
|
||
var config: Config = { | ||
name: "Sasha", | ||
time: new Date(), | ||
} | ||
name: "Sasha", | ||
time: new Date(), | ||
}; | ||
|
||
document.body.innerHTML = generateContents(config); |
11 changes: 5 additions & 6 deletions
11
demo/dockerfiles/demo-theia-docker/project/web/src/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="stylesheet" href="styles.css"> | ||
<meta charset="utf-8"> | ||
<link rel="stylesheet" href="styles.css" /> | ||
<meta charset="utf-8" /> | ||
<title>Theia Cloud</title> | ||
</head> | ||
<body> | ||
<script src="contentgenerator.js"></script> | ||
<script src="updatecontents.js"></script> | ||
<script src="contentgenerator.js"></script> | ||
<script src="updatecontents.js"></script> | ||
</body> | ||
<footer> | ||
</footer> | ||
<footer></footer> | ||
</html> |
19 changes: 12 additions & 7 deletions
19
demo/dockerfiles/demo-theia-docker/project/web/src/styles.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
body { | ||
background: rgb(255,218,218); | ||
background: linear-gradient(90deg, rgba(255,218,218,1) 0%, rgba(255,218,218,1) 3%, rgba(215,248,255,1) 100%); | ||
background: rgb(255, 218, 218); | ||
background: linear-gradient( | ||
90deg, | ||
rgba(255, 218, 218, 1) 0%, | ||
rgba(255, 218, 218, 1) 3%, | ||
rgba(215, 248, 255, 1) 100% | ||
); | ||
} | ||
|
||
html { | ||
font-family: Arial, Helvetica, sans-serif; | ||
text-align: center; | ||
font-size: large; | ||
color:darkslategray; | ||
} | ||
font-family: Arial, Helvetica, sans-serif; | ||
text-align: center; | ||
font-size: large; | ||
color: darkslategray; | ||
} |
4 changes: 3 additions & 1 deletion
4
demo/dockerfiles/demo-theia-docker/project/web/src/updatecontents.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
setTimeout(function () { document.body.innerHTML = "Bye bye!"; }, 10000); | ||
setTimeout(function () { | ||
document.body.innerHTML = "Bye bye!"; | ||
}, 10000); |
20 changes: 14 additions & 6 deletions
20
demo/dockerfiles/demo-theia-monitor-vscode/project/web/src/contentgenerator.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
interface Config { | ||
name: string; | ||
time: Date; | ||
name: string; | ||
time: Date; | ||
} | ||
|
||
function generateContents(config: Config) { | ||
return "Hello " + config.name + "! It's " + config.time.getHours() + " o\'clock and " + config.time.getMinutes() + " minutes." | ||
return ( | ||
"Hello " + | ||
config.name + | ||
"! It's " + | ||
config.time.getHours() + | ||
" o'clock and " + | ||
config.time.getMinutes() + | ||
" minutes." | ||
); | ||
} | ||
|
||
var config: Config = { | ||
name: "Sasha", | ||
time: new Date(), | ||
} | ||
name: "Sasha", | ||
time: new Date(), | ||
}; | ||
|
||
document.body.innerHTML = generateContents(config); |
11 changes: 5 additions & 6 deletions
11
demo/dockerfiles/demo-theia-monitor-vscode/project/web/src/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="stylesheet" href="styles.css"> | ||
<meta charset="utf-8"> | ||
<link rel="stylesheet" href="styles.css" /> | ||
<meta charset="utf-8" /> | ||
<title>Theia Cloud</title> | ||
</head> | ||
<body> | ||
<script src="contentgenerator.js"></script> | ||
<script src="updatecontents.js"></script> | ||
<script src="contentgenerator.js"></script> | ||
<script src="updatecontents.js"></script> | ||
</body> | ||
<footer> | ||
</footer> | ||
<footer></footer> | ||
</html> |
19 changes: 12 additions & 7 deletions
19
demo/dockerfiles/demo-theia-monitor-vscode/project/web/src/styles.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
body { | ||
background: rgb(255,218,218); | ||
background: linear-gradient(90deg, rgba(255,218,218,1) 0%, rgba(255,218,218,1) 3%, rgba(215,248,255,1) 100%); | ||
background: rgb(255, 218, 218); | ||
background: linear-gradient( | ||
90deg, | ||
rgba(255, 218, 218, 1) 0%, | ||
rgba(255, 218, 218, 1) 3%, | ||
rgba(215, 248, 255, 1) 100% | ||
); | ||
} | ||
|
||
html { | ||
font-family: Arial, Helvetica, sans-serif; | ||
text-align: center; | ||
font-size: large; | ||
color:darkslategray; | ||
} | ||
font-family: Arial, Helvetica, sans-serif; | ||
text-align: center; | ||
font-size: large; | ||
color: darkslategray; | ||
} |
4 changes: 3 additions & 1 deletion
4
demo/dockerfiles/demo-theia-monitor-vscode/project/web/src/updatecontents.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
setTimeout(function () { document.body.innerHTML = "Bye bye!"; }, 10000); | ||
setTimeout(function () { | ||
document.body.innerHTML = "Bye bye!"; | ||
}, 10000); |
676 changes: 404 additions & 272 deletions
676
.../service/org.eclipse.theia.cloud.service/src/main/resources/META-INF/resources/index.html
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters