caddy config frontend
This commit is contained in:
parent
5d6154e631
commit
3b70a4772d
4 changed files with 26 additions and 15 deletions
|
@ -17,6 +17,9 @@
|
||||||
|
|
||||||
{{ oedbc.label }}
|
{{ oedbc.label }}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="what">
|
||||||
|
{{ whats[$index] }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
|
@ -15,17 +15,21 @@ export class Menu {
|
||||||
public onToggleView?: () => void;
|
public onToggleView?: () => void;
|
||||||
public onDownloadGeoJSON?: () => void;
|
public onDownloadGeoJSON?: () => void;
|
||||||
public onDownloadCSV?: () => void;
|
public onDownloadCSV?: () => void;
|
||||||
|
protected whats: any = [];
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
let keys = Object.keys(oedb_what_categories.presets.what);
|
let keys = Object.keys(oedb_what_categories.presets.what);
|
||||||
|
|
||||||
this.oedb_what_categories = [];
|
this.oedb_what_categories = [];
|
||||||
|
this.whats = [];
|
||||||
|
|
||||||
keys.forEach((key) => {
|
keys.forEach((key) => {
|
||||||
this.oedb_what_categories.push(
|
this.oedb_what_categories.push(
|
||||||
oedb_what_categories.presets.what[key as keyof typeof oedb_what_categories.presets.what]
|
oedb_what_categories.presets.what[key as keyof typeof oedb_what_categories.presets.what]
|
||||||
);
|
);
|
||||||
|
this.whats.push(key)
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleView() { this.onToggleView && this.onToggleView(); }
|
toggleView() { this.onToggleView && this.onToggleView(); }
|
||||||
|
|
|
@ -39,16 +39,20 @@ button, .button{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
input{
|
input{
|
||||||
width: 100%;
|
width: 200px;
|
||||||
padding: 10px 12px;
|
padding: 10px 12px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
border: 1px solid rgba(0, 0, 0, 0.12);
|
border: 1px solid rgba(0, 0, 0, 0.12);
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
color: #22303a;
|
color: #22303a;
|
||||||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
|
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
margin-top: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
app-root, app-home {
|
app-root, app-home {
|
||||||
display: block;
|
display: block;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue