diff --git a/assets/fonts/FontAwesome.otf b/assets/fonts/FontAwesome.otf new file mode 100644 index 0000000..8b0f54e Binary files /dev/null and b/assets/fonts/FontAwesome.otf differ diff --git a/assets/fonts/fontawesome-webfont.eot b/assets/fonts/fontawesome-webfont.eot new file mode 100755 index 0000000..7c79c6a Binary files /dev/null and b/assets/fonts/fontawesome-webfont.eot differ diff --git a/assets/fonts/fontawesome-webfont.svg b/assets/fonts/fontawesome-webfont.svg new file mode 100755 index 0000000..45fdf33 --- /dev/null +++ b/assets/fonts/fontawesome-webfont.svg @@ -0,0 +1,414 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/fonts/fontawesome-webfont.ttf b/assets/fonts/fontawesome-webfont.ttf new file mode 100755 index 0000000..e89738d Binary files /dev/null and b/assets/fonts/fontawesome-webfont.ttf differ diff --git a/assets/fonts/fontawesome-webfont.woff b/assets/fonts/fontawesome-webfont.woff new file mode 100755 index 0000000..8c1748a Binary files /dev/null and b/assets/fonts/fontawesome-webfont.woff differ diff --git a/assets/images/warning.png b/assets/images/warning.png new file mode 100644 index 0000000..c5e482f Binary files /dev/null and b/assets/images/warning.png differ diff --git a/assets/javascripts/bootstrap.js b/assets/javascripts/bootstrap.js new file mode 100644 index 0000000..b15e7db --- /dev/null +++ b/assets/javascripts/bootstrap.js @@ -0,0 +1,125 @@ +/* +BootstrapSwitch +*/ +function setBootstrapSwitch() { + $('.bootstrap-switch').each(function(index, element) { + installBootstrapSwitch(element); + }); +} + +function installBootstrapSwitch(element) { + $(element).bootstrapSwitch(); + $(element).on('switch-change', function (e, data) { + var element = $(data.el); + var value = data.value; + element.val(value); + }); +} + + +/* +BootstrapAlert +*/ +function setBootstrapAlert(){ + $('.alert').each(function(index, element){ + $(element).alert(); + }); +} + +function addAlertMessage(object){ + $(object.target) + .append( + $('
') + .attr('class', 'alert fade in ' + object.type) + .html(object.message) + .prepend( + $('