Disabled image upload UIs
parent
0b5674ccc5
commit
71584930cb
|
@ -77,9 +77,11 @@
|
|||
<td width="100px">
|
||||
<button ng-click="sendImage(imageURLToSend)">Send URL</button>
|
||||
</td>
|
||||
<!-- TODO: To enable once we have an upload server
|
||||
<td width="100px">
|
||||
<button m-file-input="imageFileToSend">Send Image</button>
|
||||
</td>
|
||||
-->
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
|
|
@ -13,10 +13,12 @@
|
|||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<!-- TODO: To enable once we have an upload server
|
||||
<button m-file-input="newProfileInfo.avatarFile">Upload new Avatar</button>
|
||||
or use an existing image URL:
|
||||
-->
|
||||
<div>
|
||||
<input size="40" ng-model="newProfileInfo.avatar" ng-enter="setAvatar(newProfileInfo.avatar)" />
|
||||
<input size="40" ng-model="newProfileInfo.avatar" ng-enter="setAvatar(newProfileInfo.avatar)" placeholder="Image URL"/>
|
||||
<button ng-disabled="!newProfileInfo.avatar" ng-click="setAvatar(newProfileInfo.avatar)">Update Avatar</button>
|
||||
</div>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue