Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tweaks

  • Loading branch information...
commit dcbc9a581baa86d7434a27f8f1cc2f9e67985e08 1 parent 711f441
@briandoll authored
View
BIN  images/ui-bg_highlight-soft_75_cccccc_1x100.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
5 protein.css
@@ -100,10 +100,13 @@ a {
color: #000;
}
+.ui-widget-header {
+ border-width: 0px;
+}
#progressbar {
background-image: url('images/white.birch.jpg');
border-color: #666;
- border-width: 1px;
+ border-width: 0px;
}
#footer {
View
4 protein.js
@@ -44,10 +44,10 @@ var updateProgressBar = function() {
var goal = $("#protein_goal").val();
var percentage = (total_protein_grams / Number(goal) * 100);
$("#progressbar").progressbar({ value: percentage });
- $("#percent_complete").html(percentage + "%");
+ $("#percent_complete").html(Number(percentage).toFixed(0) + "%");
$("#congrats").html(progressMessage(percentage));
};
$("#progressbar").progressbar({ value: 0 });
$("#food ul li .qty").live('change', updateProgressBar);
-$("#food ul li .protein_source").live('change', updateProgressBar);
+$("#food ul li .protein_source").live('change', updateProgressBar);

0 comments on commit dcbc9a5

Please sign in to comment.
Something went wrong with that request. Please try again.