Skip to content
Snippets Groups Projects
Commit ea6bec96 authored by Kegan Dougal's avatar Kegan Dougal
Browse files

SYWEB-12: UX tweaks.

parent f618f99e
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
<br/> <br/>
Set by: <span class="monospace">{{ event.user_id }}</span> Set by: <span class="monospace">{{ event.user_id }}</span>
<br/> <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"> <button ng-click="submit(event)" type="button" class="btn btn-success" ng-disabled="!event.content">
Submit Submit
</button> </button>
...@@ -36,7 +37,7 @@ ...@@ -36,7 +37,7 @@
<td class="room-info-event-meta" width="30%"> <td class="room-info-event-meta" width="30%">
<input ng-model="roomInfo.newEvent.type" placeholder="your.event.type" /> <input ng-model="roomInfo.newEvent.type" placeholder="your.event.type" />
<br/> <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 Submit
</button> </button>
</td> </td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment