diff --git a/public/scripts/main.js b/public/scripts/main.js index 23c3a78..7e65543 100644 --- a/public/scripts/main.js +++ b/public/scripts/main.js @@ -1,88 +1,16 @@ /** - * StatusBoard main script file + * Homepage main script file * * */ -var sb = { +var hp = { init: function() { - // Properly format any alert boxes - $('.alert-data').alert(); - - // Properly format any tab widgets - $('.tabs').tabs(); - - // Display popovers on all configured items - $("a[rel=popover]").popover({ - offset: 10, - html: true, - }); + }, - - admin: { - - init: function() { - $('#confirm_delete').modal({ - backdrop: true, - keyboard: true - }); - $('#confirm_delete_cancel').click(function() { - $('#confirm_delete').modal('hide'); - }); - }, - deleteItem: function(url) { - $('#confirm_delete_do').click(function() { - sb.request.post(url); - }); - - $('#confirm_delete').modal('show'); - }, - - }, - - usercp: { - - init: function() { - $('#usercp_newpassword,#usercp_confirmpassword').bind('keyup', sb.usercp.checkPassword); - - }, - - checkPassword: function() { - password = $('#usercp_newpassword'); - confirm = $('#usercp_confirmpassword'); - - confirm_container = confirm.parent().parent(); - - if (password.val() == confirm.val()) { - console.log("passwords match"); - confirm_container.removeClass('error').addClass('success'); - $('#usercp_confirmpassword_help').hide(); - } else { - console.log("passwords do not match"); - confirm_container.addClass('error').removeClass('success'); - $('#usercp_confirmpassword_help').show(); - } - } - - }, - - request: { - - post: function(url, data) { - console.log('Posting'); - var form = $('
').attr('method', 'post').attr('action', url); - for (var key in data) { - form.appendChild($('').attr('name', key).val(data[key])); - } - - form.submit(); - } - - } - }; -$('document').ready(sb.init); +$('document').ready(hp.init); diff --git a/public/styles/normal.css b/public/styles/normal.css index fd1de03..a8549ab 100644 --- a/public/styles/normal.css +++ b/public/styles/normal.css @@ -2,15 +2,11 @@ * StatusBoard normal stylesheet * */ -@import url('http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css'); @CHARSET "UTF-8"; @media all { body { - margin: 0em; - margin-top: 60px; padding-top: 40px; - padding: 0em; font-family: verdana, helvetica, sans-serif; background: #F7F7F7; } @@ -55,6 +51,17 @@ list-style: none; margin-left: 0px; } + + /* + CV + */ + #cv div.row { + margin-bottom: 1.0em; + } + + #cv h4 { + margin-top: 0.75em; + } } @media print { diff --git a/source/webui/templates/cv.tpl b/source/webui/templates/cv.tpl index 947b992..9c89ad5 100644 --- a/source/webui/templates/cv.tpl +++ b/source/webui/templates/cv.tpl @@ -1,12 +1,12 @@Benjamin Austin Roberts
Design and implementation of network solutions for Atos customers in the Transport and Financial - Services industries. + Services industries.
Installed, configured and managed an out of band console service for remote management of core @@ -114,11 +114,11 @@
| Certification | @@ -136,17 +136,17 @@
|---|
| Subject | @@ -173,7 +173,7 @@ September 2003 - June 2005 -
|---|
| Subject | @@ -211,10 +211,10 @@
|---|