Last modified by Aurelie Bertrand on 2025/02/07 10:22

From version 1.1
edited by jhurst
on 2020/07/21 11:35
Change comment: Imported from XAR
To version 2.1
edited by Aurelie Bertrand
on 2025/02/07 10:22
Change comment: Copied from dev:Digdash.customization.customization_DDE.WebHome

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.jhurst
1 +xwiki:XWiki.aureliebertranddigdashbiz
Content
... ... @@ -1326,7 +1326,7 @@
1326 1326  
1327 1327  Open the **<DDE install> /apache-tomcat/digdash_dashboard/dashboard.css file** for editing. Add the following lines to the end of this file:
1328 1328  
1329 -{{code language="CSS"}}
1329 +{{code language="CSS" cssClass="notranslate"}}
1330 1330  . in , . out {
1331 1331           -webkit- animation-timing-function : ease-in-out ;
1332 1332           -webkit- animation-duration : 350 ms ;
... ... @@ -1380,7 +1380,7 @@
1380 1380  
1381 1381  Open the **<DDE install> /apache-tomcat/digdash_dashboard/js-dashboard.js file** for editing. Add the following lines to the end of this file:
1382 1382  
1383 -{{code language="JAVASCRIPT"}}
1383 +{{code language="JAVASCRIPT" cssClass="notranslate"}}
1384 1384  function canChangeCurrentPage (nextPage)
1385 1385  {
1386 1386     var currentPage = getCurrentPage ();
... ... @@ -1462,7 +1462,7 @@
1462 1462  
1463 1463  Still in the js-dashboard.js file, add the following Javascript which implements the detection of a swipe of the finger ("Swipe") on the tablet:
1464 1464  
1465 -{{code language="JAVASCRIPT"}}
1465 +{{code language="JAVASCRIPT" cssClass="notranslate"}}
1466 1466  var maxTime = 150 , // allow movement if <150 ms  
1467 1467   maxDistance = 100 , // swipe movement of 100 pixels min to trigger
1468 1468   startX = 0 ,