appscms-tools-theme 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/Rating/rating.html +2 -2
- data/_layouts/home.html +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f84cdda3c6a7c2fa17fe0feee939af9911661c373cebd094a848941918bf200
|
4
|
+
data.tar.gz: 8e6c361d3221fbc5562b828bf765a8c92d744b716becc213174c4bd42b4c0a82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72deaca1a00bab97ffe3bc8f07ae1fbf38a95a393e60e9368efbfb0b262cff17dc6893008e17541bac497d242b5de30169096d08059e3025c72f287ded142400
|
7
|
+
data.tar.gz: 1b83c4a9aa504196c4556a52c5525373102e2cdbbfd8cab521cef78eae1957b8cbadcf7e85831ac9ad49920a7e1e1d919e730c8de565f7635449c411b1d8a8fa
|
@@ -20,7 +20,6 @@
|
|
20
20
|
</div>
|
21
21
|
</div>
|
22
22
|
<script>
|
23
|
-
document.addEventListener("DOMContentLoaded", fetchRating());
|
24
23
|
const ratingValue=document.getElementById('rating')
|
25
24
|
const count=document.getElementById('count')
|
26
25
|
const setRating=async(rating)=>{
|
@@ -50,6 +49,7 @@ fetch('https://ratingapi-main.netlify.app/.netlify/functions/api/v1/rating/add',
|
|
50
49
|
ratingValue.innerText=data.rating
|
51
50
|
count.innerText=data.votes
|
52
51
|
}
|
52
|
+
fetchRating()
|
53
53
|
const ratingNode=document.getElementsByClassName('rating-star')
|
54
54
|
let ratedValue=localStorage.getItem(`${tool}rating`)
|
55
55
|
if(ratedValue){
|
@@ -81,4 +81,4 @@ localStorage.setItem(`${tool}rating`,index+1)
|
|
81
81
|
}}))
|
82
82
|
</script>
|
83
83
|
|
84
|
-
{%- endif -%}
|
84
|
+
{%- endif -%}
|
data/_layouts/home.html
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
<li style=background:{{product.color}} class="home-feature-box">
|
25
25
|
<div class="home-inner-box">
|
26
26
|
<div class="div-cont feature-img" height="36px" width="36px" >
|
27
|
-
<img src="{{product.icon}}" height="36px" width="36px"
|
27
|
+
<img src="{{product.icon}}" height="36px" width="36px" alt="star icon">
|
28
28
|
</div>
|
29
29
|
</div>
|
30
30
|
<div class="home-feature-desc">{{product.description}}</div><a
|
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: 0.6.
|
4
|
+
version: 0.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|