You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2017/11/07 09:28:37 UTC

openmeetings git commit: [OPENMEETINGS-1742] 'Add URL' button is added to the chat

Repository: openmeetings
Updated Branches:
  refs/heads/master 736e68262 -> 0ec74c062


[OPENMEETINGS-1742] 'Add URL' button is added to the chat


Project: http://git-wip-us.apache.org/repos/asf/openmeetings/repo
Commit: http://git-wip-us.apache.org/repos/asf/openmeetings/commit/0ec74c06
Tree: http://git-wip-us.apache.org/repos/asf/openmeetings/tree/0ec74c06
Diff: http://git-wip-us.apache.org/repos/asf/openmeetings/diff/0ec74c06

Branch: refs/heads/master
Commit: 0ec74c0627935fa2100297aa5c50cf673ea51b76
Parents: 736e682
Author: Maxim Solodovnik <so...@gmail.com>
Authored: Tue Nov 7 16:27:29 2017 +0700
Committer: Maxim Solodovnik <so...@gmail.com>
Committed: Tue Nov 7 16:28:24 2017 +0700

----------------------------------------------------------------------
 .../openmeetings/web/user/chat/ChatToolbar.html      |   7 +++++++
 openmeetings-web/src/main/webapp/css/chat.css        |   5 +++++
 openmeetings-web/src/main/webapp/css/images/link.png | Bin 0 -> 343 bytes
 3 files changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/openmeetings/blob/0ec74c06/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.html
----------------------------------------------------------------------
diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.html b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.html
index 2fc75db..e4e49b7 100644
--- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.html
+++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.html
@@ -55,6 +55,13 @@
 			id="strikethrough" class="chat btn btn-default" data-edit="strikethrough" title="Strikethrough" style="text-decoration: line-through;"> S </a> <a
 			id="underline" class="chat btn btn-default" data-edit="underline" title="Underline (Ctrl/Cmd+U)" style="text-decoration: underline;"> U </a>
 		</div>
+		<div class="btn-group">
+			<a id="hyperlink" class="chat btn btn-default dropdown-toggle" data-toggle="dropdown" title="Hyperlink">&nbsp;</a>
+			<div class="dropdown-menu input-append">
+				<input class="span2" placeholder="URL" type="text" data-edit="createLink"/>
+				<button class="btn btn-default" type="button"><wicket:message key="1261"/></button>
+			</div>
+		</div>
 	</div>
 </wicket:panel>
 </html>

http://git-wip-us.apache.org/repos/asf/openmeetings/blob/0ec74c06/openmeetings-web/src/main/webapp/css/chat.css
----------------------------------------------------------------------
diff --git a/openmeetings-web/src/main/webapp/css/chat.css b/openmeetings-web/src/main/webapp/css/chat.css
index 38923ce..6f88821 100644
--- a/openmeetings-web/src/main/webapp/css/chat.css
+++ b/openmeetings-web/src/main/webapp/css/chat.css
@@ -86,6 +86,11 @@
 .sound-mute.om-icon {
 	background-image: url(images/sound_mute.png);
 }
+#chat #hyperlink {
+	background-repeat: no-repeat;
+	background-image: url(images/link.png);
+	background-position: center;
+}
 #chat .chat-btn {
 	display: inline-block;
 	float: right;

http://git-wip-us.apache.org/repos/asf/openmeetings/blob/0ec74c06/openmeetings-web/src/main/webapp/css/images/link.png
----------------------------------------------------------------------
diff --git a/openmeetings-web/src/main/webapp/css/images/link.png b/openmeetings-web/src/main/webapp/css/images/link.png
new file mode 100644
index 0000000..25eacb7
Binary files /dev/null and b/openmeetings-web/src/main/webapp/css/images/link.png differ