Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add 2 more muscles and correct some categories in the excercises

Roland Geidera61fe7ec70f5
diff --git a/exercises/fixtures/exercises.json b/exercises/fixtures/exercises.json
index 7893806dd..e61789f0d 100644
--- a/exercises/fixtures/exercises.json
+++ b/exercises/fixtures/exercises.json
@@ -4,7 +4,10 @@
"model": "exercises.exercise",
"fields": {
"category": 2,
- "muscles": [],
+ "muscles": [
+ 8,
+ 10
+ ],
"description": "",
"name": "Ausfallschritte im Gehen"
}
@@ -14,7 +17,10 @@
"model": "exercises.exercise",
"fields": {
"category": 2,
- "muscles": [],
+ "muscles": [
+ 8,
+ 10
+ ],
"description": "",
"name": "Ausfallschritte stehend"
}
@@ -48,7 +54,9 @@
"model": "exercises.exercise",
"fields": {
"category": 2,
- "muscles": [],
+ "muscles": [
+ 11
+ ],
"description": "",
"name": "Beinbeuger liegend"
}
@@ -58,7 +66,9 @@
"model": "exercises.exercise",
"fields": {
"category": 2,
- "muscles": [],
+ "muscles": [
+ 11
+ ],
"description": "",
"name": "Beinbeuger stehend"
}
@@ -104,7 +114,9 @@
"model": "exercises.exercise",
"fields": {
"category": 2,
- "muscles": [],
+ "muscles": [
+ 10
+ ],
"description": "",
"name": "Beinpresse eng"
}
@@ -400,7 +412,9 @@
"model": "exercises.exercise",
"fields": {
"category": 3,
- "muscles": [],
+ "muscles": [
+ 12
+ ],
"description": "",
"name": "Frontziehen breit"
}
@@ -410,7 +424,9 @@
"model": "exercises.exercise",
"fields": {
"category": 3,
- "muscles": [],
+ "muscles": [
+ 12
+ ],
"description": "",
"name": "Frontziehen eng"
}
@@ -488,7 +504,9 @@
"model": "exercises.exercise",
"fields": {
"category": 3,
- "muscles": [],
+ "muscles": [
+ 12
+ ],
"description": "",
"name": "Klimmz\u00fcge"
}
@@ -498,7 +516,9 @@
"model": "exercises.exercise",
"fields": {
"category": 3,
- "muscles": [],
+ "muscles": [
+ 12
+ ],
"description": "",
"name": "Klimmz\u00fcge an Maschine"
}
@@ -508,7 +528,9 @@
"model": "exercises.exercise",
"fields": {
"category": 2,
- "muscles": [],
+ "muscles": [
+ 10
+ ],
"description": "",
"name": "Kniebeuge"
}
@@ -518,7 +540,11 @@
"model": "exercises.exercise",
"fields": {
"category": 3,
- "muscles": [],
+ "muscles": [
+ 8,
+ 12,
+ 10
+ ],
"description": "",
"name": "Kreuzheben"
}
@@ -528,7 +554,9 @@
"model": "exercises.exercise",
"fields": {
"category": 3,
- "muscles": [],
+ "muscles": [
+ 12
+ ],
"description": "",
"name": "Long-Pulley"
}
@@ -538,7 +566,9 @@
"model": "exercises.exercise",
"fields": {
"category": 3,
- "muscles": [],
+ "muscles": [
+ 12
+ ],
"description": "",
"name": "MGM-Maschine"
}
@@ -590,7 +620,9 @@
"model": "exercises.exercise",
"fields": {
"category": 3,
- "muscles": [],
+ "muscles": [
+ 12
+ ],
"description": "",
"name": "Rudern vorgebeugt LH"
}
@@ -600,7 +632,9 @@
"model": "exercises.exercise",
"fields": {
"category": 3,
- "muscles": [],
+ "muscles": [
+ 12
+ ],
"description": "",
"name": "Rudern vorgebeugt LH reverse"
}
@@ -609,8 +643,10 @@
"pk": 64,
"model": "exercises.exercise",
"fields": {
- "category": 2,
- "muscles": [],
+ "category": 4,
+ "muscles": [
+ 6
+ ],
"description": "",
"name": "Rumpfbeugen"
}
@@ -643,8 +679,10 @@
"pk": 61,
"model": "exercises.exercise",
"fields": {
- "category": 3,
- "muscles": [],
+ "category": 7,
+ "muscles": [
+ 4
+ ],
"description": "",
"name": "Schr\u00e4gbankdr\u00fccken MP"
}
@@ -1210,5 +1248,37 @@
"comment": "Fl\u00fcssige Bewegung, keine Pausen oben oder unten",
"exercise": 2
}
+ },
+ {
+ "pk": 49,
+ "model": "exercises.exercisecomment",
+ "fields": {
+ "comment": "F\u00fc\u00dfe zusammen, nicht wie beim Ausfallschritt",
+ "exercise": 28
+ }
+ },
+ {
+ "pk": 50,
+ "model": "exercises.exercisecomment",
+ "fields": {
+ "comment": "Arme eher zusammen, direkt unterm dem Ellenbogen auf die Bank",
+ "exercise": 28
+ }
+ },
+ {
+ "pk": 51,
+ "model": "exercises.exercisecomment",
+ "fields": {
+ "comment": "Fl\u00fcssige Bewegung, keine Pausen oben oder unten",
+ "exercise": 28
+ }
+ },
+ {
+ "pk": 52,
+ "model": "exercises.exercisecomment",
+ "fields": {
+ "comment": "Arme ganz ausstrecken",
+ "exercise": 28
+ }
}
]
\ No newline at end of file
diff --git a/exercises/fixtures/muscles.json b/exercises/fixtures/muscles.json
index e8dee6f4e..eda13cd1d 100644
--- a/exercises/fixtures/muscles.json
+++ b/exercises/fixtures/muscles.json
@@ -15,6 +15,14 @@
"name": "Biceps brachii"
}
},
+ {
+ "pk": 11,
+ "model": "exercises.muscle",
+ "fields": {
+ "is_front": false,
+ "name": "Biceps femoris"
+ }
+ },
{
"pk": 7,
"model": "exercises.muscle",
@@ -31,6 +39,14 @@
"name": "Gluteus maximus"
}
},
+ {
+ "pk": 12,
+ "model": "exercises.muscle",
+ "fields": {
+ "is_front": false,
+ "name": "Latissimus dorsi"
+ }
+ },
{
"pk": 4,
"model": "exercises.muscle",
@@ -44,7 +60,7 @@
"model": "exercises.muscle",
"fields": {
"is_front": true,
- "name": "Quadriceps"
+ "name": "Quadriceps femoris"
}
},
{
diff --git a/manager/static/images/muscles/main/muscle-11.svg b/manager/static/images/muscles/main/muscle-11.svg
new file mode 100644
index 000000000..6f964f9bc
--- /dev/null
+++ b/manager/static/images/muscles/main/muscle-11.svg
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="200"
+ height="369.03"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.3.1 r9886"
+ sodipodi:docname="muscular_system_back.svg">
+ <defs
+ id="defs4" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.9899495"
+ inkscape:cx="12.249371"
+ inkscape:cy="222.62521"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ inkscape:window-width="663"
+ inkscape:window-height="739"
+ inkscape:window-x="902"
+ inkscape:window-y="63"
+ inkscape:window-maximized="0" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Ebene 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-54.28571,-335.71492)">
+ <path
+ sodipodi:nodetypes="cssszaasc"
+ inkscape:connector-curvature="0"
+ id="path2992"
+ d="m 130.51664,546.66621 c -1.66702,1.72091 -0.65329,16.56398 -1.14987,25.85942 -0.5571,10.42819 0.18952,12.74549 -0.9515,20.90616 -0.31685,2.26616 -0.30386,10.17471 -0.34789,13.55358 -0.0626,4.80798 2.35335,-0.5011 3.82493,-2.87947 1.47158,-2.37837 2.69818,-7.33515 3.36845,-11.16394 1.27278,-7.27057 1.14177,-14.73063 1.18563,-22.11163 0.0476,-8.01178 0.20419,-20.55143 -1.00165,-24.01487 -1.58244,-4.54509 -4.72596,-0.44295 -4.9281,-0.14925 z"
+ style="opacity:0.52424239;fill:#fc0000;fill-opacity:1;stroke:none" />
+ <path
+ sodipodi:nodetypes="cssszaasc"
+ inkscape:connector-curvature="0"
+ id="path2992-7"
+ d="m 178.26043,546.55155 c 1.66702,1.72091 0.65329,16.56398 1.14987,25.85942 0.5571,10.42819 -0.18952,12.74549 0.9515,20.90616 0.31685,2.26616 0.30386,10.17471 0.34789,13.55358 0.0626,4.80798 -2.35335,-0.5011 -3.82493,-2.87947 -1.47158,-2.37837 -2.69818,-7.33515 -3.36845,-11.16394 -1.27278,-7.27057 -1.14177,-14.73063 -1.18563,-22.11163 -0.0476,-8.01178 -0.20419,-20.55143 1.00165,-24.01487 1.58244,-4.54509 4.72596,-0.44295 4.9281,-0.14925 z"
+ style="opacity:0.52424239;fill:#fc0000;fill-opacity:1;stroke:none" />
+ </g>
+</svg>
diff --git a/manager/static/images/muscles/main/muscle-12.svg b/manager/static/images/muscles/main/muscle-12.svg
new file mode 100644
index 000000000..a1d198548
--- /dev/null
+++ b/manager/static/images/muscles/main/muscle-12.svg
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="200"
+ height="369.03"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.3.1 r9886"
+ sodipodi:docname="muscular_system_back.svg">
+ <defs
+ id="defs4" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.4"
+ inkscape:cx="107.63794"
+ inkscape:cy="278.23728"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ inkscape:window-width="844"
+ inkscape:window-height="577"
+ inkscape:window-x="392"
+ inkscape:window-y="244"
+ inkscape:window-maximized="0" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Ebene 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-54.28571,-335.71492)">
+ <path
+ sodipodi:nodetypes="csscccsc"
+ inkscape:connector-curvature="0"
+ id="path2992"
+ d="m 118.2971,433.23148 c -1.66702,1.72091 -0.41996,16.06091 0.11282,25.35434 0.45305,7.90281 5.37207,13.58301 8.39241,16.86555 2.6401,2.86931 4.24182,4.87141 5.96556,7.99774 6.27792,-6.98998 11.67715,-13.36645 14.51699,-25.40762 1.45421,-8.08311 -1.34647,-9.50395 -9.16844,-22.86925 -6.82053,0.62685 -8.3821,1.67193 -13.12348,0.48133 -4.66777,-1.17211 -3.96834,-2.71579 -6.69586,-2.42209 z"
+ style="opacity:0.52424239;fill:#fc0000;fill-opacity:1;stroke:none" />
+ <path
+ sodipodi:nodetypes="csscccsc"
+ inkscape:connector-curvature="0"
+ id="path2992-7"
+ d="m 190.2688,433.68217 c 1.66702,1.72091 0.41996,16.06091 -0.11282,25.35434 -0.45305,7.90281 -5.37207,13.58301 -8.39241,16.86555 -2.6401,2.86931 -4.24182,4.87141 -5.96556,7.99774 -6.27792,-6.98998 -11.67715,-13.36645 -14.51699,-25.40762 -1.45421,-8.08311 1.34647,-9.50395 9.16844,-22.86925 6.82053,0.62685 8.3821,1.67193 13.12348,0.48133 4.66777,-1.17211 3.96834,-2.71579 6.69586,-2.42209 z"
+ style="opacity:0.52424239;fill:#fc0000;fill-opacity:1;stroke:none" />
+ </g>
+</svg>