Create User works

This commit is contained in:
2012-12-27 22:04:21 -05:00
parent 05d1ae4ec6
commit 7eff2f343a
32 changed files with 615 additions and 583 deletions
+21 -2
View File
@@ -86,12 +86,12 @@ $(function () {
text: "<p class=\"loading\">Recent Logs...</p>",
},
style: {
width: 320,
width: 310,
classes: 'qtip-light'
},
position: {
my: "top right",
at: "bottom left"
at: "bottom right"
},
hide: {
fixed: true,
@@ -114,6 +114,19 @@ $(function () {
}
});
$(function() {
// move checkbox elements into their labels
$('label[for]').each(function() {
var $label = $(this);
var $for = $label.attr('for');
var $input = $('input#' + $for + ':checkbox');
if ($input.length > 0) {
$input.prependTo($label);
$label.addClass('checkbox');
}
});
});
$(function() {
// Add active class to nav
var idNavActiveRegex = { 'log-nav': /\/log/i, 'vehicle-nav': /\/vehicle/i };
@@ -160,6 +173,12 @@ $(function() {
}
});
$(function () {
$('input#Username').keyup(function (e) {
$('input#Email').val($(this).val() + "@ethra.org");
});
});
$(function() {
// add qtip
$("a.qtip-modal").each(function () { bindQtipModal($(this)); });