From: indresh singh bhadoria Date: Wed, 28 Jun 2017 10:01:46 +0530 Subject: Merge branch 'feature/apidemoapp' into develop --- Merge branch 'feature/apidemoapp' into develop --- Binary files 'a/css/loading.gif' and b/css/loading.gif differ --- 'a/css/styles.css' +++ b/css/styles.css @@ -782,14 +782,14 @@ select:not([multiple]) { color: #FFFFFF; /* border-color: #000000;*/ } .btn.btn-blue-b { - border: 2px solid #f15d35; - background: #f15d35; + border: 2px solid blueviolet; + background: blueviolet; font-family: "Karla", arial, sans-serif; font-weight: normal; color: #FFFFFF; } .btn.btn-blue-b:hover { - border: 2px solid #f15d35; - background: #FFFFFF; + border: 2px solid cornflowerblue; + background: cornflowerblue; color: #000000; } .rev-btn { @@ -4577,7 +4577,7 @@ table.compare tr td .add_to_cart_button } .box:hover { - border:1px solid #f15d35; + border:1px solid blueviolet !important; background: #fefefe; } @@ -5319,4 +5319,13 @@ if it's not present, don't show loader * z-index: 9999; opacity: 0.4; background: url(loading.gif) center no-repeat transparent; +} +.btn-default:hover{ + border:1px solid blueviolet; +} +.navbar-nav > + li > a:hover + { + background-color: green; + color: #000; } \ No newline at end of file --- 'a/doc.php' +++ b/doc.php @@ -125,7 +125,7 @@ include 'header.php';
-
+
@@ -136,8 +136,8 @@ include 'header.php';
- - + +
@@ -156,22 +156,24 @@ include 'header.php'; echo '"; } if ($api_detail['type'] == "file") { - echo ""; } - echo ""; ?> - "; + } ?>
-
-
-
'; echo ''; echo($api_detail['name']); + echo ""; + echo ""; echo ''; echo($api_detail['name']); + echo " - - +
+
+
@@ -215,7 +216,7 @@ include 'header.php'; @@ -227,7 +228,6 @@ include 'header.php'; Complete PaymentCancel - @@ -264,7 +264,7 @@ function uriData(id, parent) { console.log(result.items); fileOrFolder = ''; onclickFnc = "onclick='thisIsNotAFolder()'"; - dwnldTd = ""; + dwnldTd = ""; } else { fileOrFolder = ''; onclickFnc = "onclick='uriData(" + result.items[i].id + "," + result.items[i].parent + ")'"; @@ -274,7 +274,7 @@ function uriData(id, parent) { " + dwnldTd + ""; $("#folderPath").html(uriDataHtml); }); - $("#parent").html("" + result.directory + ""); + $("#parent").html("" + result.directory + ""); $(".se-pre-con").hide(); }, "json") .fail(function () { --- 'a/header.php' +++ b/header.php @@ -67,7 +67,7 @@ -
Name - +
" + result.items[i].uri + "
@@ -169,7 +170,7 @@ include 'header.php'; echo($api_detail['name']); } if ($api_detail['type'] == "file") { - echo " - @@ -193,6 +191,7 @@ include 'header.php'; Cancel + @@ -223,54 +222,33 @@ function uriData(id, parent) { var uriDataHtml = ""; var fileOrFolder = ""; var onclickFnc = ""; - var dwnldTd = ""; + //var dwnldTd = ""; var accessToken = ""; var urifnc = ""; $.post(urifnc, {access_token: accessTocken, id: id}, function (result) { $.each(result.items, function (i, l) { - if (result.items[i].type == "file") { console.log(result.items); fileOrFolder = ''; onclickFnc = "onclick='thisIsNotAFolder()'"; - dwnldTd = ""; + //dwnldTd = ""; } else { fileOrFolder = ''; onclickFnc = "onclick='uriData(" + result.items[i].id + "," + result.items[i].parent + ")'"; dwnldTd = ""; } uriDataHtml += "\n\ -" + dwnldTd + ""; + " + dwnldTd + ""; $("#folderPath").html(uriDataHtml); }); $("#filePath").val(result.directory); - $("#parent").html("" + result.directory + ""); + $("#parent").html("" + result.directory + ""); $(".se-pre-con").hide(); }, "json") .fail(function () { $("#folderPath").html("Some error found"); }); } -function download(uris, filename) { - $(".se-pre-con").show(); - var getdata = uris.split(","); - var uri = getdata[0]; - var filename = getdata[1]; - var accessTocken = ""; - var dlscfnc = "" - var arraydata = {uri: uri, accesstoken: accessTocken, filename: filename} - $.ajax({ - url: dlscfnc + 'download.php', - type: 'POST', - data: arraydata - }).done(function (response) - { - $(".se-pre-con").hide(); - var getdata = JSON.parse(response); - console.log(getdata[1]); - window.open("data:" + getdata[0] + ";base64," + getdata[1], '', 'height=650,width=840'); - }); -} $(".se-pre-con").fadeOut("slow"); \ No newline at end of file
"; + echo ""; echo ''; echo($api_detail['name']); } @@ -178,9 +179,6 @@ include 'header.php'; - -
" + fileOrFolder + result.items[i].name + "" + result.items[i].size + "" + result.items[i].date + "" + result.items[i].uri + "
" + result.items[i].uri + "