appscms-tools-theme 4.5.1 → 4.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8dc13fbcf69eae0beb256ae4ef0a36a0576be9a45ccc757eee74fcd7ebb1ff12
4
- data.tar.gz: '083c99999a98bded24b3891da0f3100edac4bd83dd3c95d9f7f43c34fd8de883'
3
+ metadata.gz: e5ff36f832481cd021e7f9b6138568311994103c8f07b7526b4757b3c7538ef4
4
+ data.tar.gz: ba004bad2450a345a8681ba514961f9913b66ddfc298c3abb7969ba20d7c4b9f
5
5
  SHA512:
6
- metadata.gz: b2d0ccea15ef92e398ed67364bb51d284e983d3aa9d2d731283bd1224f02cc410dd7dff6a747e722c91979f72957223770e2f5b81d0289737f85f25c6828107d
7
- data.tar.gz: 1f26fbbe0f7f3db4e4183e69c3eaab1e52f11902a45b347d10f4190a20e976af04599b53302343a9d89111066be00c0b50a27bd80e98f6b189a2cd842d1af29c
6
+ metadata.gz: 3c422657817694e9309f258452675000c53f725010b35a485e40b5c4425ef650951bbf516c9d39baa3244ea5b137e5484b674370b70b485464ffce83a92f2b61
7
+ data.tar.gz: 6608b41ba57833c697d677c837eab665ef89f014f7e048a0da1c27d13261cdca5c9b5d453a20b6894d91cff44f873e5ef62741b11c248adf9777682214da0997
@@ -24,7 +24,7 @@
24
24
  </p>
25
25
  </div>
26
26
  <div class="go-back-block">
27
- <button onclick="history.back()"> Try processing another file</button>
27
+ <button id="processing-btn"> <span class="button-loader"></span> Try processing another file</button>
28
28
  </div>
29
29
 
30
30
  </div>
@@ -949,7 +949,7 @@ body {
949
949
  color: var(--white-color);
950
950
  border: none;
951
951
  border-radius: 10px;
952
- padding: 10px 15px;
952
+ padding: 10px 40px;
953
953
  font-size: 15px;
954
954
  height: 48px;
955
955
  min-width: 212px;
@@ -1999,4 +1999,10 @@ display: none;
1999
1999
 
2000
2000
  #download-button.loading .button-loader {
2001
2001
  display: block; /* Show the loader when button has loading class */
2002
+ }
2003
+ #processing-btn {
2004
+ position: relative;
2005
+ }
2006
+ #processing-btn .button-loader {
2007
+ left: 9%;
2002
2008
  }
@@ -191,4 +191,20 @@ document.addEventListener("DOMContentLoaded", function() {
191
191
 
192
192
  });
193
193
  }
194
+
194
195
  });
196
+
197
+ // Check if the button exists
198
+ const processingBtn = document.getElementById('processing-btn');
199
+ if (processingBtn) {
200
+ // Add click event listener to the button
201
+ processingBtn.addEventListener('click', function() {
202
+ // Show loader
203
+ const buttonLoader = document.querySelector('.button-loader');
204
+ if (buttonLoader) {
205
+ buttonLoader.style.display = 'block';
206
+ }
207
+ // Go back in history
208
+ history.back();
209
+ });
210
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.1
4
+ version: 4.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-16 00:00:00.000000000 Z
11
+ date: 2024-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll