Merge branch 'master' of gitea.release11.com:R11/release11-tools into widlam/refactoring/issue#120
Deleted commented code
This commit is contained in:
		@@ -1,8 +1,32 @@
 | 
			
		||||
@import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css');
 | 
			
		||||
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
 | 
			
		||||
/* @import url('https://fonts.googleapis.com/icon?family=Material+Icons'); */
 | 
			
		||||
@import url('r11addons.css');
 | 
			
		||||
@import url('r11tables.css');
 | 
			
		||||
@import url('r11tool.css');
 | 
			
		||||
@import url('r11tooltip.css');
 | 
			
		||||
@import url('r11modal.css');
 | 
			
		||||
@import url('r11flexbox.css')
 | 
			
		||||
@import url('r11flexbox.css');
 | 
			
		||||
 | 
			
		||||
@font-face {
 | 
			
		||||
    font-family: 'Material Icons';
 | 
			
		||||
    font-style: normal;
 | 
			
		||||
    font-weight: 400;
 | 
			
		||||
    src: url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
 | 
			
		||||
}
 | 
			
		||||
  
 | 
			
		||||
.material-icons {
 | 
			
		||||
    font-family: 'Material Icons';
 | 
			
		||||
    font-weight: normal;
 | 
			
		||||
    font-style: normal;
 | 
			
		||||
    font-size: 24px;
 | 
			
		||||
    line-height: 1;
 | 
			
		||||
    letter-spacing: normal;
 | 
			
		||||
    text-transform: none;
 | 
			
		||||
    display: inline-block;
 | 
			
		||||
    white-space: nowrap;
 | 
			
		||||
    word-wrap: normal;
 | 
			
		||||
    direction: ltr;
 | 
			
		||||
    -moz-font-feature-settings: 'liga';
 | 
			
		||||
    -moz-osx-font-smoothing: grayscale;
 | 
			
		||||
}
 | 
			
		||||
  
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -1,4 +1,7 @@
 | 
			
		||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap');
 | 
			
		||||
