Sengi-Windows-MacOS-Linux/src/app/components/floating-column/add-new-status/add-new-status.component.html

18 lines
926 B
HTML
Raw Normal View History

<div class="panel">
<h3 class="panel__title">new message</h3>
2018-09-23 23:44:54 +02:00
<form (ngSubmit)="onSubmit()">
<!-- <label>Please provide your account:</label> -->
2018-09-26 05:59:44 +02:00
<input [(ngModel)]="title" type="text" class="form-control form-control-sm" name="title" autocomplete="off"
placeholder="Title (optional)" />
2018-09-23 23:44:54 +02:00
<!-- <textarea rows="4" cols="50"> -->
2018-09-26 06:53:09 +02:00
<textarea [(ngModel)]="status" name="status" class="form-control form-control-sm" style="min-width: 100%" rows="5" required placeholder="What's in your mind?" (keydown.control.enter)="onCtrlEnter()"></textarea>
2018-09-26 05:59:44 +02:00
<select class="form-control form-control-sm form-control--privacy" id="privacy" name="privacy" [(ngModel)]="selectedPrivacy">
<option *ngFor="let p of privacyList" [ngValue]="p">{{p}}</option>
</select>
<button type="submit" class="btn btn-sm btn-custom-primary">TOOT!</button>
2018-09-23 23:44:54 +02:00
</form>
2018-09-23 23:44:54 +02:00
</div>