This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 4c1fe77  no jira: logo contribution
4c1fe77 is described below

commit 4c1fe77783cca73266bee0320f5f9e05b31b488b
Author: Maxim Solodovnik <solomax...@gmail.com>
AuthorDate: Sun Oct 11 14:40:38 2020 +0700

    no jira: logo contribution
---
 .../site/resources/images/logos/logo_om_big1.png   | Bin 0 -> 157386 bytes
 .../site/resources/images/logos/logo_om_small1.png | Bin 0 -> 51232 bytes
 openmeetings-server/src/site/xdoc/CallForLogo.xml  | 108 +++++++++++++--------
 3 files changed, 68 insertions(+), 40 deletions(-)

diff --git 
a/openmeetings-server/src/site/resources/images/logos/logo_om_big1.png 
b/openmeetings-server/src/site/resources/images/logos/logo_om_big1.png
new file mode 100644
index 0000000..20c595e
Binary files /dev/null and 
b/openmeetings-server/src/site/resources/images/logos/logo_om_big1.png differ
diff --git 
a/openmeetings-server/src/site/resources/images/logos/logo_om_small1.png 
b/openmeetings-server/src/site/resources/images/logos/logo_om_small1.png
new file mode 100644
index 0000000..7691c99
Binary files /dev/null and 
b/openmeetings-server/src/site/resources/images/logos/logo_om_small1.png differ
diff --git a/openmeetings-server/src/site/xdoc/CallForLogo.xml 
b/openmeetings-server/src/site/xdoc/CallForLogo.xml
index c27de83..2355443 100644
--- a/openmeetings-server/src/site/xdoc/CallForLogo.xml
+++ b/openmeetings-server/src/site/xdoc/CallForLogo.xml
@@ -43,34 +43,13 @@
                        </div>
                </section>
                <section name="Logos">
