ADD: general changes + changelog
This commit is contained in:
10
Changelog.md
Normal file
10
Changelog.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
## [1.1.0] - Devices
|
||||||
|
- code integration for faster development
|
||||||
|
- device and multi entity support
|
||||||
|
- dual window view (config + discovery)
|
||||||
|
- fixed config bug
|
||||||
|
|
||||||
|
## [1.0.0] - Initial
|
||||||
|
- Single Entity creation and discovery creation
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="flex flex-row justify-left gap-4 items-center h-12 mb-2 px-2">
|
<div class="flex flex-row justify-left gap-4 items-center h-12 mb-2 px-2">
|
||||||
<img src="mqtt_creator.ico" alt="app icon" class="h-full">
|
<img src="mqtt_creator.ico" alt="app icon" class="h-full">
|
||||||
<h2 class="text-3xl font-bold text-myButton text-nowrap" >MQTT Discovery Creator</h2>
|
<h2 class="text-3xl font-bold text-myButton text-nowrap" >MQTT Discovery Creator</h2>
|
||||||
<p class="w-auto text-nowrap w-full">v.1.0</p>
|
<p class="w-auto text-nowrap w-full">v.1.1</p>
|
||||||
<a class="w-auto text-nowrap hover:text-myButton" href="http://www.tomtroeger.de">My Homepage</a>
|
<a class="w-auto text-nowrap hover:text-myButton" href="http://www.tomtroeger.de">My Homepage</a>
|
||||||
<a class="w-auto text-nowrap hover:text-myButton" href="https://git.letsstein.de/tom/mqtt_creator">Code</a>
|
<a class="w-auto text-nowrap hover:text-myButton" href="https://git.letsstein.de/tom/mqtt_creator">Code</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,26 +1,27 @@
|
|||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { BrowserModule, provideClientHydration } from '@angular/platform-browser';
|
import {
|
||||||
|
BrowserModule,
|
||||||
|
provideClientHydration,
|
||||||
|
} from '@angular/platform-browser';
|
||||||
|
|
||||||
import { AppRoutingModule } from './app-routing.module';
|
import { AppRoutingModule } from './app-routing.module';
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
import { GeneratorComponent } from './generator/generator.component';
|
import { GeneratorComponent } from './generator/generator.component';
|
||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
import { EntityComponent } from './entity/entity.component';
|
import { EntityDataComponent } from './entity-data/entity-data.component';
|
||||||
|
import { EntityOutputComponent } from './entity-output/entity-output.component';
|
||||||
|
import { OutputComponent } from './output/output.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
AppComponent,
|
AppComponent,
|
||||||
GeneratorComponent,
|
GeneratorComponent,
|
||||||
EntityComponent
|
EntityDataComponent,
|
||||||
|
EntityOutputComponent,
|
||||||
|
OutputComponent,
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [BrowserModule, AppRoutingModule, FormsModule],
|
||||||
BrowserModule,
|
providers: [provideClientHydration()],
|
||||||
AppRoutingModule,
|
bootstrap: [AppComponent],
|
||||||
FormsModule,
|
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
provideClientHydration()
|
|
||||||
],
|
|
||||||
bootstrap: [AppComponent]
|
|
||||||
})
|
})
|
||||||
export class AppModule { }
|
export class AppModule {}
|
||||||
|
|||||||
128
src/styles.css
128
src/styles.css
@@ -3,81 +3,107 @@
|
|||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
:root{
|
:root {
|
||||||
--accent: #4cb926;
|
--accent: #4cb926;
|
||||||
--text: #535353;
|
--text: #535353;
|
||||||
--primary: #b3b3b3;
|
--primary: #b3b3b3;
|
||||||
--secondary: #f8f8f8;
|
--secondary: #f8f8f8;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input, select, label, pre {
|
input,
|
||||||
background: var(--primary);
|
select,
|
||||||
padding: .25rem .75rem;
|
label,
|
||||||
border-radius: 1rem;
|
pre,
|
||||||
|
button {
|
||||||
|
background: var(--primary);
|
||||||
|
padding: 0.25rem 0.75rem;
|
||||||
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
input, select{
|
pre {
|
||||||
width: 100%;
|
text-wrap: wrap;
|
||||||
@apply focus:outline focus:outline-myAccent focus:outline-2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input::placeholder{
|
input,
|
||||||
color: var(--text);
|
select {
|
||||||
opacity: 1;
|
width: 100%;
|
||||||
|
@apply focus:outline focus:outline-myAccent focus:outline-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
input::-ms-input-placeholder { /* Edge 12 -18 */
|
span {
|
||||||
color: var(--text);
|
@apply focus-visible:outline focus-visible:outline-myAccent focus-visible:outline-2;
|
||||||
}
|
|
||||||
|
|
||||||
svg{
|
|
||||||
height: 90%;
|
|
||||||
margin: auto 0;
|
|
||||||
width: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
*{
|
input::placeholder {
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
button{
|
input::-ms-input-placeholder {
|
||||||
background-color: var(--accent);
|
/* Edge 12 -18 */
|
||||||
border-radius: 1rem;
|
color: var(--text);
|
||||||
color: var(--secondary);
|
|
||||||
font-weight: bold;
|
|
||||||
min-width: 4rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.randomButton{
|
svg {
|
||||||
@apply flex justify-center content-center p-1;
|
height: 90%;
|
||||||
|
margin: auto 0;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
background-color: var(--accent);
|
||||||
|
border-radius: 1rem;
|
||||||
|
color: var(--secondary);
|
||||||
|
font-weight: bold;
|
||||||
|
min-width: 4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.randomButton {
|
||||||
|
@apply flex justify-center content-center p-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
button path {
|
button path {
|
||||||
color: var(--secondary);
|
color: var(--secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.property {
|
.property {
|
||||||
background-color: #9D9D9D;
|
/* background-color: #9d9d9d; */
|
||||||
border-radius: .5rem;
|
border-radius: 0.5rem;
|
||||||
/* padding: .5rem; */
|
/* padding: .5rem; */
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: .25rem;
|
gap: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.property p, .property h3{
|
.property p,
|
||||||
align-self: left;
|
.property h3 {
|
||||||
padding-left: .5rem;
|
align-self: left;
|
||||||
|
padding-left: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.property > div {
|
div.property {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.property span {
|
.property span {
|
||||||
background: #B3B3B3;
|
background: #b3b3b3;
|
||||||
padding: .25rem .75rem;
|
padding: 0.25rem 0.75rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
/* width: 100%; */
|
/* width: 100%; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#entityPlaceholder {
|
||||||
|
background: transparent;
|
||||||
|
border: 2px dotted #b3b3b3;
|
||||||
|
color: #b3b3b3;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entityPlaceholder:hover {
|
||||||
|
border-color: #f8f8f8;
|
||||||
|
color: #f8f8f8;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user