mirror of
https://github.com/Adam-Ant/ClockworkAprilFools2017
synced 2024-12-20 11:04:35 +00:00
Template tweaks
This commit is contained in:
parent
56592b9764
commit
bb79b0747b
@ -1,4 +1,4 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1>Welcome to this clockwork gaming debug page!</h1>
|
||||
<a href="/activate">Click Here</a> to activate your membership!
|
||||
<a href="/activate">Click Here</a> to purchase Clockwork Plus!
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
<meta http-equiv="refresh" content="31; url=/activate">
|
||||
<meta http-equiv="refresh" content="29; url=/activate">
|
||||
<script src="/static/progressbar.js"></script>
|
||||
<link href="https://fonts.googleapis.com/css?family=Raleway:400,300,600,800,900" rel="stylesheet" type="text/css">
|
||||
|
||||
@ -38,16 +38,19 @@ var bar = new ProgressBar.SemiCircle(container, {
|
||||
value: '',
|
||||
alignToBottom: false
|
||||
},
|
||||
from: {color: '#000000'},
|
||||
to: {color: '#ED6A5A'},
|
||||
from: {color: '#ED6A5A'},
|
||||
to: {color: '#76FF03'},
|
||||
// Set default step function for all animate calls
|
||||
step: (state, bar) => {
|
||||
bar.path.setAttribute('stroke', state.color);
|
||||
var value = Math.round(bar.value() * 100);
|
||||
if (value === 0) {
|
||||
bar.setText('Please Wait...');
|
||||
bar.setText('');
|
||||
} else {
|
||||
bar.setText(value);
|
||||
}
|
||||
|
||||
bar.text.style.color = state.color;
|
||||
}
|
||||
});
|
||||
bar.text.style.fontFamily = '"Raleway", Helvetica, sans-serif';
|
||||
|
Loading…
Reference in New Issue
Block a user