CHANGE: styling and readme
This commit is contained in:
@@ -1,28 +1,15 @@
|
||||
<main class="flex flex-col gap-2 p-4">
|
||||
<div class="flex flex-row justify-left gap-4 items-center h-12">
|
||||
<img src="mqtt_creator.ico" alt="app icon" class="h-full">
|
||||
<h2 class="text-3xl font-bold text-myButton" >MQTT Discovery Creator</h2>
|
||||
</div>
|
||||
|
||||
<!-- <div class="border border-slate-800 my-2">
|
||||
<h2>Device: - not working</h2>
|
||||
<p>Name</p><input type="text" placeholder="name here" [ngModel]="generatorService.device_name"
|
||||
(ngModelChange)="generatorService.device_name = $event; generatorService.update()">
|
||||
<p>Identifier</p>
|
||||
<input type="text" placeholder="Identifier here" [ngModel]="generatorService.device_id"
|
||||
(ngModelChange)="generatorService.device_id = $event">
|
||||
<button (click)="generatorService.device_id = useRandomString(16)">Random</button>
|
||||
<p>Standalone -> no device</p>
|
||||
<input type="checkbox" [ngModel]="generatorService.device_standalone"
|
||||
(ngModelChange)="generatorService.device_standalone = $event; generatorService.update()" />
|
||||
</div> -->
|
||||
<!DOCTYPE html>
|
||||
<div class="flex flex-col gap-2">
|
||||
<div class="genContainer">
|
||||
<!-- Statetopic -->
|
||||
<h3>Data Channel</h3>
|
||||
<div>
|
||||
<p>Bereich</p>
|
||||
<input type="text" [ngModel]="generatorService.upperTopic"
|
||||
<!-- <h3>Data Channel</h3> -->
|
||||
|
||||
<div class="property">
|
||||
<p>Bereich</p>
|
||||
<input type="text" [ngModel]="generatorService.upperTopic"
|
||||
(ngModelChange)="generatorService.upperTopic = $event; generatorService.update()" />
|
||||
</div>
|
||||
<div class="property">
|
||||
<p>Automatische Topics</p>
|
||||
<div class="customCheckboxContainer">
|
||||
<input [ngModel]="auto_topic" (ngModelChange)="auto_topic=$event" id="auto_topic_0" type="radio" name="auto_topic" value="2">
|
||||
@@ -32,10 +19,10 @@
|
||||
<input [ngModel]="auto_topic" (ngModelChange)="auto_topic=$event" id="auto_topic_2" type="radio" name="auto_topic" value="0">
|
||||
<label class="customCheckbox" for="auto_topic_2">Aus</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<app-entity class="genContainer" ></app-entity>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
Reference in New Issue
Block a user