mirror of
https://github.com/junkfix/config-editor-card.git
synced 2026-05-21 11:58:01 +02:00
Add filetype jinja in frontend
This commit is contained in:
parent
b881e60215
commit
fe6c0b95ce
|
|
@ -97,7 +97,7 @@ render(){
|
||||||
<button @click="${e=>this.txtSize(2)}">A</button>
|
<button @click="${e=>this.txtSize(2)}">A</button>
|
||||||
<button @click="${e=>this.txtSize(1)}">+</button>
|
<button @click="${e=>this.txtSize(1)}">+</button>
|
||||||
<select @change=${this.extChange}>
|
<select @change=${this.extChange}>
|
||||||
${["yaml","py","json","conf","js","txt","log","all"].map(value =>
|
${["yaml","py","json","conf","js","txt","log","jinja","all"].map(value =>
|
||||||
html`<option ?selected=${value === this.edit.ext }
|
html`<option ?selected=${value === this.edit.ext }
|
||||||
value=${value}>${value.toUpperCase()}</option>`)}
|
value=${value}>${value.toUpperCase()}</option>`)}
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue