summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-18 10:54:43 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-18 10:54:43 +0200
commit71584930cb4739bd9677ba4788a34cae56444eac (patch)
treef8f821873776f908ee36ea97d8fcf2fc590a7462
parentDo not start the event stream if the user is not logged in (=if he does not h... (diff)
downloadsynapse-71584930cb4739bd9677ba4788a34cae56444eac.tar.xz
Disabled image upload UIs
-rw-r--r--webclient/room/room.html4
-rw-r--r--webclient/rooms/rooms.html4
2 files changed, 6 insertions, 2 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index 0f01b94c39..eba0881880 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -74,12 +74,14 @@
                     <td>
                         <input id="mainInput" ng-model="imageURLToSend" ng-enter="sendImage()" placeholder="Image URL"/>
                     </td>
-                    <td  width="100px">
+                    <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>
 
diff --git a/webclient/rooms/rooms.html b/webclient/rooms/rooms.html
index 3630eedfd7..007ad29999 100644
--- a/webclient/rooms/rooms.html
+++ b/webclient/rooms/rooms.html
@@ -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>