File tree Expand file tree Collapse file tree 7 files changed +10
-52
lines changed
Expand file tree Collapse file tree 7 files changed +10
-52
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default function InstrumentWallCard({
1212 < Link
1313 href = { "/instrument?name=" + instrument . name }
1414 target = "_blank"
15- className = { `flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
15+ className = { `flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
1616 ${ getStatusColour ( instrument . runStateValue || "UNKNOWN" ) } ${ getForegroundColour (
1717 instrument . runStateValue || "UNKNOWN" ,
1818 ) } `}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ exports[`renders instrumentwallcard unchanged 1`] = `
66 class = " flex"
77 >
88 <a
9- class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
9+ class = " flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
1010 bg-[#90EE90] text-black"
1111 href = " /instrument?name=Instrument"
1212 target = " _blank"
@@ -36,7 +36,7 @@ exports[`renders instrumentwallcard unchanged when runstate is unknown 1`] = `
3636 class = " flex"
3737 >
3838 <a
39- class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
39+ class = " flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
4040 bg-[#F08080] text-black"
4141 href = " /instrument?name=Instrument1"
4242 target = " _blank"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ exports[`renders sciencegroup unchanged 1`] = `
1717 class = " flex"
1818 >
1919 <a
20- class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
20+ class = " flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
2121 bg-[#90EE90] text-black"
2222 href = " /instrument?name=Instrument"
2323 target = " _blank"
@@ -42,7 +42,7 @@ exports[`renders sciencegroup unchanged 1`] = `
4242 class = " flex"
4343 >
4444 <a
45- class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
45+ class = " flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
4646 bg-[#DAA520] text-black"
4747 href = " /instrument?name=Instrument2"
4848 target = " _blank"
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ exports[`renders targetstation unchanged 1`] = `
1919 class = " flex"
2020 >
2121 <a
22- class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
22+ class = " flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
2323 bg-green-900 text-white"
2424 href = " /instrument?name=Instrument"
2525 target = " _blank"
@@ -44,7 +44,7 @@ exports[`renders targetstation unchanged 1`] = `
4444 class = " flex"
4545 >
4646 <a
47- class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
47+ class = " flex items-center justify-center text-center py-1 w-28 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
4848 bg-[#FFFF00] text-black"
4949 href = " /instrument?name=Instrument2"
5050 target = " _blank"
Original file line number Diff line number Diff line change 1- import ShowHideBeamInfo from "../components/ShowHideBeamInfo" ;
21import JenkinsJobs from "../components/JenkinsJobs" ;
32import InstrumentsDisplay from "@/app/components/InstrumentsDisplay" ;
43
@@ -7,22 +6,17 @@ export default function WallDisplay() {
76 < main
87 className = { `flex min-h-screen bg-white dark:bg-zinc-800 flex-col items-center justify-between` }
98 >
10- < section className = " rounded-xl w-full md:px-0 md:w-11/12 my-4 " >
9+ < section className = "rounded-xl w-full md:px-0 md:w-11/12 my-2 " >
1110 < div className = "mx-auto " >
12- < ShowHideBeamInfo />
13- < div className = "w-full mx-auto text-left flex justify-center items-center p-8 dark:bg-zinc-900 rounded-xl" >
11+ < div className = "w-full mx-auto text-left flex justify-center items-center pb-8 px-8 dark:bg-zinc-900 rounded-xl" >
1412 < div
1513 id = "status"
1614 className = "flex flex-col justify-center items-center"
1715 >
18- < h1 className = "w-full text-left text-black dark:text-white font-semibold text-2xl " >
19- Instrument Status:
20- </ h1 >
2116 < InstrumentsDisplay />
2217 </ div >
2318 </ div >
24- < hr className = "h-[2px] rounded my-4 bg-gray-200 border-0 dark:bg-gray-600" />
25- < h1 className = "w-full text-left text-black dark:text-white font-semibold text-2xl pb-2 " >
19+ < h1 className = "w-full text-left text-black dark:text-white font-semibold text-2xl p-2 " >
2620 Jenkins jobs:
2721 </ h1 >
2822 < JenkinsJobs />
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ const config: Config = {
1717 "!**/*layout.tsx" ,
1818 "!app/_app.tsx" ,
1919 "!app/components/JenkinsJobs.tsx" , // relies on an external fetch
20- "!app/components/ShowHideBeamInfo.tsx" , // relies on an external image
2120 "!app/components/InstrumentData.tsx" , // relies on websocket
2221 "!app/wall/page.tsx" , // relies on JenkinsJobs
2322 "!app/instruments/page.tsx" , // no logic here
You can’t perform that action at this time.
0 commit comments