Merge branch 'ui-fixes' into 'v3'

Ui fixes

See merge request openflexure/openflexure-microscope-server!276
This commit is contained in:
Julian Stirling 2025-05-23 11:25:34 +00:00
commit ead9c97f69
3 changed files with 7 additions and 6 deletions

View file

@ -40,7 +40,7 @@ BackgroundDep = direct_thing_client_dependency(
BackgroundDetectThing, "/background_detect/" BackgroundDetectThing, "/background_detect/"
) )
IMAGE_REGEX = re.compile(r"-?[0-9]+_-?[0-9]+\.jpeg$") IMAGE_REGEX = re.compile(r"-?[0-9]+_-?[0-9]+\.jpe?g$")
class NotEnoughFreeSpaceError(IOError): class NotEnoughFreeSpaceError(IOError):

View file

@ -212,27 +212,27 @@ export default {
topTabs: function() { topTabs: function() {
let tabs = [ let tabs = [
{ {
id: "View", id: "view",
icon: "visibility", icon: "visibility",
component: viewContent component: viewContent
}, },
{ {
id: "Navigate", id: "navigate",
icon: "gamepad", icon: "gamepad",
component: navigateContent component: navigateContent
}, },
{ {
id: "Background Detect", id: "background detect",
icon: "background_replace", icon: "background_replace",
component: backgroundDetectContent component: backgroundDetectContent
}, },
{ {
id: "Slide Scan", id: "slide scan",
icon: "settings_overscan", icon: "settings_overscan",
component: slideScanContent component: slideScanContent
}, },
{ {
id: "Scan List", id: "scan list",
icon: "photo_library", icon: "photo_library",
component: ScanListContent component: ScanListContent
} }

View file

@ -103,6 +103,7 @@ export default {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
font-size: 85%; font-size: 85%;
text-transform: capitalize;
} }
a:hover, a:hover,