@font-face {
 | 
			
		||||
    font-family: "Nunito";
 | 
			
		||||
    src: url('font/Nunito-VariableFont_wght.ttf') format('truetype');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
input {
 | 
			
		||||
    box-sizing: border-box;
 | 
			
		||||
@@ -98,7 +101,7 @@ body {
 | 
			
		||||
 | 
			
		||||
.clickable-text.switch {
 | 
			
		||||
    font-size: 18px;
 | 
			
		||||
    font-weight: 700;
 | 
			
		||||
    font-weight: 300;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.clickable-text.switch span.toggleIndicator:before {
 | 
			
		||||
@@ -295,6 +298,20 @@ body {
 | 
			
		||||
    display: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
h1 {
 | 
			
		||||
    font-weight: 400;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
h2 {
 | 
			
		||||
    font-weight: 400;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
h3 {
 | 
			
		||||
    font-weight: 400;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* TODO: Add proper class */
 | 
			
		||||
/* textarea {
 | 
			
		||||
	-webkit-box-sizing: border-box;
 | 
			
		||||
 
 | 
			
		||||
@@ -281,9 +281,8 @@ async function fetchUUIDCheck(givenUUID , strategy){
 | 
			
		||||
 | 
			
		||||
function checkUUIDChars(uuid) {
 | 
			
		||||
    uuid.replace(/ /g,'')
 | 
			
		||||
    
 | 
			
		||||
    const regex = new RegExp("^[A-z0-9-]+$");
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
    if(regex.test(uuid) && uuid != ""){
 | 
			
		||||
        return uuid ;
 | 
			
		||||
    } 
 | 
			
		||||
 
 | 
			
		||||
@@ -5,26 +5,7 @@ function filterHistory(){
 | 
			
		||||
    var dateFrom = new Date($('#historyFrom').val() + 'T' + $('#historyTimeFrom').val());
 | 
			
		||||
    
 | 
			
		||||
    var dateTo = new Date($('#historyTo').val() + 'T' + $('#historyTimeTo').val());
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    // var dateFrom = new Date();
 | 
			
		||||
    // var dateTo = new Date();
 | 
			
		||||
    // var timeFrom = new Date();
 | 
			
		||||
    // var timeTo = new Date();
 | 
			
		||||
 | 
			
		||||
    // dateFrom = Date.parse($('#historyFrom').val());
 | 
			
		||||
    // 
 | 
			
		||||
    // dateTo = Date.parse($('#historyTo').val());
 | 
			
		||||
    // 
 | 
			
		||||
    // timeFrom = Date.parse($('#historyTimeFrom').val());
 | 
			
		||||
    // 
 | 
			
		||||
    // timeTo = Date.parse($('#historyToFrom').val());
 | 
			
		||||
    // 
 | 
			
		||||
    // dateFrom.setTime(timeFrom);
 | 
			
		||||
    // 
 | 
			
		||||
    // dateTo.setTime(timeTo);
 | 
			
		||||
    // 
 | 
			
		||||
    
 | 
			
		||||
        
 | 
			
		||||
    loadHistory(dateFrom, dateTo);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -79,7 +79,7 @@ public class XPathController implements RestController {
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                duration = System.currentTimeMillis() - timeStart;
 | 
			
		||||
                this.logger.info("Request" + body + " processed in " + duration + " ms.");
 | 
			
		||||
                this.logger.info("Request (XPath, Saxon) processed in " + duration + " ms.");
 | 
			
		||||
 | 
			
		||||
                responseJson.addProperty("processor", "Saxon " + Saxon.getVersion() + " " + version + " over s9api");
 | 
			
		||||
                responseJson.addProperty("time", duration);
 | 
			
		||||
@@ -108,7 +108,7 @@ public class XPathController implements RestController {
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                duration = System.currentTimeMillis() - timeStart;
 | 
			
		||||
                this.logger.info("Request: " + body + " processed in " + duration + " ms.");
 | 
			
		||||
                this.logger.info("Request (XPath, Xalan) processed in " + duration + " ms.");
 | 
			
		||||
 | 
			
		||||
                responseJson.addProperty("processor", Xalan.getVersion());
 | 
			
		||||
                responseJson.addProperty("time", duration);
 | 
			
		||||
 
 | 
			
		||||
@@ -67,7 +67,7 @@ public class XsdController implements RestController {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        long duration = System.currentTimeMillis() - timeStart;
 | 
			
		||||
        this.logger.info("Request: " + body + " processed in " + duration + " ms.");
 | 
			
		||||
        this.logger.info("Request (XSD, Xalan) processed in " + duration + " ms.");
 | 
			
		||||
 | 
			
		||||
        responseJson.addProperty("processor", Xalan.getVersion());
 | 
			
		||||
        responseJson.addProperty("time", duration);
 | 
			
		||||
 
 | 
			
		||||
@@ -77,7 +77,7 @@ public class XsltController implements RestController {
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                duration = System.currentTimeMillis() - timeStart;
 | 
			
		||||
                this.logger.info("Request: " + body + " processed in " + duration + " ms.");
 | 
			
		||||
                this.logger.info("Request (XSLT, Saxon) processed in " + duration + " ms.");
 | 
			
		||||
 | 
			
		||||
                responseJson.addProperty("processor", "Saxon " + Saxon.getVersion() + " " + version);
 | 
			
		||||
                responseJson.addProperty("time", duration);
 | 
			
		||||
@@ -104,7 +104,7 @@ public class XsltController implements RestController {
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                duration = System.currentTimeMillis() - timeStart;
 | 
			
		||||
                this.logger.info("Request: " + body + " processed in " + duration + " ms.");
 | 
			
		||||
                this.logger.info("Request (XSLT, Xalan) processed in " + duration + " ms.");
 | 
			
		||||
 | 
			
		||||
                responseJson.addProperty("processor", Xalan.getVersion());
 | 
			
		||||
                responseJson.addProperty("time", duration);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user