|
@@ -16,17 +16,25 @@
|
|
|
<ion-content padding>
|
|
|
<form [formGroup]="tweet" (ngSubmit)="submitTweet()">
|
|
|
<ion-item class="padding-0">
|
|
|
- <ion-label color="primary" floating>Your tweet</ion-label>
|
|
|
+ <ion-label color="primary" stacked>Your tweet</ion-label>
|
|
|
<ion-textarea type="text" formControlName="text" maxlength="140" [attr.rows]="4"></ion-textarea>
|
|
|
</ion-item>
|
|
|
|
|
|
<div class="actions">
|
|
|
- <svg width="20" height="20" class="progress-circle">
|
|
|
- <circle class="background-stroke" cx="10" cy="10" r="8"></circle>
|
|
|
- <circle class="progress-stroke" cx="10" cy="10" r="8" transform="rotate(-90, 10, 10)" [style.strokeDashoffset]="tweetCharProgress"></circle>
|
|
|
- </svg>
|
|
|
-
|
|
|
- <span class="progress-stats">{{ (tweet.value.text).length }}/140</span>
|
|
|
+ <span class="progress">
|
|
|
+ <svg width="20" height="20" class="progress-circle">
|
|
|
+ <circle class="background-stroke" cx="10" cy="10" r="8"></circle>
|
|
|
+ <circle class="progress-stroke" cx="10" cy="10" r="8" transform="rotate(-90, 10, 10)" [style.strokeDashoffset]="tweetCharProgress"></circle>
|
|
|
+ </svg>
|
|
|
+
|
|
|
+ <span class="progress-stats">{{ (tweet.value.text).length }}/140</span>
|
|
|
+ </span>
|
|
|
+
|
|
|
+ <span class="network-switch">
|
|
|
+ <ion-icon name="logo-twitter"></ion-icon>
|
|
|
+ <ion-toggle checked="false"></ion-toggle>
|
|
|
+ <ion-icon name="glasses"></ion-icon>
|
|
|
+ </span>
|
|
|
|
|
|
<button ion-button type="submit" [disabled]="!tweet.valid" class="submit-tweet">tweet!</button>
|
|
|
</div>
|