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 a764669  [OPENMEETINGS-2482] GeneralConfiguration page is refactored
a764669 is described below

commit a76466949046e2d4e9fb61cc003d2cae91630719
Author: Maxim Solodovnik <solomax...@gmail.com>
AuthorDate: Thu Oct 15 11:35:44 2020 +0700

    [OPENMEETINGS-2482] GeneralConfiguration page is refactored
---
 .../src/site/resources/css/site.css                |  3 ++
 .../src/site/stylesheets/configs.xsl               | 32 ++++++++++++----------
 2 files changed, 21 insertions(+), 14 deletions(-)

diff --git a/openmeetings-server/src/site/resources/css/site.css 
b/openmeetings-server/src/site/resources/css/site.css
index 29052c3..e8f6de2 100644
--- a/openmeetings-server/src/site/resources/css/site.css
+++ b/openmeetings-server/src/site/resources/css/site.css
@@ -121,3 +121,6 @@ iframe {
        font-weight: bold;
        color: var(--info);
 }
+.grid-striped .row:nth-of-type(odd) {
+       background-color: rgba(0,0,0,.05);
+}
diff --git a/openmeetings-server/src/site/stylesheets/configs.xsl 
b/openmeetings-server/src/site/stylesheets/configs.xsl
index e66fc69..10dfb3b 100644
--- a/openmeetings-server/src/site/stylesheets/configs.xsl
+++ b/openmeetings-server/src/site/stylesheets/configs.xsl
@@ -40,26 +40,30 @@
                                configuration values.
                        </p>
                        <p></p>
-                       <table>
-                               <tr>
-                                       <th> key </th>
-                                       <th> default </th>
-                                       <th> meaning </th>
-                                       <th> availabe since OpenMeetings 
version </th>
-                               </tr>
+                       <div class="container grid-striped">
+                               <div class="row font-weight-bold mb-3">
+                                       <div class="col-1 p-2"> # </div>
+                                       <div class="col-3 text-break p-2"> key 
</div>
+                                       <div class="col-1 p-2"> type </div>
+                                       <div class="col-3 text-break p-2"> 
default </div>
+                                       <div class="col-3 text-break p-2"> 
meaning </div>
+                                       <div class="col-1 p-2"> version </div>
+                               </div>
                        <xsl:apply-templates/>
-                       </table>
+                       </div>
                </section>
        </body>
 </document>
        </xsl:template>
 
        <xsl:template match="config">
-                               <tr>
-                                       <td><xsl:value-of select="key"/></td>
-                                       <td><xsl:value-of select="value"/></td>
-                                       <td><xsl:value-of 
select="comment"/></td>
-                                       <td><xsl:value-of 
select="fromVersion"/></td>
-                               </tr>
+                               <div class="row mb-3">
+                                       <div class="col-1 p-2"><xsl:value-of 
select="position() div 2"/></div>
+                                       <div class="col-3 text-break 
p-2"><xsl:value-of select="key"/></div>
+                                       <div class="col-1 p-2"><xsl:value-of 
select="type"/></div>
+                                       <div class="col-3 text-break 
font-italic font-weight-bold p-2"><xsl:value-of select="value"/></div>
+                                       <div class="col-3 text-break 
p-2"><xsl:value-of select="comment"/></div>
+                                       <div class="col-1 p-2"><xsl:value-of 
select="fromVersion"/></div>
+                               </div>
        </xsl:template>
 </xsl:stylesheet>

Reply via email to