Added banner to show web version is in development

This commit is contained in:
Lucas Dower 2023-02-11 21:49:20 +00:00
parent f27ad6bd1f
commit 96647ca073
No known key found for this signature in database
GPG Key ID: B3EE6B8499593605
3 changed files with 22 additions and 2 deletions

View File

@ -389,7 +389,8 @@ export class AppContext {
); );
LOG_ERROR(payload.error); LOG_ERROR(payload.error);
this._ui.enableTo(EAction.Assign); //this._ui.enableTo(EAction.Assign); TODO Unimplemented
this._ui.enableTo(EAction.Voxelise);
break; break;
} }
default: { default: {
@ -405,7 +406,8 @@ export class AppContext {
[], [],
'success', 'success',
); );
this._ui.enableTo(EAction.Assign); // this._ui.enableTo(EAction.Assign); TODO Unimplemented
this._ui.enableTo(EAction.Voxelise);
} }
} }
} }

View File

@ -806,4 +806,18 @@ svg {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
}
.banner {
color: white;
font-weight: 300;
font-size: 75%;
padding: 6px;
text-align: center;
background-color: var(--prop-accent-disabled);
border: 1px solid rgba(255, 255, 255, 0.1);
}
a {
color: var(--prop-accent-hovered)
} }

View File

@ -7,6 +7,10 @@
</head> </head>
<body> <body>
<div class="banner">
<b>ALPHA VERSION</b> - The web version of ObjToSchematic is under development and not feature-complete, download the full Desktop version <a href="https://github.com/LucasDower/ObjToSchematic/releases/tag/v0.7.1">here</a>.
</div>
<!-- The UI is dynamically built at runtime, see ./src/ui/layout.ts for details --> <!-- The UI is dynamically built at runtime, see ./src/ui/layout.ts for details -->
<div class="column-properties" id="properties"> <div class="column-properties" id="properties">
</div> </div>