SYWEB-12: UX tweaks.
This commit is contained in:
parent
f618f99ece
commit
ea6bec96d3
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@
|
|||
<br/>
|
||||
Set by: <span class="monospace">{{ event.user_id }}</span>
|
||||
<br/>
|
||||
<span ng-show="event.required_power_level >= 0">Required power level: {{event.required_power_level}}</span>
|
||||
<button ng-click="submit(event)" type="button" class="btn btn-success" ng-disabled="!event.content">
|
||||
Submit
|
||||
</button>
|
||||
|
@ -36,7 +37,7 @@
|
|||
<td class="room-info-event-meta" width="30%">
|
||||
<input ng-model="roomInfo.newEvent.type" placeholder="your.event.type" />
|
||||
<br/>
|
||||
<button ng-click="submit(roomInfo.newEvent)" type="button" class="btn btn-success" ng-disabled="!roomInfo.newEvent.content">
|
||||
<button ng-click="submit(roomInfo.newEvent)" type="button" class="btn btn-success" ng-disabled="!roomInfo.newEvent.content || !roomInfo.newEvent.type">
|
||||
Submit
|
||||
</button>
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue