mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 01:25:44 +03:00
Disabled image upload UIs
This commit is contained in:
parent
0b5674ccc5
commit
71584930cb
2 changed files with 6 additions and 2 deletions
|
@ -74,12 +74,14 @@
|
||||||
<td>
|
<td>
|
||||||
<input id="mainInput" ng-model="imageURLToSend" ng-enter="sendImage()" placeholder="Image URL"/>
|
<input id="mainInput" ng-model="imageURLToSend" ng-enter="sendImage()" placeholder="Image URL"/>
|
||||||
</td>
|
</td>
|
||||||
<td width="100px">
|
<td width="100px">
|
||||||
<button ng-click="sendImage(imageURLToSend)">Send URL</button>
|
<button ng-click="sendImage(imageURLToSend)">Send URL</button>
|
||||||
</td>
|
</td>
|
||||||
|
<!-- TODO: To enable once we have an upload server
|
||||||
<td width="100px">
|
<td width="100px">
|
||||||
<button m-file-input="imageFileToSend">Send Image</button>
|
<button m-file-input="imageFileToSend">Send Image</button>
|
||||||
</td>
|
</td>
|
||||||
|
-->
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,12 @@
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
<!-- TODO: To enable once we have an upload server
|
||||||
<button m-file-input="newProfileInfo.avatarFile">Upload new Avatar</button>
|
<button m-file-input="newProfileInfo.avatarFile">Upload new Avatar</button>
|
||||||
or use an existing image URL:
|
or use an existing image URL:
|
||||||
|
-->
|
||||||
<div>
|
<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>
|
<button ng-disabled="!newProfileInfo.avatar" ng-click="setAvatar(newProfileInfo.avatar)">Update Avatar</button>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue