Scouting: Move comment box for data entry to the end
Move the “comments” from Climb page to end of Other page in data
scouting entry form to make it more clear that it is a general
comments box and not a climbing comments box.
Signed-off-by: Kiran Haywood <kiranhaywood@gmail.com>
Change-Id: I3b0adbcf36108007c9a84314d078340313ffa949
diff --git a/scouting/www/entry/entry.component.css b/scouting/www/entry/entry.component.css
index 6d13657..a78a00a 100644
--- a/scouting/www/entry/entry.component.css
+++ b/scouting/www/entry/entry.component.css
@@ -8,8 +8,8 @@
}
textarea {
- width: 300px;
- height: 150px;
+ width: 350px;
+ height: 180px;
}
button {
diff --git a/scouting/www/entry/entry.ng.html b/scouting/www/entry/entry.ng.html
index 9be8db7..e73cfb0 100644
--- a/scouting/www/entry/entry.ng.html
+++ b/scouting/www/entry/entry.ng.html
@@ -254,10 +254,6 @@
</label>
<br />
</form>
- <div class="row">
- <h4>Comments</h4>
- <textarea [(ngModel)]="comment" id="comment"></textarea>
- </div>
<div class="buttons">
<button class="btn btn-primary" (click)="prevSection()">Back</button>
<button class="btn btn-primary" (click)="nextSection()">Next</button>
@@ -360,6 +356,15 @@
</form>
</div>
+ <div class="row">
+ <h4>General Comments About Match</h4>
+ <textarea
+ [(ngModel)]="comment"
+ id="comment"
+ placeholder="optional"
+ ></textarea>
+ </div>
+
<div class="buttons">
<button class="btn btn-primary" (click)="prevSection()">Back</button>
<button class="btn btn-primary" (click)="nextSection()">Next</button>
@@ -398,7 +403,6 @@
<h4>Climb</h4>
<ul>
<li>Climb Level: {{level | levelToString}}</li>
- <li>Comments: {{comment}}</li>
</ul>
<h4>Other</h4>
@@ -410,6 +414,7 @@
<li>Battery died: {{batteryDied}}</li>
<li>Broke (mechanically): {{mechanicallyBroke}}</li>
<li>Lost coms: {{lostComs}}</li>
+ <li>Comments: {{comment}}</li>
</ul>
<span class="error_message">{{ errorMessage }}</span>