mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-26 15:11:38 +00:00
little css
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user