Skip to content

Commit

Permalink
Merge pull request #1672 from mrpalide/fix/build-new-ui
Browse files Browse the repository at this point in the history
Rebuild Hypervisor UI
  • Loading branch information
mrpalide committed Nov 3, 2023
2 parents c615652 + 5bb7903 commit 3ed492a
Show file tree
Hide file tree
Showing 47 changed files with 165 additions and 110 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

updates may be generated with `scripts/changelog.sh <PR#lowest> <PR#highest>`

## 1.3.14

- Rebuild Hypervisor UI [#1672](https://github.com/skycoin/skywire/pull/1672)
- Fix two panic issues on `skywire-cli` commands [#1671](https://github.com/skycoin/skywire/pull/1671)
- Improve UI and Backend on `reboot` and `turn off` [#1670](https://github.com/skycoin/skywire/pull/1670)
- add skywire version to `skywire-cli log` [#1669](https://github.com/skycoin/skywire/pull/1669)
- fix issue fetching data from hardcoded server [#1666](https://github.com/skycoin/skywire/pull/1666)
- Fix wrong config generation with t flag [#1661](https://github.com/skycoin/skywire/pull/1661)

## 1.3.9

- Fix `skywire-cli config gen -r`

## 1.3.8

- Rebuild Hypervisor UI [#1583](https://github.com/skycoin/skywire/pull/1583)
- Rebuild Hypervisor UI [#1583](https://github.com/skycoin/skywire/pull/1583)
- Change Logserver to use c.JSON method ; remove variable for endpoint name '/node-info' [#1582](https://github.com/skycoin/skywire/pull/1582)
- update changelog [#1580](https://github.com/skycoin/skywire/pull/1580)
Expand Down
1 change: 0 additions & 1 deletion pkg/visor/static/268.35663b722cee380a.js

This file was deleted.

1 change: 1 addition & 0 deletions pkg/visor/static/268.c0b8e83e0a291a52.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pkg/visor/static/431.1f4577c404f8817c.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pkg/visor/static/431.859df310b58bc96b.js

This file was deleted.

1 change: 0 additions & 1 deletion pkg/visor/static/48.1bb60b158d93cf7f.js

This file was deleted.

1 change: 1 addition & 0 deletions pkg/visor/static/48.f3c46c7fb32dae39.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pkg/visor/static/502.58e896e8ce0ed015.js

This file was deleted.

1 change: 1 addition & 0 deletions pkg/visor/static/502.a4e9fc35b045124a.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pkg/visor/static/634.9f8ff3633ebe9e11.js

This file was deleted.

1 change: 1 addition & 0 deletions pkg/visor/static/634.c0a4f0f1cd0c7990.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pkg/visor/static/733.0148c3717285573b.js

This file was deleted.

1 change: 1 addition & 0 deletions pkg/visor/static/733.247affe9af11643d.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pkg/visor/static/974.09ece36b855cb059.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pkg/visor/static/974.c5a367fdf75808a3.js

This file was deleted.

7 changes: 1 addition & 6 deletions pkg/visor/static/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,7 @@
"menu": {
"terminal": "Terminal",
"config": "Konfiguration",
"update": "Aktualisieren",
"reboot": "Neustart"
},
"reboot": {
"confirmation": "Den Visor wirklich neustarten?",
"done": "Der Visor wird neu gestartet."
"update": "Aktualisieren"
},
"terminal-options": {
"full": "Terminal",
Expand Down
7 changes: 1 addition & 6 deletions pkg/visor/static/assets/i18n/de_base.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,7 @@
"menu": {
"terminal": "Terminal",
"config": "Configuration",
"update": "Update",
"reboot": "Reboot"
},
"reboot": {
"confirmation": "Are you sure you want to reboot the visor?",
"done": "The visor is restarting."
"update": "Update"
},
"terminal-options": {
"full": "Full terminal",
Expand Down
19 changes: 14 additions & 5 deletions pkg/visor/static/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,16 +336,16 @@
"terminal": "Terminal",
"config": "Configuration",
"update": "Update",
"reboot": "Reboot",
"turn-off": "Turn off",
"logs": "View logs"
},
"reboot": {
"confirmation": "Are you sure you want to reboot the visor?",
"done": "The visor is restarting."
},
"update": {
"confirmation": "A terminal will be opened in a new tab and the update procedure will be started automatically. Do you want to continue?"
},
"turn-off": {
"confirmation": "Are you sure you want to turn off the visor?",
"done": "The visor is shutting down."
},
"terminal-options": {
"full": "Full terminal",
"simple": "Simple terminal"
Expand Down Expand Up @@ -457,6 +457,15 @@
"empty-confirmation": "The settings list is empty. Do you really want to continue?",
"changes-made": "The changes have been made."
},
"skychat-settings": {
"title": "Skychat Settings",
"localhost-only": "Allow access from the local machine only",
"port": "Port",
"save": "Save",
"changes-made": "The changes have been made.",
"port-error": "Must be a valid number between 1025 and 65536.",
"non-localhost-confirmation": "This will allow to use the app from anywhere on the internet. Are you sure you vant to continue?"
},
"vpn-socks-server-settings": {
"socks-title": "Skysocks Settings",
"vpn-title": "VPN-Server Settings",
Expand Down
19 changes: 14 additions & 5 deletions pkg/visor/static/assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,16 +340,16 @@
"terminal": "Terminal",
"config": "Configuración",
"update": "Actualizar",
"reboot": "Reiniciar",
"turn-off": "Apagar",
"logs": "Ver logs"
},
"reboot": {
"confirmation": "¿Seguro que desea reiniciar el visor?",
"done": "El visor se está reiniciando."
},
"update": {
"confirmation": "Una terminal será abierta en una nueva pestaña y el proceso de actualización iniciará automáticamente. ¿Desea continuar?"
},
"turn-off": {
"confirmation": "¿Seguro que desea apagar el visor?",
"done": "El visor se está apagando."
},
"terminal-options": {
"full": "Terminal completa",
"simple": "Terminal simple"
Expand Down Expand Up @@ -461,6 +461,15 @@
"empty-confirmation": "La lista de configuración está vacía. ¿Realmente desea continuar?",
"changes-made": "Los cambios han sido realizados."
},
"skychat-settings": {
"title": "Configuración de Skychat",
"localhost-only": "Permitir acceso sólo desde la máquina local",
"port": "Puerto",
"save": "Guardar",
"changes-made": "Los cambios han sido realizados.",
"port-error": "Debe ser un número válido entre 1025 y 65536.",
"non-localhost-confirmation": "Esto permitirá usar la aplicación desde cualquier lugar en Internet. ¿Seguro que desea continuar?"
},
"vpn-socks-server-settings": {
"socks-title": "Configuración de Skysocks",
"vpn-title": "Configuración de VPN-Server",
Expand Down
19 changes: 14 additions & 5 deletions pkg/visor/static/assets/i18n/es_base.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,16 +340,16 @@
"terminal": "Terminal",
"config": "Configuration",
"update": "Update",
"reboot": "Reboot",
"turn-off": "Turn off",
"logs": "View logs"
},
"reboot": {
"confirmation": "Are you sure you want to reboot the visor?",
"done": "The visor is restarting."
},
"update": {
"confirmation": "A terminal will be opened in a new tab and the update procedure will be started automatically. Do you want to continue?"
},
"turn-off": {
"confirmation": "Are you sure you want to turn off the visor?",
"done": "The visor is shutting down."
},
"terminal-options": {
"full": "Full terminal",
"simple": "Simple terminal"
Expand Down Expand Up @@ -461,6 +461,15 @@
"empty-confirmation": "The settings list is empty. Do you really want to continue?",
"changes-made": "The changes have been made."
},
"skychat-settings": {
"title": "Skychat Settings",
"localhost-only": "Allow access from the local machine only",
"port": "Port",
"save": "Save",
"changes-made": "The changes have been made.",
"port-error": "Must be a valid number between 1025 and 65536.",
"non-localhost-confirmation": "This will allow to use the app from anywhere on the internet. Are you sure you vant to continue?"
},
"vpn-socks-server-settings": {
"socks-title": "Skysocks Settings",
"vpn-title": "VPN-Server Settings",
Expand Down
9 changes: 2 additions & 7 deletions pkg/visor/static/assets/i18n/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,7 @@
"menu": {
"terminal": "Terminal",
"config": "Configuração",
"update": "Atualizar",
"reboot": "Reiniciar"
},
"reboot": {
"confirmation": "Tem certeza de que deseja reiniciar o visor?",
"done": "O visor está reiniciando."
"update": "Atualizar"
},
"terminal-options": {
"full": "Terminal completo",
Expand Down Expand Up @@ -568,4 +563,4 @@
"tabs-window": {
"title": "Alterar guia"
}
}
}
7 changes: 1 addition & 6 deletions pkg/visor/static/assets/i18n/pt_base.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,7 @@
"menu": {
"terminal": "Terminal",
"config": "Configuration",
"update": "Update",
"reboot": "Reboot"
},
"reboot": {
"confirmation": "Are you sure you want to reboot the visor?",
"done": "The visor is restarting."
"update": "Update"
},
"terminal-options": {
"full": "Full terminal",
Expand Down
24 changes: 24 additions & 0 deletions pkg/visor/static/assets/scss/_dialogs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,27 @@ app-dialog {
}
}
}

// Style for the button that is shown in some modals under the tittle and above the content.
.top-dialog-button {
margin-left: -$mat-dialog-padding;
margin-right: -$mat-dialog-padding;
font-size: $font-size-smaller;
background-color: #d9deeb;
color: $black;
cursor: pointer;

&:hover {
background-color: darken(#d9deeb, 3%);
}

.top-dialog-button-content {
padding: 10px $mat-dialog-padding;
}

.top-dialog-button-margin {
height: 1px;
background-color: $modal-separator;
margin: 0 12px;
}
}
4 changes: 2 additions & 2 deletions pkg/visor/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#0072FF">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<style>@charset "UTF-8";@font-face{font-family:Skycoin;font-style:normal;font-weight:300;src:url(/assets/fonts/skycoin/skycoin-light-webfont.woff2) format("woff2"),url(/assets/fonts/skycoin/skycoin-light-webfont.woff) format("woff")}@font-face{font-family:Skycoin;font-style:normal;font-weight:400;src:url(/assets/fonts/skycoin/skycoin-regular-webfont.woff2) format("woff2"),url(/assets/fonts/skycoin/skycoin-regular-webfont.woff) format("woff")}@font-face{font-family:Skycoin;font-style:normal;font-weight:700;src:url(/assets/fonts/skycoin/skycoin-bold-webfont.woff2) format("woff2"),url(/assets/fonts/skycoin/skycoin-bold-webfont.woff) format("woff")}.app-background{width:100%;height:100%;top:0;left:0;position:fixed;background:linear-gradient(#060a10,#0a1421) no-repeat fixed!important;box-shadow:inset 0 0 200px #608dcd40;z-index:-1}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(32,34,38,0)}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#f8f9f9}html{box-sizing:border-box;-ms-overflow-style:scrollbar}*,*:before,*:after{box-sizing:inherit}html,body{height:100%;min-height:100%;font-family:Skycoin;margin:0;color:#f8f9f9!important;font-size:1rem;-webkit-backface-visibility:hidden;backface-visibility:hidden}</style><link rel="stylesheet" href="styles.b68642c48a42e3fe.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.b68642c48a42e3fe.css"></noscript></head>
<style>@charset "UTF-8";@font-face{font-family:Skycoin;font-style:normal;font-weight:300;src:url(/assets/fonts/skycoin/skycoin-light-webfont.woff2) format("woff2"),url(/assets/fonts/skycoin/skycoin-light-webfont.woff) format("woff")}@font-face{font-family:Skycoin;font-style:normal;font-weight:400;src:url(/assets/fonts/skycoin/skycoin-regular-webfont.woff2) format("woff2"),url(/assets/fonts/skycoin/skycoin-regular-webfont.woff) format("woff")}@font-face{font-family:Skycoin;font-style:normal;font-weight:700;src:url(/assets/fonts/skycoin/skycoin-bold-webfont.woff2) format("woff2"),url(/assets/fonts/skycoin/skycoin-bold-webfont.woff) format("woff")}.app-background{width:100%;height:100%;top:0;left:0;position:fixed;background:linear-gradient(#060a10,#0a1421) no-repeat fixed!important;box-shadow:inset 0 0 200px #608dcd40;z-index:-1}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(32,34,38,0)}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#f8f9f9}html{box-sizing:border-box;-ms-overflow-style:scrollbar}*,*:before,*:after{box-sizing:inherit}html,body{height:100%;min-height:100%;font-family:Skycoin;margin:0;color:#f8f9f9!important;font-size:1rem;-webkit-backface-visibility:hidden;backface-visibility:hidden}</style><link rel="stylesheet" href="styles.d042d29aa78e1e43.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.d042d29aa78e1e43.css"></noscript></head>
<body>
<div class="app-background"></div>
<app-root></app-root>
<script src="runtime.812580d833aad179.js" type="module"></script><script src="polyfills.951b12835e27c1a3.js" type="module"></script><script src="scripts.b072fe148dd68f99.js" defer></script><script src="main.ab081323107f8567.js" type="module"></script>
<script src="runtime.13fa92ceb6e1663f.js" type="module"></script><script src="polyfills.951b12835e27c1a3.js" type="module"></script><script src="scripts.b072fe148dd68f99.js" defer></script><script src="main.4a7fb11987dcc572.js" type="module"></script>

</body></html>
1 change: 1 addition & 0 deletions pkg/visor/static/main.4a7fb11987dcc572.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pkg/visor/static/main.ab081323107f8567.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion static/skywire-manager-src/dist/268.35663b722cee380a.js

This file was deleted.

1 change: 0 additions & 1 deletion static/skywire-manager-src/dist/431.859df310b58bc96b.js

This file was deleted.

1 change: 0 additions & 1 deletion static/skywire-manager-src/dist/48.1bb60b158d93cf7f.js

This file was deleted.

1 change: 0 additions & 1 deletion static/skywire-manager-src/dist/502.58e896e8ce0ed015.js

This file was deleted.

1 change: 0 additions & 1 deletion static/skywire-manager-src/dist/634.9f8ff3633ebe9e11.js

This file was deleted.

1 change: 0 additions & 1 deletion static/skywire-manager-src/dist/733.0148c3717285573b.js

This file was deleted.

1 change: 0 additions & 1 deletion static/skywire-manager-src/dist/974.c5a367fdf75808a3.js

This file was deleted.

7 changes: 1 addition & 6 deletions static/skywire-manager-src/dist/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,7 @@
"menu": {
"terminal": "Terminal",
"config": "Konfiguration",
"update": "Aktualisieren",
"reboot": "Neustart"
},
"reboot": {
"confirmation": "Den Visor wirklich neustarten?",
"done": "Der Visor wird neu gestartet."
"update": "Aktualisieren"
},
"terminal-options": {
"full": "Terminal",
Expand Down
7 changes: 1 addition & 6 deletions static/skywire-manager-src/dist/assets/i18n/de_base.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,7 @@
"menu": {
"terminal": "Terminal",
"config": "Configuration",
"update": "Update",
"reboot": "Reboot"
},
"reboot": {
"confirmation": "Are you sure you want to reboot the visor?",
"done": "The visor is restarting."
"update": "Update"
},
"terminal-options": {
"full": "Full terminal",
Expand Down
Loading

0 comments on commit 3ed492a

Please sign in to comment.