diff --git a/public/css/master.css b/public/css/master.css index f0862ec..9ce1c07 100644 --- a/public/css/master.css +++ b/public/css/master.css @@ -308,7 +308,6 @@ table.gb-admin tr td.gb-message { table.info-table tr td { border: none; padding-right: 5px; - vertical-align: bottom; } table.info-table tr td h1, @@ -387,3 +386,8 @@ .error-box p { margin: 0; color: var(--foreground) } + +.never-said { + width: 400px; +} + diff --git a/public/js/neverSaid.js b/public/js/neverSaid.js new file mode 100644 index 0000000..665094d --- /dev/null +++ b/public/js/neverSaid.js @@ -0,0 +1,35 @@ +// Define an array of strings +const neverSaid = [ + "ASM: The Director liked all the props we got today.", + "PM: Ah ha, a revolve. Terrific.", + "Chippie: I don't know, let's look at the ground plan.", + "Set Designer: Well, let's just have whatever is cheaper.", + "Sound: Better turn that down a bit. We don't want to deafen them.", + "Director: Sorry, my mistake.", + "Electrics: This equipment is more complicated than we need.", + "Performer: I really think my big scene should be cut.", + "SM: Can we doo that scene change again please?", + "LX designer: Bit more light from those big chaps at the side. Yes that's right, the ones on stalks whatever they are called.", + "Electrics: All the equipment works perfectly.", + "Musicians: So what if that's the end of a call. Let's just finish this bit off.", + "Wardrobe: Now, when exactly is the first dress rehearsal?", + "Workshop: I don't want anyone to know, but if you insist then yes, I admit it, I have just done an all-nighter.", + "Performer: This costume is so comfortable.", + "Admin: The level of overtime payments here are simply unacceptable. Our backstage staff deserve better.", + "Box Office: Comps? No problem.", + "Set Designer: You're right, it looks dreadful.", + "Flyman: No, my lips are sealed. What I may or may not have seen remains a secret.", + "Electrics: That had nothing to do with the computer, it was my fault.", + "Crew: No, no, I'm sure that's our job.", + "SMgt: Thanks, but I don't drink", + "Performer: Let me stand down here with my back to the audience.", + "Chippie: I can't really manage those big fast power tools myself.", + "Chippie: I prefer to use these little hand drills.", + "All: Let's go and ask the Production Manager. He'll know." +] + +// Generate a random index into the array +const randomIndex = Math.floor(Math.random() * neverSaid.length); + +// Use document.write to output the random string +document.write(neverSaid[randomIndex]); diff --git a/resources/views/pages/home.blade.php b/resources/views/pages/home.blade.php index 0dc466a..3aa69c5 100644 --- a/resources/views/pages/home.blade.php +++ b/resources/views/pages/home.blade.php @@ -2,7 +2,20 @@ @section('title', 'Home') @section('description', 'This is the personal homepage of floppydisk.') @section('content') -

Hi! This my personal homepage on the World Wide Web. +

Hi! This my personal homepage on the World Wide Web.

+ + + + + + + + +
+