dashboard: extract progress and visual changes
This commit is contained in:
parent
764a790b11
commit
f47eb68505
3 changed files with 45 additions and 39 deletions
28
token-validator/htdocs/js/adlin-common.js
Normal file
28
token-validator/htdocs/js/adlin-common.js
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
var tuto_progress = [
|
||||
{
|
||||
1: { title: "Is alive?", icon: "👋", label: "Token 1"},
|
||||
2: { title: "DMZ reached", icon: "📚", label: "Token 2"},
|
||||
3: { title: "HTTPS on + time", icon: "⏲", label: "Token 3"},
|
||||
4: { title: "DNS ok", icon: "🍰", label: "Token 4"},
|
||||
5: { title: "On Internet", icon: "🌎", label: "Token 5"},
|
||||
6: { title: "Bonus caché", icon: "b", label: "Bonus 0"},
|
||||
7: { title: "Bonus ICMP", icon: "🏓", label: "Bonus 1"},
|
||||
8: { title: "Bonus disk", icon: "💽", label: "Bonus 2"},
|
||||
9: { title: "Bonus email", icon: "📧", label: "Bonus 3"},
|
||||
10: { title: "Wg tunnel", icon: "🚇", label: "Tunnel up"},
|
||||
11: { title: "Uploaded SSH key", icon: "💊", label: "SSH"},
|
||||
},
|
||||
{
|
||||
100: { title: "HTTP on IP", icon: "0", label: "HTTP IP"},
|
||||
101: { title: "HTTP on associated domain", icon: "1", label: "HTTP domain"},
|
||||
102: { title: "HTTPS on associated domain", icon: "2", label: "HTTPS domain"},
|
||||
103: { title: "DNS Delegation", icon: "3", label: "DNS"},
|
||||
104: { title: "HTTP on delegated domain", icon: "4", label: "HTTP on NS"},
|
||||
105: { title: "HTTPS on delegated domain", icon: "5", label: "HTTPS on NS"},
|
||||
106: { title: "Matrix", icon: "6", label: "Matrix"},
|
||||
107: { title: "DNSSEC (bonus)", icon: "7", label: "DNSSEC"},
|
||||
},
|
||||
{
|
||||
200: { title: "HTTP", label: "HTTP"},
|
||||
},
|
||||
];
|
||||
Reference in a new issue