Use Tickets: fix styles, check tickets

This commit is contained in:
mDuo13
2021-01-14 03:23:12 -08:00
parent 58f0c8bee2
commit 0acd12bd90
4 changed files with 85 additions and 39 deletions

View File

@@ -17,3 +17,13 @@ function complete_step(step_name) {
$(".bc-"+step_id).removeClass("active").addClass("done")
$(".bc-"+step_id).next().removeClass("disabled").addClass("active")
}
function pretty_print(j) {
try {
return JSON.stringify(JSON.parse(j),null,2)
} catch (e) {
// probably already decoded JSON
return JSON.stringify(j,null,2)
}
}