File tree Expand file tree Collapse file tree 4 files changed +4
-46
lines changed
Expand file tree Collapse file tree 4 files changed +4
-46
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 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