From d55e8bebd258d5ca8f3d9d892a4b8ce201726d2a Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Wed, 8 May 2013 12:52:36 -0700 Subject: [PATCH] Renaming some elements/classes for consistancy --- resources/themes/bootstrap/directorylister.js | 12 ++++++------ resources/themes/bootstrap/index.php | 8 ++++---- resources/themes/bootstrap/style.css | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/resources/themes/bootstrap/directorylister.js b/resources/themes/bootstrap/directorylister.js index b5850c284..55a2eb767 100644 --- a/resources/themes/bootstrap/directorylister.js +++ b/resources/themes/bootstrap/directorylister.js @@ -16,7 +16,7 @@ $(document).ready(function() { }); // Hash button on click action - $('.hashButton').click(function(event) { + $('.checksumButton').click(function(event) { // Get the file name and path var name = $(this).closest('a').attr('data-name'); @@ -33,18 +33,18 @@ $(document).ready(function() { console.log(obj); // Set modal title value - $('#hashModal .modal-header h3').text(name); + $('#checksumModal .modal-header h3').text(name); // Set modal pop-up hash values - $('#hashTable .md5 .hash').text(obj.md5); - $('#hashTable .sha1 .hash').text(obj.sha1); - $('#hashTable .sha256 .hash').text(obj.sha256); + $('#checksumTable .md5 .hash').text(obj.md5); + $('#checksumTable .sha1 .hash').text(obj.sha1); + $('#checksumTable .sha256 .hash').text(obj.sha256); } }); // Show the modal - $('#hashModal').modal('show'); + $('#checksumModal').modal('show'); // Prevent default link action event.preventDefault(); diff --git a/resources/themes/bootstrap/index.php b/resources/themes/bootstrap/index.php index 6f17fad36..9685929a1 100644 --- a/resources/themes/bootstrap/index.php +++ b/resources/themes/bootstrap/index.php @@ -60,9 +60,9 @@   - + - + @@ -78,7 +78,7 @@ -