From: indresh singh bhadoria Date: Fri, 16 Jun 2017 21:33:40 +0530 Subject: header dropdown menu view design change --- header dropdown menu view design change --- --- 'a/css/styles.css' +++ b/css/styles.css @@ -74,7 +74,51 @@ p { font-size: 18px; } .page-header .breadcrumb { margin: 0; } +/* indresh style */ +.dropdown-menu { + background-color: blueviolet !important; + /* border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176); + float: left; + font-size: 14px; + left: 0; + list-style: outside none none; + min-width: 160px; + padding: 5px 0; + position: absolute; + text-align: left; + top: 100%; + z-index: 1000;*/ +} +.dropdown-menu>li>a{ + color:#fff; +} +.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{/*color:#262626;text-decoration:none;*/background-color:#fff !important; margin-left:15px; padding-left:8px !important;} +/*.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{ + color:#fff;text-decoration:none;background-color:#337ab7;outline:0} +.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{ + color:#777} +.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{ + text-decoration:none; + cursor:not-allowed; + background-color:transparent; + background-image:none; + + filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)} +.open>.dropdown-menu{display:block}.open>a{outline:0} +.dropdown-menu-right{right:0;left:auto} +.dropdown-menu-left{right:auto;left:0} +.dropdown-header{ + display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap} +.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990} +.pull-right>.dropdown-menu{right:0;left:auto} +.dropup .caret,.navbar-fixed-bottom .dropdown .caret{ + content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9} +.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{ + top:auto;bottom:100%;margin-bottom:2px} */ +/* indresh end style*/ /* * 1.2. Helper CSS */ @@ -561,6 +605,7 @@ select:not([multiple]) { padding: 0 25px 0 0; height: auto; } + /* ============================== 5. Buttons ============================== */ @@ -617,6 +662,12 @@ select:not([multiple]) { background: #blueviolet; color: #FFFFFF; /* border-color: #000000; */} + + .btn-info:hover + {color:#fff;background-color:blueviolet;border-color:#269abc} + **/ + + .btn.btn-animation span { -webkit-transform: translateX(0); -khtml-transform: translateX(0); @@ -737,7 +788,7 @@ select:not([multiple]) { color: #FFFFFF; border-color: #000000; } .btn.btn-default:hover, .btn.btn-dark-b:hover { - background: orange; + background:cornflowerblue; color: #FFFFFF; /* border-color: #000000;*/ } .btn.btn-blue-b { --- 'a/doc.php' +++ b/doc.php @@ -256,7 +256,7 @@ $dataI = json_decode($issuedNew[1], TRUE $("#folderPath").html(uriDataHtml); }); //$("#parent").empty(); - $("#parent").html("" + result.directory + ""); + $("#parent").html("" + result.directory + ""); }, "json") .fail(function () { $("#folderPath").html("Some error found"); --- 'a/header.php' +++ b/header.php @@ -16,6 +16,14 @@ @@ -69,9 +76,9 @@ @@ -82,9 +89,9 @@ @@ -95,9 +102,9 @@ @@ -107,48 +114,51 @@ @@ -158,9 +168,9 @@ @@ -171,9 +181,9 @@ @@ -184,9 +194,9 @@ @@ -197,9 +207,9 @@ --- /dev/null +++ b/images/home.svg @@ -0,0 +1,5 @@ + + + + + --- 'a/uploaddoc.php' +++ b/uploaddoc.php @@ -2,14 +2,6 @@ include 'header.php'; $code = $_GET['code']; $state = $_GET['state']; -if (file_exists("xml/hashhkey.xml")) { - $xml = (array) simplexml_load_file("xml/hashhkey.xml") or die("Error: Cannot create object"); -} else { - echo "xml/hashhkey.xml file doesnot exists"; -} -$access_token = $xml['access_token']; -$cd = (array) $xml['code']['num']; -if ($cd != $code) { $url = "https://developers.digitallocker.gov.in/public/oauth2/1/token"; $post = array( 'code' => $code, @@ -61,7 +53,7 @@ if ($cd != $code) { echo "xml/hashhkey.xml file doesnot exists"; } $access_token = $xml['access_token']; -} + $headers = array( 'Authorization: Bearer ' . $access_token //'Authorization: Basic '. base64_encode("$username:$password") @@ -99,7 +91,6 @@ $dataF = json_decode($resFileNew[1], TRU
-
@@ -113,7 +104,8 @@ $dataF = json_decode($resFileNew[1], TRU
-
+ + @@ -214,7 +206,7 @@ $dataF = json_decode($resFileNew[1], TRU }); $("#filePath").val(result.directory); //$("#parent").empty(); - $("#parent").html("" + result.directory + ""); + $("#parent").html("" + result.directory + ""); }, "json") .fail(function () { $("#folderPath").html("Some error found"); --- 'a/xml/hashKey.xml' +++ b/xml/hashKey.xml @@ -1,5 +1,5 @@ - - 74c3c374114cefae8f5174a6c12963889b9e4905 + + 1454faa5e3ff3dd52ab7ba52ba3f3c405e8f478f --- 'a/xml/hashhkey.xml' +++ b/xml/hashhkey.xml @@ -1,5 +1,5 @@ - - 81d8af926baa16e287bb142086b25e0cd7d9dd36 + + ce5698bd26acbd2aa38764d7b94c838e22602f46