Skip to content

Commit

Permalink
Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
AyIong committed Nov 21, 2023
1 parent f73af03 commit 0c91038
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions tgui/packages/tgui/interfaces/Photocopier220.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const Photocopier220 = (props, context) => {
fluid
textAlign="center"
disabled={!data.copyitem && !data.mob}
icon={data.copyitem || data.mob ? 'eject' : 'times'}
content={
data.copyitem
? data.copyitem
Expand All @@ -89,6 +90,7 @@ export const Photocopier220 = (props, context) => {
fluid
textAlign="center"
disabled={!data.folder}
icon={data.folder ? 'eject' : 'times'}
content={data.folder ? data.folder : 'Слот для папки'}
onClick={() => act('removefolder')}
/>
Expand All @@ -101,7 +103,7 @@ export const Photocopier220 = (props, context) => {
<Button
fluid
textAlign="center"
icon="file"
icon="print"
disabled={data.toner === 0 || data.form === null}
content="Печать"
onClick={() => act('print_form')}
Expand All @@ -112,7 +114,7 @@ export const Photocopier220 = (props, context) => {
<Button
fluid
textAlign="center"
icon="camera"
icon="image"
disabled={data.toner < 5}
content="Фото"
tooltip="Распечатать фото с Базы Данных"
Expand All @@ -127,7 +129,7 @@ export const Photocopier220 = (props, context) => {
<Button
fluid
textAlign="center"
icon="clone"
icon="copy"
content="Копия"
disabled={data.toner === 0 || (!data.copyitem && !data.mob)}
onClick={() => act('copy')}
Expand All @@ -138,7 +140,7 @@ export const Photocopier220 = (props, context) => {
<Button
fluid
textAlign="center"
icon="terminal"
icon="i-cursor"
content="Текст"
tooltip="Распечатать свой текст"
tooltipPosition="right"
Expand Down
Loading

0 comments on commit 0c91038

Please sign in to comment.