Skip to content

Commit f4d6afb

Browse files
committed
Merge branch 'add_own_wall_display' of https://github.com/ISISComputingGroup/WebDashboard into add_own_wall_display
2 parents 7ec74a6 + c2c9756 commit f4d6afb

File tree

5 files changed

+56
-69
lines changed

5 files changed

+56
-69
lines changed

app/components/CheckToggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function CheckToggle({
2323
className="sr-only peer"
2424
/>
2525
<div className="relative w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"></div>
26-
<span className={"ms-3 text-sm font-medium" + textColour}>{text}</span>
26+
<span className={"ms-3 text-sm font-medium " + textColour}>{text}</span>
2727
</label>
2828
</div>
2929
);

app/components/InstrumentData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ let lastUpdate: string = "";
3030

3131
export function InstrumentData({ instrumentName }: { instrumentName: string }) {
3232
const [showHiddenBlocks, setShowHiddenBlocks] = useState(false);
33-
const CONFIG_DETAILS = "CS:BLOCKSERVER:GET_CURR_CONFIG_DETAILS";
33+
const CONFIG_DETAILS = "CS:BLOCKSERVER:WD_CONF_DETAILS";
3434
const [instlist, setInstlist] = useState<instList | null>(null);
3535
const [currentInstrument, setCurrentInstrument] = useState<Instrument | null>(
3636
null,

app/components/InstrumentsDisplay.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,14 @@ export default function InstrumentsDisplay({
5454
targetStation: "Target Station 1",
5555
instruments: [
5656
{ name: "ALF" },
57+
{ name: "ARGUS" },
58+
{ name: "CHRONUS" },
5759
{ name: "CRISP" },
5860
{ name: "EMMA-A" },
5961
{ name: "EMU" },
6062
{ name: "ENGINX" },
6163
{ name: "GEM" },
64+
{ name: "HIFI" },
6265
{
6366
name: "HIFI-CRYOMAG",
6467
},
@@ -102,8 +105,6 @@ export default function InstrumentsDisplay({
102105
{
103106
targetStation: "Miscellaneous",
104107
instruments: [
105-
{ name: "ARGUS" },
106-
{ name: "CHRONUS" },
107108
{
108109
name: "CRYOLAB_R80",
109110
},
@@ -113,7 +114,6 @@ export default function InstrumentsDisplay({
113114
{
114115
name: "ENGINX_SETUP",
115116
},
116-
{ name: "HIFI" },
117117
{
118118
name: "HRPD_SETUP",
119119
},

package-lock.json

Lines changed: 50 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"@types/pako": "^2.0.3",
1818
"cross-env": "^7.0.3",
19-
"next": "^14.2.5",
19+
"next": "^14.2.15",
2020
"pako": "^2.1.0",
2121
"react": "^18",
2222
"react-dom": "^18",

0 commit comments

Comments
 (0)