chao пре 4 година
родитељ
комит
be549b668b
2 измењених фајлова са 12 додато и 2 уклоњено
  1. 1 1
      src/main/resources/static/css/base/init.css
  2. 11 1
      src/main/resources/static/js/base.js

+ 1 - 1
src/main/resources/static/css/base/init.css

@@ -8,7 +8,7 @@ body{width:100%;min-height:100%;font-size:14px;color:#4A4F58;background:#F5F5F5;
 a{text-decoration:none;color:#4A4F58;}
 a:focus{text-decoration:none;outline:none;}
 a:hover{color:#E15616;}
-img{border:none;vertical-align:middle;}
+img{border:none;vertical-align:middle;max-width:100%;}
 button{border:none;outline:none;}
 input{outline:none;box-shadow:none;}
 pre{white-space:pre-wrap;}

+ 11 - 1
src/main/resources/static/js/base.js

@@ -326,7 +326,17 @@ $(function(){
     });
 
 });
-
+/*function uuid() {
+    var s = [];
+    var hexDigits = "0123456789abcdef";
+    for (var i = 0; i < 36; i++) {
+        s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
+    }
+    s[14] = "4";  // bits 12-15 of the time_hi_and_version field to 0010
+    s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1);  // bits 6-7 of the clock_seq_hi_and_reserved to 01
+    s[8] = s[13] = s[18] = s[23] = "-";
+    return s.join("");
+}*/
 function setBeforeUrl(){
     var baseUrl = window.location.href;
     var flag = baseUrl.indexOf('/login.html')>0 || baseUrl.indexOf('/register.html')>0 || baseUrl.indexOf('/we_chat/redirect_uri.html')>0;