broad (small) changes to make style of all routes and jobs to be consistent, e.g. use underscords between words

This commit is contained in:
2023-01-15 23:17:59 +11:00
parent dc11a0697b
commit 4b1bbcb2bf
16 changed files with 88 additions and 86 deletions

View File

@@ -48,7 +48,7 @@ function StatusMsg(st)
// clear message only when toast is hidden (either timeout OR user clicks close btn)
$('#' + el).on( 'hidden.bs.toast',
function() {
$.ajax( { type: 'POST', url: '/clearmsg/'+st.id, success: function(data) {} } )
$.ajax( { type: 'POST', url: '/clear_msg/'+st.id, success: function(data) {} } )
} )
}
@@ -73,7 +73,7 @@ function CheckForJobs()
{
$.ajax(
{
type: 'POST', url: '/checkforjobs',
type: 'POST', url: '/check_for_jobs',
success: function(data) {
data.sts.forEach(
function(el)