mirror of
https://github.com/louislam/dockge.git
synced 2024-11-27 13:14:03 +00:00
Update README
This commit is contained in:
parent
bbe6bc42e0
commit
3cf4a10e70
7 changed files with 18 additions and 19 deletions
|
@ -86,8 +86,8 @@ export const TERMINAL_COLS = 105;
|
||||||
export const TERMINAL_ROWS = 10;
|
export const TERMINAL_ROWS = 10;
|
||||||
export const PROGRESS_TERMINAL_ROWS = 8;
|
export const PROGRESS_TERMINAL_ROWS = 8;
|
||||||
|
|
||||||
export const COMBINED_TERMINAL_COLS = 56;
|
export const COMBINED_TERMINAL_COLS = 58;
|
||||||
export const COMBINED_TERMINAL_ROWS = 15;
|
export const COMBINED_TERMINAL_ROWS = 20;
|
||||||
|
|
||||||
export const ERROR_TYPE_VALIDATION = 1;
|
export const ERROR_TYPE_VALIDATION = 1;
|
||||||
|
|
||||||
|
|
|
@ -77,8 +77,8 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.terminal = new Terminal({
|
this.terminal = new Terminal({
|
||||||
fontSize: 16,
|
fontSize: 14,
|
||||||
fontFamily: "monospace",
|
fontFamily: "'JetBrains Mono', monospace",
|
||||||
cursorBlink,
|
cursorBlink,
|
||||||
cols: this.cols,
|
cols: this.cols,
|
||||||
rows: this.rows,
|
rows: this.rows,
|
||||||
|
|
|
@ -13,6 +13,7 @@ import Toast, { POSITION, useToast } from "vue-toastification";
|
||||||
import "xterm/lib/xterm.js";
|
import "xterm/lib/xterm.js";
|
||||||
|
|
||||||
// CSS
|
// CSS
|
||||||
|
import "@fontsource/jetbrains-mono";
|
||||||
import "vue-toastification/dist/index.css";
|
import "vue-toastification/dist/index.css";
|
||||||
import "xterm/css/xterm.css";
|
import "xterm/css/xterm.css";
|
||||||
import "./styles/main.scss";
|
import "./styles/main.scss";
|
||||||
|
|
|
@ -587,14 +587,13 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import 'firacode/distr/fira_code.css';
|
|
||||||
|
|
||||||
.terminal {
|
.terminal {
|
||||||
height: 200px;
|
height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-box {
|
.editor-box {
|
||||||
font-family: 'Fira Code', monospace;
|
font-family: 'JetBrains Mono', monospace;
|
||||||
|
font-size: 14px;
|
||||||
&.edit-mode {
|
&.edit-mode {
|
||||||
background-color: #2c2f38 !important;
|
background-color: #2c2f38 !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,8 +24,7 @@
|
||||||
|
|
||||||
<h2 class="mb-3">Docker Run</h2>
|
<h2 class="mb-3">Docker Run</h2>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<textarea id="name" v-model="dockerRunCommand" type="text" class="form-control docker-run" required
|
<textarea id="name" v-model="dockerRunCommand" type="text" class="form-control docker-run" required placeholder="docker run ..."></textarea>
|
||||||
placeholder="docker run ..."></textarea>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button class="btn-normal btn" @click="convertDockerRun">Convert to Compose</button>
|
<button class="btn-normal btn" @click="convertDockerRun">Convert to Compose</button>
|
||||||
|
@ -192,7 +191,6 @@ export default {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "../styles/vars";
|
@import "../styles/vars";
|
||||||
@import 'firacode/distr/fira_code.css';
|
|
||||||
|
|
||||||
.num {
|
.num {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
|
@ -229,6 +227,7 @@ table {
|
||||||
.docker-run {
|
.docker-run {
|
||||||
background-color: $dark-bg !important;
|
background-color: $dark-bg !important;
|
||||||
border: none;
|
border: none;
|
||||||
font-family: 'Fira Code', monospace;
|
font-family: 'JetBrains Mono', monospace;
|
||||||
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
"mark-as-nightly": "tsx ./extra/mark-as-nightly.ts"
|
"mark-as-nightly": "tsx ./extra/mark-as-nightly.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@fontsource/jetbrains-mono": "^5.0.17",
|
||||||
"@homebridge/node-pty-prebuilt-multiarch": "~0.11.10",
|
"@homebridge/node-pty-prebuilt-multiarch": "~0.11.10",
|
||||||
"@louislam/sqlite3": "~15.1.6",
|
"@louislam/sqlite3": "~15.1.6",
|
||||||
"bcryptjs": "~2.4.3",
|
"bcryptjs": "~2.4.3",
|
||||||
|
@ -27,7 +28,6 @@
|
||||||
"dayjs": "~1.11.10",
|
"dayjs": "~1.11.10",
|
||||||
"express": "~4.18.2",
|
"express": "~4.18.2",
|
||||||
"express-static-gzip": "~2.1.7",
|
"express-static-gzip": "~2.1.7",
|
||||||
"firacode": "^6.2.0",
|
|
||||||
"http-graceful-shutdown": "~3.1.13",
|
"http-graceful-shutdown": "~3.1.13",
|
||||||
"jsonwebtoken": "~9.0.2",
|
"jsonwebtoken": "~9.0.2",
|
||||||
"jwt-decode": "~3.1.2",
|
"jwt-decode": "~3.1.2",
|
||||||
|
|
|
@ -5,6 +5,9 @@ settings:
|
||||||
excludeLinksFromLockfile: false
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@fontsource/jetbrains-mono':
|
||||||
|
specifier: ^5.0.17
|
||||||
|
version: 5.0.17
|
||||||
'@homebridge/node-pty-prebuilt-multiarch':
|
'@homebridge/node-pty-prebuilt-multiarch':
|
||||||
specifier: ~0.11.10
|
specifier: ~0.11.10
|
||||||
version: 0.11.10
|
version: 0.11.10
|
||||||
|
@ -38,9 +41,6 @@ dependencies:
|
||||||
express-static-gzip:
|
express-static-gzip:
|
||||||
specifier: ~2.1.7
|
specifier: ~2.1.7
|
||||||
version: 2.1.7
|
version: 2.1.7
|
||||||
firacode:
|
|
||||||
specifier: ^6.2.0
|
|
||||||
version: 6.2.0
|
|
||||||
http-graceful-shutdown:
|
http-graceful-shutdown:
|
||||||
specifier: ~3.1.13
|
specifier: ~3.1.13
|
||||||
version: 3.1.13
|
version: 3.1.13
|
||||||
|
@ -469,6 +469,10 @@ packages:
|
||||||
- vue
|
- vue
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@fontsource/jetbrains-mono@5.0.17:
|
||||||
|
resolution: {integrity: sha512-Y/EtdbwKwNQTGpnMrexX8SVW6Jqlh0nX2bNHI9Z9m6FsyjbocZIFNJqwSY9bDUoi7irGtz8nuidAN7FF8wYuJA==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@fortawesome/fontawesome-common-types@6.4.2:
|
/@fortawesome/fontawesome-common-types@6.4.2:
|
||||||
resolution: {integrity: sha512-1DgP7f+XQIJbLFCTX1V2QnxVmpLdKdzzo2k8EmvDOePfchaIGQ9eCHj2up3/jNEbZuBqel5OxiaOJf37TWauRA==}
|
resolution: {integrity: sha512-1DgP7f+XQIJbLFCTX1V2QnxVmpLdKdzzo2k8EmvDOePfchaIGQ9eCHj2up3/jNEbZuBqel5OxiaOJf37TWauRA==}
|
||||||
engines: {node: '>=6'}
|
engines: {node: '>=6'}
|
||||||
|
@ -2128,10 +2132,6 @@ packages:
|
||||||
path-exists: 4.0.0
|
path-exists: 4.0.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/firacode@6.2.0:
|
|
||||||
resolution: {integrity: sha512-t5R3aO2BmhRXnYtKXbImLVNsILuCIbJ/XlDzBufjpi3il8P/CVdpWco83Ud3r2Tl0gitAmyP4o1fbJ52ozV1jw==}
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/flat-cache@3.1.1:
|
/flat-cache@3.1.1:
|
||||||
resolution: {integrity: sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q==}
|
resolution: {integrity: sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
|
|
Loading…
Reference in a new issue