Skip to content

Commit

Permalink
Add the description and buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomoyukiAota committed Nov 11, 2024
1 parent f6d2e56 commit 8900e8d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/app/settings-dialog/os-settings/os-settings.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<div class="setting-title">Explorer Context Menu</div>
<div class="setting-container">
Placeholder
<div class="description">
Add/Remove "Open with Photo Location Map" in the context menu of Explorer.
</div>
<div class="buttons">
<button mat-stroked-button (click)="handleAddButtonClicked()">
Add
</button>
<button mat-stroked-button (click)="handleRemoveButtonClicked()">
Remove
</button>
</div>
</div>
14 changes: 14 additions & 0 deletions src/app/settings-dialog/os-settings/os-settings.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,17 @@
.setting-container {
padding: $setting-container-padding;
}

.description {
font-size: 14px;
margin-bottom: 20px;
}

.buttons {
display: flex;
gap: 30px;

button {
width: 100px;
}
}
6 changes: 6 additions & 0 deletions src/app/settings-dialog/os-settings/os-settings.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,11 @@ import { Component } from '@angular/core';
styleUrl: './os-settings.component.scss'
})
export class OsSettingsComponent {
public handleAddButtonClicked() {
// TODO
}

public handleRemoveButtonClicked() {
// TODO
}
}

0 comments on commit 8900e8d

Please sign in to comment.