bugfix: time format in status panel,

update README.md for V0.0.12
This commit is contained in:
Stefan Dej 2020-05-11 08:40:00 +02:00
parent 52afc35fd6
commit 0a51b0d255
3 changed files with 5 additions and 5 deletions

View File

@ -173,7 +173,7 @@ Now we can install Mainsail.
Now you can download the current mainsail static data Now you can download the current mainsail static data
```bash ```bash
cd ~/mainsail cd ~/mainsail
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.0.11/mainsail-alpha-0.0.11.zip && unzip mainsail.zip && rm mainsail.zip wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.0.12/mainsail-alpha-0.0.12.zip && unzip mainsail.zip && rm mainsail.zip
``` ```
Now it should be possible to open the interface: `http://<printer-ip>/`. Now it should be possible to open the interface: `http://<printer-ip>/`.
@ -243,6 +243,6 @@ git fetch arksine && git checkout arksine/work-web_server-20200131
~/klipper/scripts/install-moonraker.sh #optional: only for the first installation of moonraker ~/klipper/scripts/install-moonraker.sh #optional: only for the first installation of moonraker
rm -R ~/mainsail/* rm -R ~/mainsail/*
cd ~/mainsail cd ~/mainsail
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.0.11/mainsail-alpha-0.0.11.zip && unzip mainsail.zip && rm mainsail.zip wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.0.12/mainsail-alpha-0.0.12.zip && unzip mainsail.zip && rm mainsail.zip
``` ```
and update your macros & nginx config. and update your macros & nginx config.

View File

@ -69,7 +69,7 @@
<v-dialog v-model="isConnecting" persistent width="300"> <v-dialog v-model="isConnecting" persistent width="300">
<v-card color="primary" dark > <v-card color="primary" dark >
<v-card-text class="pt-2"> <v-card-text class="pt-2">
Connecting to Klipper Connecting...
<v-progress-linear indeterminate color="white" class="mb-0"></v-progress-linear> <v-progress-linear indeterminate color="white" class="mb-0"></v-progress-linear>
</v-card-text> </v-card-text>
</v-card> </v-card>

View File

@ -155,8 +155,8 @@
formatTime(seconds) { formatTime(seconds) {
let h = Math.floor(seconds / 3600); let h = Math.floor(seconds / 3600);
seconds %= 3600; seconds %= 3600;
let m = Math.floor(seconds / 60); let m = ("0" + Math.floor(seconds / 60)).slice(-2);
let s = seconds % 60; let s = ("0" + (seconds % 60).toFixed(0)).slice(-2);
return h+':'+m+':'+s; return h+':'+m+':'+s;
}, },