-                       <script type="text/javascript">
-                       //<![CDATA[
-                               function applyLogoBig(e) {
-                                       var ib = 
e.closest('table').find('.logo-big');
-                                       var bi = $('.bannerLeft img');
-                                       bi.attr('src', ib.attr('src'));
-                                       $('.subhead')[0].scrollIntoView()
-                               }
-                               function applyLogoSmall(e) {
-                                       var pp = $('.powered-preview');
-                                       var l = 
pp.children('.powered-preview-logo');
-                                       if (!l.length) {
-                                               l = $("<div 
class='powered-preview-logo'></div>");
-                                               pp.append(l);
-                                       }
-                                       var ib = 
e.closest('table').find('.logo-square');
-                                       l.css('background-image', 'url(' + 
ib.attr('src') + ')');
-                                       $('#_toc_preview')[0].scrollIntoView();
-                               }
-                       //]]>
-                       </script>
                        <h3>Big version</h3>
                        <ol>
                                <li>
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-big" src="images/logo.png" alt="Apache OpenMeetings"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoBig($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-big">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -82,7 +61,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-big" src="images/logos/logo_om_big3.png" alt="Apache 
OpenMeetings"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoBig($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-big">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -94,7 +73,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-big" src="images/logos/logo_om_big4.png" alt="Apache 
OpenMeetings"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoBig($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-big">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -106,7 +85,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-big" src="images/logos/logo_om_big5.png" alt="Apache 
OpenMeetings"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoBig($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-big">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -118,7 +97,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-big" src="images/logos/logo_om_big6.png" alt="Apache 
OpenMeetings"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoBig($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-big">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -130,7 +109,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-big" src="images/logos/logo_om_big7.png" alt="Apache 
OpenMeetings"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoBig($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-big">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -142,7 +121,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-big" src="images/logos/logo_om_big8.png" alt="Apache 
OpenMeetings"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoBig($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-big">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -154,7 +133,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-big" src="images/logos/logo_om_big9.png" alt="Apache 
OpenMeetings"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoBig($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-big">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -162,6 +141,18 @@
                                                </tr>
                                        </table>
                                </li>
+                               <li>
+                                       <table>
+                                               <tr>
+                                                       <td><img 
class="logo-big" src="images/logos/logo_om_big1.png" alt="Apache 
OpenMeetings"/></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-big">Apply</span></td>
+                                               </tr>
+                                               <tr>
+                                                       <td>Author</td>
+                                                       <td>Thomas Scholzen</td>
+                                               </tr>
+                                       </table>
+                               </li>
                        </ol>
                        <h3>Square version</h3>
                        <ol>
@@ -169,7 +160,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-square" src="images/logos/logo_om1.png" alt="Square version" 
width="50"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoSmall($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -181,7 +172,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-square" src="images/logos/logo_om_small3.png" alt="Square version" 
width="50"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoSmall($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -193,7 +184,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-square" src="images/logos/logo_om_small4.png" alt="Square version" 
width="50"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoSmall($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -205,7 +196,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-square" src="images/logos/logo_om_small6.png" alt="Square version" 
width="50"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoSmall($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -217,7 +208,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-square" src="images/logos/logo_om_small7.png" alt="Square version" 
width="50"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoSmall($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -229,7 +220,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-square" src="images/logos/logo_om_small8.png" alt="Square version" 
width="50"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoSmall($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -241,7 +232,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-square" src="images/logos/logo_om_small9.png" alt="Square version" 
width="50"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoSmall($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -253,7 +244,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-square" src="images/logos/logo_om_small10.png" alt="Square version" 
width="50"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoSmall($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -265,7 +256,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-square" src="images/logos/logo_om_small11.png" alt="Square version" 
width="50"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoSmall($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -277,7 +268,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-square" src="images/logos/logo_om_small12.png" alt="Square version" 
width="50"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoSmall($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -289,7 +280,7 @@
                                        <table>
                                                <tr>
                                                        <td><img 
class="logo-square" src="images/logos/logo_om_small13.png" alt="Square version" 
width="50"/></td>
-                                                       <td><span class="btn 
btn-primary" onclick="applyLogoSmall($(this));">Apply</span></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
                                                </tr>
                                                <tr>
                                                        <td>Author</td>
@@ -297,7 +288,44 @@
                                                </tr>
                                        </table>
                                </li>
+                               <li>
+                                       <table>
+                                               <tr>
+                                                       <td><img 
class="logo-square" src="images/logos/logo_om_small1.png" alt="Square version" 
width="50"/></td>
+                                                       <td><span class="btn 
btn-primary btn-logo-small">Apply</span></td>
+                                               </tr>
+                                               <tr>
+                                                       <td>Author</td>
+                                                       <td>Thomas Scholzen</td>
+                                               </tr>
+                                       </table>
+                               </li>
                        </ol>
+                       <script type="text/javascript">
+                       //<![CDATA[
+                               function applyLogoBig() {
+                                       var ib = 
$(this).closest('table').find('.logo-big');
+                                       var bi = $('.bannerLeft img');
+                                       bi.attr('src', ib.attr('src'));
+                                       $(window).scrollTop(0);
+                               }
+                               function applyLogoSmall() {
+                                       var pp = $('.powered-preview');
+                                       var l = 
pp.children('.powered-preview-logo');
+                                       if (!l.length) {
+                                               l = $("<div 
class='powered-preview-logo'></div>");
+                                               pp.append(l);
+                                       }
+                                       var ib = 
$(this).closest('table').find('.logo-square');
+                                       l.css('background-image', 'url(' + 
ib.attr('src') + ')');
+                                       $('#_toc_preview')[0].scrollIntoView();
+                               }
+                               document.addEventListener("DOMContentLoaded", 
function() {
+                                       $('.btn-logo-big').click(applyLogoBig);
+                                       
$('.btn-logo-small').click(applyLogoSmall);
+                               });
+                       //]]>
+                       </script>
                </section>
        </body>
 </document>

Reply via email to