ui, but it works. INCLUDES WORKING INTERFACE

This commit is contained in:
Letter N
2020-08-04 14:57:13 +08:00
parent 7c7d635193
commit 21f720ea07
9 changed files with 29 additions and 17 deletions

View File

@@ -31,8 +31,8 @@ export const AtmosRelief = (props, context) => { // rebranded AtmoPump
onClick={() => act('open_pressure', {
pressure: 'max',
})} />
</LabeledList.Item>
<LabeledList.Item label="Close Pressure">
</LabeledList.Item>
<LabeledList.Item label="Close Pressure">
<NumberInput
animated
value={parseFloat(data.close_pressure)}
@@ -52,7 +52,7 @@ export const AtmosRelief = (props, context) => { // rebranded AtmoPump
onClick={() => act('close_pressure', {
pressure: 'max',
})} />
</LabeledList.Item>
</LabeledList.Item>
</LabeledList>
</Section>
</Window.Content>

View File

@@ -1,5 +1,5 @@
import { useBackend } from '../backend';
import { Box, Section, LabeledList, Button, ProgressBar } from '../components';
import { AnimatedNumber, Box, Section, LabeledList, Button, ProgressBar } from '../components';
import { Fragment } from 'inferno';
import { Window } from '../layouts';

View File

@@ -1,3 +1,8 @@
/**
* @file
* @copyright 2020 LetterN (https://github.com/LetterN)
* @license MIT
*/
import { Fragment } from 'inferno';
import { Window } from '../layouts';
import { useBackend } from '../backend';

View File

@@ -1,3 +1,8 @@
/**
* @file
* @copyright 2020 LetterN (https://github.com/LetterN)
* @license MIT
*/
import { Fragment } from 'inferno';
import { Window } from '../layouts';
import { useBackend, useSharedState } from '../backend';

View File

@@ -1,3 +1,8 @@
/**
* @file
* @copyright 2020 LetterN (https://github.com/LetterN)
* @license MIT
*/
import { Fragment } from 'inferno';
import { Window } from '../layouts';
import { useBackend, useSharedState } from '../backend';

View File

@@ -1,7 +1,11 @@
/**
* @file
* @copyright 2020 LetterN (https://github.com/LetterN)
* @license MIT
*/
import { Fragment } from 'inferno';
import { Window } from '../layouts';
import { useBackend, useSharedState } from '../backend';
import { callByond } from '../byond';
import { Button, LabeledList, NoticeBox, Section, Tabs, Input } from '../components';
// This is the entrypoint, don't mind the others
@@ -307,7 +311,7 @@ export const TeleLogs = (props, context) => {
<Button // Had to use _act for this.
content="Image"
icon="image"
onClick={() => callByond('', {
onClick={() => Byond.topic({
'src': message.ref,
'photo': 1,
})}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
/**
* Copyright (c) 2020 Artur
* Copyright (c) 2020 Arturlang
* SPDX-License-Identifier: MIT
*/
@@ -31,7 +31,6 @@
'color-selected': #CFBA47,
'color-caution': #FFAE42, //yellow-orange
'color-danger': #f0ff23, //yellow
'border-color': #170800,
));
@include meta.load-css('../components/Input.scss', $with: (
'border-color': #CFBA47,
@@ -60,7 +59,6 @@
));
.Layout__content {
background-image: none;
background-image: none; // fa-gear with a color of #CFBA47
}
}