Permalink
Browse files

tweaks

  • Loading branch information...
1 parent 711f441 commit dcbc9a581baa86d7434a27f8f1cc2f9e67985e08 @briandoll committed Feb 25, 2011
Showing with 6 additions and 3 deletions.
  1. BIN images/ui-bg_highlight-soft_75_cccccc_1x100.png
  2. +4 −1 protein.css
  3. +2 −2 protein.js
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -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
@@ -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.