Skip to content

Commit

Permalink
Setup UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Sep 5, 2024
1 parent ec5927d commit 4cc9879
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
7 changes: 3 additions & 4 deletions api/lib/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ export enum Layer_Priority {
}

export enum Profile_Text {
Small = 's',
Medium = 'm',
Large = 'l',
ExtraLarge = 'xl',
Small = 'Small',
Medium = 'Medium',
Large = 'Large'
}

export enum Profile_Stale {
Expand Down
2 changes: 1 addition & 1 deletion api/migrations/0059_gorgeous_vector.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ALTER TABLE "profile" ADD COLUMN "display_text" text DEFAULT 'm' NOT NULL;
ALTER TABLE "profile" ADD COLUMN "display_text" text DEFAULT 'Medium' NOT NULL;
11 changes: 11 additions & 0 deletions api/web/src/components/CloudTAK/Menu/SettingsDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@
]'
/>
</div>
<div class='col-12'>
<TablerEnum
v-model='profile.display_text'
label='Text Size'
:options='[
"Small",
"Medium",
"Large"
]'
/>
</div>
<div class='col-12'>
<TablerEnum
v-model='profile.display_distance'
Expand Down

0 comments on commit 4cc9879

Please sign in to comment.