diff --git a/website/html/media/scripts/register.js b/website/html/media/scripts/register.js index 55d3365..87067d0 100644 --- a/website/html/media/scripts/register.js +++ b/website/html/media/scripts/register.js @@ -1,24 +1,24 @@ -/* - Edited by: Gaetano Pressimone - Last Modfied: Sept 20 2012 -*/ -$(document).ready(function() { - toggle_upload(); - get_resources_loading_indicator(); - $("#id_gen_upload_choice").change(toggle_upload); -}); - -function toggle_upload() { - if ($("#id_gen_upload_choice").val() == "1") { - $("#uploadkey").hide(); - } else { - $("#uploadkey").show(); - } -} -/* Disables submit button on press and shows the loading icon */ -function get_resources_loading_indicator() { - $("#middle > form").submit(function () { - $('input:submit').attr("disabled", true); - $("#loading_indicator").css('visibility', 'visible'); - }); +/* + Edited by: Gaetano Pressimone + Last Modfied: Sept 20 2012 +*/ +$(document).ready(function() { + toggle_upload(); + get_resources_loading_indicator(); + $("#id_gen_upload_choice").change(toggle_upload); +}); + +function toggle_upload() { + if ($("#id_gen_upload_choice").val() == "1") { + $("#uploadkey").hide(); + } else { + $("#uploadkey").show(); + } +} +/* Disables submit button on press and shows the loading icon */ +function get_resources_loading_indicator() { + $("#middle > form").submit(function () { + $('input:submit').attr("disabled", true); + $("#loading_indicator").css('visibility', 'visible'); + }); } \ No newline at end of file diff --git a/website/html/templates/control/profile.html b/website/html/templates/control/profile.html index 164ac88..fc480d3 100755 --- a/website/html/templates/control/profile.html +++ b/website/html/templates/control/profile.html @@ -1,304 +1,304 @@ -{% extends "control/control_base.html" %} - -{% comment %} - - profile.html - - - Originally by?: - Justin Samuel 2009 - - Modified: - Gaetano Pressimone Aug 2012 - - - Django template file for Seattle Clearinghouse's 'Profile' page. The page - shows user information and also allows editing of certain user fields. - - - control/control_base.html - - - common.css - profile.css - - - edit_profile.js - -