airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: fixing credential store ui issues
Date Sat, 16 Jul 2016 17:07:48 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 9c1af9366 -> 923e5be25


fixing credential store ui issues


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/923e5be2
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/923e5be2
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/923e5be2

Branch: refs/heads/develop
Commit: 923e5be25a58ad45974c6557c898dd7630a4e432
Parents: 9c1af93
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Sat Jul 16 13:07:43 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Sat Jul 16 13:07:43 2016 -0400

----------------------------------------------------------------------
 app/views/admin/manage-credentials.blade.php | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/923e5be2/app/views/admin/manage-credentials.blade.php
----------------------------------------------------------------------
diff --git a/app/views/admin/manage-credentials.blade.php b/app/views/admin/manage-credentials.blade.php
index 8b686bf..daa6149 100644
--- a/app/views/admin/manage-credentials.blade.php
+++ b/app/views/admin/manage-credentials.blade.php
@@ -48,7 +48,7 @@
                         <th>Delete</th>
                         @endif
                     </tr>
-                    <tbody class="token-values">
+                    <tbody class="token-values-ssh">
                     @foreach( $tokens as $token => $publicKey)
                     <tr>
                         <td class="">
@@ -59,7 +59,7 @@
                         </td>
                         @if( Session::has("admin"))
                         <td>
-                            <span data-token="{{$token}}" class="glyphicon glyphicon-trash
remove=ssh-token"></span>
+                            <span data-token="{{$token}}" class="glyphicon glyphicon-trash
remove-ssh-token"></span>
                         </td>
                         @endif
                     </tr>
@@ -109,7 +109,7 @@
                                 </td>
                             </tr>
                         </table>
-                        <div class="loading-img text-center hide">
+                        <div class="loading-img-pwd text-center hide">
                             <img src="../../assets/ajax-loader.gif"/>
                         </div>
                     @endif
@@ -230,7 +230,7 @@
             //$(".token-values").html("");
             $(".generate-ssh").after("<div class='alert alert-success new-token-msg'>New
Token has been generated.</div>");
 
-            $(".token-values").prepend("<tr class='alert alert-success'><td>"
+ tokenJson.token + "</td><td class='public-key'>" + tokenJson.pubkey + "</td>"
+ "<td><a href=''><span data-token='"+tokenJson.token+"' class='glyphicon glyphicon-trash
remove-token'></span></a></td></<tr>");
+            $(".token-values-ssh").prepend("<tr class='alert alert-success'><td>"
+ tokenJson.token + "</td><td class='public-key'>" + tokenJson.pubkey + "</td>"
+ "<td><a href=''><span data-token='"+tokenJson.token+"' class='glyphicon glyphicon-trash
remove-token'></span></a></td></<tr>");
             $(".loading-img").addClass("hide");
             
             setInterval( function(){
@@ -292,7 +292,7 @@
 
 
        tr.find( ".remove-token-confirmation").click( function(){
-           $(".loading-img").removeClass("hide");
+           $(".loading-img-pwd").removeClass("hide");
            $.ajax({
                type: "POST",
                data:{ "token" : tokenToRemove},
@@ -304,7 +304,7 @@
            }).fail( function( data){
                tr.after("<tr class='alert alert-danger'><td></td><td>Error
occurred : " + $.parseJSON( data.responseText).error.message + "</td><td></td></tr>");
            }).complete( function(){
-               $(".loading-img").addClass("hide");
+               $(".loading-img-pwd").addClass("hide");
 
            });
        });


Mime
View raw message