Subversion Repositories SmartDukaan

Rev

Rev 31003 | Rev 31020 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31003 Rev 31004
Line 137... Line 137...
137
        const starPercentageRounded = `${starPercentage}%`;
137
        const starPercentageRounded = `${starPercentage}%`;
138
        // 4
138
        // 4
139
        document.querySelector(`.${rating} .stars-inner`).style.width = starPercentageRounded;
139
        document.querySelector(`.${rating} .stars-inner`).style.width = starPercentageRounded;
140
    }
140
    }
141
</script>
141
</script>
142
 
-
 
143
<script type="text/javascript">
-
 
144
    window.onload = function () {
-
 
145
        $(document).ready(function () {
-
 
146
            var gauge1 = new RadialGauge({
-
 
147
                renderTo: 'hygeine'
-
 
148
            }).draw();
-
 
149
            var gauge2 = new RadialGauge({
-
 
150
                renderTo: 'investment'
-
 
151
            }).draw();
-
 
152
        });
-
 
153
 
-
 
154
    };
-
 
155
</script>
-
 
156
142
<script type="text/javascript" src="resources/js/gauge.min.js"></script>
-
 
143
157
144