mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 11:36:45 +00:00
Forgot _progressbar.erb in previous commit
This commit is contained in:
parent
e9792aa1ab
commit
0f42a72799
1 changed files with 8 additions and 0 deletions
8
app/views/habits/_progressbar.erb
Normal file
8
app/views/habits/_progressbar.erb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<div id="progressbar" style="width:30%;"><span id="tnl"><%= score %>/100</span></div>
|
||||
<script>
|
||||
$(function() {
|
||||
$( "#progressbar" ).progressbar({
|
||||
value: <%= score %>
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Loading…
Reference in a new issue