summary refs log tree commit diff
path: root/webclient/room/room.html
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-13 11:42:28 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-13 11:42:28 +0200
commitc87e1f641858fbc2e6ed6b99ef05591a977bd4c4 (patch)
tree4c49891e7d919bf99ba603a98c2d837f3c667810 /webclient/room/room.html
parentDisplay image messages from the stream (diff)
downloadsynapse-c87e1f641858fbc2e6ed6b99ef05591a977bd4c4.tar.xz
Room: Added a text input to type an image URL in order to send an image message
Diffstat (limited to '')
-rw-r--r--webclient/room/room.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index 600bc14eb8..9cd1ec3645 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -63,6 +63,18 @@
                         {{ feedback }}
                     </td>
                 </tr>
+                <tr>
+                    <td>
+                    </td>
+                    <td>
+                        <input class="mainInput" ng-model="imageURLToSend" ng-enter="sendImage()" placeholder="Image URL"/>
+                    </td>
+                    <td  width="100px">
+                        <button ng-click="sendImage(imageURLToSend)">Send Image</button>
+                    </td>
+                    <td>
+                    </td>
+                </tr>
             </table>
 
             <span>