mirror of
https://github.com/strongdm/comply
synced 2024-11-05 07:25:26 +00:00
automated asset refresh (via Makefile)
This commit is contained in:
parent
4c1b6fad7e
commit
816be6d613
File diff suppressed because one or more lines are too long
@ -15,20 +15,11 @@ html lang=en
|
||||
document.querySelectorAll('.cron').forEach(function(el) {
|
||||
el.innerHTML = prettyCron.toString((""+el.innerHTML).trim(),true) // 6-field expressions
|
||||
})
|
||||
if (window.location.hash != "") {
|
||||
var hashComponents = window.location.hash.split('#')
|
||||
if (hashComponents.length>1) {
|
||||
var destination = hashComponents[1]
|
||||
if (["overview","narratives","policies","procedures","standards"].indexOf(destination) >= 0) {
|
||||
show(destination)
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
function show(name) {
|
||||
if(history.replaceState) {
|
||||
history.replaceState(null, null, '#'+name);
|
||||
if (history.replaceState) {
|
||||
history.replaceState(null, null, '#'+name)
|
||||
}
|
||||
|
||||
var items = document.getElementsByClassName('top-nav')
|
||||
@ -233,7 +224,14 @@ html lang=en
|
||||
.content.has-text-centered
|
||||
p {{.Project.OrganizationName}} Confidential 2018
|
||||
= javascript
|
||||
// commented for development
|
||||
if (window.location.hash=="") {
|
||||
show('overview')
|
||||
} else {
|
||||
var hashComponents = window.location.hash.split('#')
|
||||
if (hashComponents.length>1) {
|
||||
var destination = hashComponents[1]
|
||||
if (["overview","narratives","policies","procedures","standards"].indexOf(destination) >= 0) {
|
||||
show(destination)
|
||||
}
|
||||
}
|
||||
}
|
@ -15,20 +15,11 @@ html lang=en
|
||||
document.querySelectorAll('.cron').forEach(function(el) {
|
||||
el.innerHTML = prettyCron.toString((""+el.innerHTML).trim(),true) // 6-field expressions
|
||||
})
|
||||
if (window.location.hash != "") {
|
||||
var hashComponents = window.location.hash.split('#')
|
||||
if (hashComponents.length>1) {
|
||||
var destination = hashComponents[1]
|
||||
if (["overview","narratives","policies","procedures","standards"].indexOf(destination) >= 0) {
|
||||
show(destination)
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
function show(name) {
|
||||
if(history.replaceState) {
|
||||
history.replaceState(null, null, '#'+name);
|
||||
if (history.replaceState) {
|
||||
history.replaceState(null, null, '#'+name)
|
||||
}
|
||||
|
||||
var items = document.getElementsByClassName('top-nav')
|
||||
@ -233,7 +224,14 @@ html lang=en
|
||||
.content.has-text-centered
|
||||
p {{.Project.OrganizationName}} Confidential 2018
|
||||
= javascript
|
||||
// commented for development
|
||||
if (window.location.hash=="") {
|
||||
show('overview')
|
||||
} else {
|
||||
var hashComponents = window.location.hash.split('#')
|
||||
if (hashComponents.length>1) {
|
||||
var destination = hashComponents[1]
|
||||
if (["overview","narratives","policies","procedures","standards"].indexOf(destination) >= 0) {
|
||||
show(destination)
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user