-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
144 lines (133 loc) · 5.88 KB
/
index.html
File metadata and controls
144 lines (133 loc) · 5.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dynamic Progress Bar</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<header>
<h1>Dynamic Progress Bar</h1>
<p>Interactive multi-step progress tracking system</p>
</header>
<div class="progress-container">
<div class="progress-controls">
<div class="control-group">
<h3>Progress Type</h3>
<div class="button-group">
<button class="btn" data-type="linear">
<i class="fas fa-arrow-right"></i> Linear
</button>
<button class="btn" data-type="circular">
<i class="fas fa-circle-notch"></i> Circular
</button>
<button class="btn" data-type="steps">
<i class="fas fa-list-ol"></i> Steps
</button>
</div>
</div>
<div class="control-group">
<h3>Theme</h3>
<div class="button-group">
<button class="btn" data-theme="default">
<i class="fas fa-palette"></i> Default
</button>
<button class="btn" data-theme="gradient">
<i class="fas fa-gradient"></i> Gradient
</button>
<button class="btn" data-theme="minimal">
<i class="fas fa-minus"></i> Minimal
</button>
</div>
</div>
<div class="control-group">
<h3>Animation</h3>
<div class="button-group">
<button class="btn" data-animation="smooth">
<i class="fas fa-wave-square"></i> Smooth
</button>
<button class="btn" data-animation="bounce">
<i class="fas fa-bounce"></i> Bounce
</button>
<button class="btn" data-animation="pulse">
<i class="fas fa-heartbeat"></i> Pulse
</button>
</div>
</div>
<div class="control-group">
<h3>Settings</h3>
<div class="settings">
<label>
<input type="checkbox" id="showPercentage" checked>
Show Percentage
</label>
<label>
<input type="checkbox" id="showSteps" checked>
Show Steps
</label>
<label>
<input type="number" id="totalSteps" value="5" min="2" max="10">
Total Steps
</label>
</div>
</div>
</div>
<div class="progress-display">
<div class="progress-wrapper">
<!-- Linear Progress -->
<div class="progress-bar linear active">
<div class="progress-track">
<div class="progress-fill"></div>
</div>
<div class="progress-steps"></div>
<div class="progress-percentage">0%</div>
</div>
<!-- Circular Progress -->
<div class="progress-bar circular">
<svg class="progress-ring" width="200" height="200">
<circle class="progress-ring-circle-bg" cx="100" cy="100" r="90"/>
<circle class="progress-ring-circle" cx="100" cy="100" r="90"/>
</svg>
<div class="progress-content">
<div class="progress-percentage">0%</div>
<div class="progress-label">Complete</div>
</div>
</div>
<!-- Steps Progress -->
<div class="progress-bar steps">
<div class="steps-container"></div>
<div class="steps-connector"></div>
</div>
</div>
<div class="progress-controls">
<button class="btn control-btn" id="prevStep">
<i class="fas fa-chevron-left"></i> Previous
</button>
<button class="btn control-btn" id="nextStep">
Next <i class="fas fa-chevron-right"></i>
</button>
</div>
<div class="progress-messages">
<div class="message success">
<i class="fas fa-check-circle"></i>
<span>Step completed successfully!</span>
</div>
<div class="message error">
<i class="fas fa-times-circle"></i>
<span>Please complete the current step first.</span>
</div>
</div>
</div>
</div>
<footer>
<div class="footer-content">
Created by <a href="https://harmoncode.com" target="_blank">HarmonCode</a>
</div>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>