This commit is contained in:
rouce 2023-11-05 17:53:42 -05:00
parent 21ce16b2a7
commit ba3d17a9b9
3 changed files with 4 additions and 5 deletions

View file

@ -1,5 +1,5 @@
### maintenance-page
Alter line 69: `var countDownDate = new Date("Nov 5, 2023 18:00:00").getTime();` to set the time that maintenance is expected to be completed.
Alter line: `var countDownDate = new Date("Nov 5, 2023 18:00:00").getTime();` to set the time that maintenance is expected to be completed.
To change the animation, reference asciinema docs https://asciinema.org/docs/usage the basic idea is that you record your terminal, name the .cast file to something memorable, and then change line 16: `'/assets/train.cast'` to reflect the change
To change the animation, reference asciinema docs https://asciinema.org/docs/usage the basic idea is that you record your terminal, name the .cast file to something memorable, and then change line: `'/maintenance-page/assets/train.cast'` to reflect the change

View file

@ -1130,4 +1130,3 @@
[22.35321, "o", "\u001b[J\u001b[36dA\u001b[K\u001b[37d\b|\u001b[K\u001b[38d\b|\u001b[K\u001b[39d\b|_\u001b[K\r\u001b[40d|_\u001b[K"]
[22.393419, "o", "\r\u001b[36d\u001b[K\u001b[37d\u001b[K\u001b[38d\u001b[K\u001b[39d_\u001b[K\u001b[40d\b_\u001b[K"]
[22.43371, "o", "\u001b[A\b"]
[22.433837, "o", "\u001b[J"]

View file

@ -17,8 +17,8 @@
AsciinemaPlayer.create(
'/maintenance-page/assets/train.cast',
document.getElementById('player'), {
loop: 1,
autoplay: 1,
loop: true,
autoplay: true,
rows: 50,
theme: "asciinema",
}