Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
frag.jetzt SWTP 2022
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Marc Tröll
frag.jetzt SWTP 2022
Commits
46c9bd2d
Commit
46c9bd2d
authored
7 years ago
by
Heinrich Marks
Committed by
Thomas Lenz
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adjust HTML
parent
9b1845c5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/content-creation/content-creation.component.html
+13
-5
13 additions, 5 deletions
src/app/content-creation/content-creation.component.html
src/app/room-creation/room-creation.component.html
+2
-2
2 additions, 2 deletions
src/app/room-creation/room-creation.component.html
with
15 additions
and
7 deletions
src/app/content-creation/content-creation.component.html
+
13
−
5
View file @
46c9bd2d
<form
(ngSubmit)=
"addContent(subjectTitle.value, bodyText.value)"
>
<form
(ngSubmit)=
"addContent(subjectTitle.value, bodyText.value
, contentRound.value
)"
>
<div
fxLayout=
"column"
fxLayoutAlign=
"center"
fxLayoutGap=
"10px"
>
<mat-form-field>
<input
class=
"input-block"
#subjectTitle
matInput
(keypress)=
"resetEmptyInputs()"
placeholder=
"Subject"
[(ngModel)]=
"subject"
>
<input
class=
"input-block"
#subjectTitle
matInput
(keypress)=
"resetEmptyInputs()"
placeholder=
"Subject"
[(ngModel)]=
"subject"
name=
"Title"
>
<button
mat-button
*ngIf=
"subject"
type=
"text"
matSuffix
mat-icon-button
aria-label=
"Clear"
(click)=
"subject=''"
>
<mat-icon>
close
</mat-icon>
</button>
</mat-form-field>
<mat-form-field>
<input
class=
"input-block"
#bodyText
matInput
matTextareaAutosize
matAutosizeMinRows=
"3"
matAutosizeMaxRows=
"8"
(keypress)=
"resetEmptyInputs()"
placeholder=
"Body"
[(ngModel)]=
"body"
>
<button
mat-button
matSuffix
mat-icon-button
aria-label=
"Clear"
(click)=
"subject=''; body=''"
>
<input
class=
"input-block"
#contentRound
matInput
(keypress)=
"resetEmptyInputs()"
placeholder=
"Round"
[(ngModel)]=
"round"
name=
"Round"
>
</mat-form-field>
<mat-form-field>
<textarea
#bodyText
matInput
matTextareaAutosize
matAutosizeMinRows=
"3"
matAutosizeMaxRows=
"8"
(keypress)=
"resetEmptyInputs()"
placeholder=
"Body"
[(ngModel)]=
"body"
name=
"Text"
></textarea>
<button
mat-button
*ngIf=
"body"
type=
"text"
matSuffix
mat-icon-button
aria-label=
"Clear"
(click)=
"body=''"
>
<mat-icon>
close
</mat-icon>
</button>
</mat-form-field>
...
...
This diff is collapsed.
Click to expand it.
src/app/room-creation/room-creation.component.html
+
2
−
2
View file @
46c9bd2d
...
...
@@ -3,7 +3,7 @@
<mat-form-field>
<input
(keypress)=
"resetEmptyInputs()"
matInput
#longRoomName
class=
"input-block"
type=
"text"
placeholder=
"Name"
maxlength=
"50"
[(ngModel)]=
"longName"
/>
[(ngModel)]=
"longName"
name=
"LongName"
/>
<mat-hint
align=
"start"
*ngIf=
"!emptyInputs"
><strong>
Max. letters / signs:
</strong></mat-hint>
<mat-hint
align=
"end"
*ngIf=
"!emptyInputs"
>
{{longRoomName.value.length}} / 50
</mat-hint>
<mat-hint
align=
"start"
*ngIf=
"emptyInputs"
><strong>
Input is required
</strong></mat-hint>
...
...
@@ -14,7 +14,7 @@
<mat-form-field>
<input
(keypress)=
"resetEmptyInputs()"
matInput
#shortRoomName
class=
"input-block"
type=
"text"
placeholder=
"Short name"
maxlength=
"8"
[(ngModel)]=
"shortName"
/>
[(ngModel)]=
"shortName"
name=
"ShortName"
/>
<mat-hint
align=
"start"
*ngIf=
"!emptyInputs"
><strong>
Max. letters / signs:
</strong></mat-hint>
<mat-hint
align=
"end"
*ngIf=
"!emptyInputs"
>
{{shortRoomName.value.length}} / 8
</mat-hint>
<mat-hint
align=
"start"
*ngIf=
"emptyInputs"
><strong>
Input is required
</strong></mat-hint>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment