little css

This commit is contained in:
2013-02-14 08:18:17 -05:00
parent e96147b7ff
commit b603f2404c
73 changed files with 6191 additions and 24 deletions

1230
public/images/BlankBody.js Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

View File

@@ -40,12 +40,14 @@ $(document).ready(function() {
// settings: {width: '10cm', height: '5cm'}, // Additional settings for SVG element
// initPath: ''});
$('span.SVGBODY').empty().load("/images/BlankBody.svg", function(){
//$("button").button();
});
var colors = "0f0 0ff f60 f0f 00f f00".split(' '), i=0;
$(document).on('click', 'g',(function() {
$(document).on('click', '.SVGBODYFilter g',(function() {
console.log('click ' + this.id);
$(this).children('path').css("fill",'#'+colors[i++%colors.length] +'');
})
@@ -143,6 +145,9 @@ $(document).ready(function() {
var id = $(this).attr('value');
$('div#Rightpane').empty().load("/workouts/"+ id + "/recent/", function(){
$("button").button();
$('span.SVGBODY').empty().load("/images/BlankBody.svg", function(){
//$("button").button();
});
});
$('div#Leftpane').empty().load("/users/"+ id + "/sidebar", function(){
$("button").button();
@@ -154,6 +159,10 @@ $(document).ready(function() {
var id = $(this).attr('value');
$('div#Rightpane').empty().load(id);
$('div#Leftpane').empty().load("/workouts/filters", function(){
$('span.SVGBODYFilter').empty().load("/images/BlankBody.svg", function(){
//$("button").button();
});
PopulateExerciseList(originalExerciselist);
$("ul#exercises").sortable({
items: "> li",
@@ -170,7 +179,6 @@ $(document).ready(function() {
});
$("button").button();
$(document).on('click', 'path#F_x5F_Pectorals', function(){alert('hello2');});
});
$("#top").delegate("button.home-link", "click",function() {
@@ -180,6 +188,10 @@ $(document).ready(function() {
var id = $(this).attr('value');
$('div#Rightpane').empty().load("/workouts/"+ id + "/recent/", function(){
$("button").button();
console.log('here');
$('span.SVGBODY').empty().load("/images/BlankBody.svg", function(){
//$("button").button();
});
});
$('div#Leftpane').empty().load("/users/"+ id + "/sidebar", function(){
$("button").button();

View File

@@ -1,5 +1,5 @@
body {
padding: 50px;
xxpadding: 50px;
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}
@@ -15,6 +15,11 @@ list-style-type: none;
list-style-type: none;
}
.labelli {
height : 30px;
}
.floatright {
float: right;
}
@@ -23,6 +28,12 @@ list-style-type: none;
clear: right;
}
li.floatleft {
display: block;
float: none;
overflow: hidden;
}
.floatleft {
display: block;
float: left;
@@ -32,12 +43,15 @@ list-style-type: none;
#Leftpane {
display: block;
float: left;
xxxwidth: 190px;
overflow: hidden;
}
#Rightpane {
display: block;
float: left;
overflow: hidden;
}
#userphoto {