songtext help

This commit is contained in:
2020-06-01 15:54:44 +02:00
parent cd1591dc0e
commit 315a0a6007
4 changed files with 49 additions and 1 deletions

View File

@@ -21,6 +21,9 @@ import {LogoComponent} from './monitor/logo/logo.component';
@NgModule({ @NgModule({
declarations: [MonitorComponent, RemoteComponent, LegalComponent, LogoComponent], declarations: [MonitorComponent, RemoteComponent, LegalComponent, LogoComponent],
exports: [
RemoteComponent
],
imports: [ imports: [
CommonModule, CommonModule,
PresentationRoutingModule, PresentationRoutingModule,

View File

@@ -33,8 +33,44 @@
<mat-form-field appearance="outline"> <mat-form-field appearance="outline">
<mat-label>Songtext</mat-label> <mat-label>Songtext</mat-label>
<textarea [mat-autosize]="true" formControlName="text" matInput></textarea> <textarea (focus)="songtextFocus=true" (focusout)="songtextFocus=false" [mat-autosize]="true"
formControlName="text" matInput></textarea>
</mat-form-field> </mat-form-field>
<small *ngIf="songtextFocus">
<h3>Hinweise zur Bearbeitung</h3>
<h4>Aufbau</h4>
Der Liedtext wird hintereinander weg geschrieben. Dabei werden Strophen, Refrain und Bridge jeweils durch
eine zusätzliche Zeile Markiert. z.B.
<pre>
Strophe
Text der ersten Strophe
Strophe
Text der zweiten Strophe
Refrain
Und hier der Refrain
</pre>
<h3>Akkorde</h3>
Die Akktorde werden jeweils in der Zeile über dem jeweiligen Liedtext geschrieben.
Sie werden jeweils durch Leerzeichen an die entsprechende Position gebracht.
Bitte keine Tabulatoren verwenden! Folgende Schreibweisen sind erlaubt:
<pre>
Dur: C D E
Moll: c d e
Kreuz/B-Tonarten: C# f# Eb (Erlaubt ist auch B statt Hb)
Basstöne: C/E D/C
Obertöne: c7 E9 f#maj7
</pre>
Beispiel:
<pre>
Strophe
e C/E H7 a D C/E H7/E
Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
F# B Eb Cmaj7 C9 e
sed diam nonumy eirmod tempor invidunt ut labore et dolore
</pre>
</small>
<mat-form-field appearance="outline"> <mat-form-field appearance="outline">
<mat-label>Kommentar</mat-label> <mat-label>Kommentar</mat-label>

View File

@@ -31,3 +31,11 @@
right: 0; right: 0;
position: absolute; position: absolute;
} }
h3 {
margin: 10px 0 0 0;
}
h4 {
margin: 0;
}

View File

@@ -32,6 +32,7 @@ export class EditSongComponent implements OnInit {
public faRemove = faTimesCircle; public faRemove = faTimesCircle;
public faSave = faSave; public faSave = faSave;
public faLink = faExternalLinkAlt; public faLink = faExternalLinkAlt;
public songtextFocus = false;
constructor( constructor(
private activatedRoute: ActivatedRoute, private activatedRoute: ActivatedRoute,