Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add static pages with project information
Roland Geider7c60e0a2f3bf
diff --git a/manager/static/css/workout-manager.css b/manager/static/css/workout-manager.cssindex 37f6f96f6..659d38ecd 100644--- a/manager/static/css/workout-manager.css+++ b/manager/static/css/workout-manager.css@@ -332,6 +332,7 @@ header span.regular{* Links in warning boxes get a different style, the default blue doesn't match* well with orange*/+div.success a, div.success a:hover, div.success a:active,div.warning a, div.warning a:hover, div.warning a:active,div.info a, div.info a:hover, div.info a:active{color: black;diff --git a/manager/templates/template.html b/manager/templates/template.htmlindex 8e4ad21b1..de4f8addb 100644--- a/manager/templates/template.html+++ b/manager/templates/template.html@@ -131,7 +131,27 @@</li>- {% if user.username %}++ <li class="dropdown {% if active_tab == 'software' %}active{% endif %}">+ <a href=""+ class="dropdown-toggle"+ data-toggle="dropdown">{% trans "About this software" %} <b class="caret"></b></a>+ <ul class="dropdown-menu">+ <li><a href="{% url software:functions %}">{% trans "Features" %}</a></li>+ {% if not user.is_authenticated %}+ <li><a href="{% url demo-account %}">{% trans "Demo account" %} </a></li>+ {% endif %}+ <li><a href="{% url software:issues %}">{% trans "Report problem" %} </a></li>++ <li class="divider"></li>+ <li class="nav-header">{% trans "Developers" %}</li>+ <li><a href="{% url software:code %}">{% trans "Get the code" %} </a></li>+ <li><a href="{% url software:license %}">{% trans "License" %} </a></li>+ <li><a href="{% url software:changelog %}">{% trans "Changelog" %} </a></li>+ </ul>+ </li>++ {% if user.is_authenticated %}<li class="pull-right"><a href="{% url manager.views.logout %}" id="logout" class="browserid-logout">{% trans 'Logout' %}diff --git a/software/__init__.py b/software/__init__.pynew file mode 100644index 000000000..e69de29bbdiff --git a/software/static/images/empty b/software/static/images/emptynew file mode 100644index 000000000..e69de29bbdiff --git a/software/static/images/muscle-overview-1.1-en.png b/software/static/images/muscle-overview-1.1-en.pngnew file mode 100644index 000000000..24fc4d836Binary files /dev/null and b/software/static/images/muscle-overview-1.1-en.png differdiff --git a/software/static/images/nutrition-manager-1.0-en.png b/software/static/images/nutrition-manager-1.0-en.pngnew file mode 100644index 000000000..551aea886Binary files /dev/null and b/software/static/images/nutrition-manager-1.0-en.png differdiff --git a/software/static/images/nutrition-manager-1.0.3-en.png b/software/static/images/nutrition-manager-1.0.3-en.pngnew file mode 100644index 000000000..c95ee06c1Binary files /dev/null and b/software/static/images/nutrition-manager-1.0.3-en.png differdiff --git a/software/static/images/weight-chart-1.0-en.png b/software/static/images/weight-chart-1.0-en.pngnew file mode 100644index 000000000..0992ef43aBinary files /dev/null and b/software/static/images/weight-chart-1.0-en.png differdiff --git a/software/static/images/weight-chart-1.0.3-en.png b/software/static/images/weight-chart-1.0.3-en.pngnew file mode 100644index 000000000..6875695dbBinary files /dev/null and b/software/static/images/weight-chart-1.0.3-en.png differdiff --git a/software/static/images/workout-log-1.1-en.png b/software/static/images/workout-log-1.1-en.pngnew file mode 100644index 000000000..1b9d92482Binary files /dev/null and b/software/static/images/workout-log-1.1-en.png differdiff --git a/software/static/images/workout-manager-1.0-en.png b/software/static/images/workout-manager-1.0-en.pngnew file mode 100644index 000000000..c9d41b84eBinary files /dev/null and b/software/static/images/workout-manager-1.0-en.png differdiff --git a/software/static/images/workout-manager-1.0.3-en.png b/software/static/images/workout-manager-1.0.3-en.pngnew file mode 100644index 000000000..66322d721Binary files /dev/null and b/software/static/images/workout-manager-1.0.3-en.png differdiff --git a/software/static/pdf/empty b/software/static/pdf/emptynew file mode 100644index 000000000..e69de29bbdiff --git a/software/static/pdf/nutrition-plan-pdf-1.0-en.pdf b/software/static/pdf/nutrition-plan-pdf-1.0-en.pdfnew file mode 100644index 000000000..6ab1ac15a--- /dev/null+++ b/software/static/pdf/nutrition-plan-pdf-1.0-en.pdf@@ -0,0 +1,107 @@+%PDF-1.4+%���� ReportLab Generated PDF document http://www.reportlab.com+% 'BasicFonts': class PDFDictionary+1 0 obj+% The standard fonts dictionary+<< /F1 2 0 R+ /F2 3 0 R >>+endobj+% 'F1': class PDFType1Font+2 0 obj+% Font Helvetica+<< /BaseFont /Helvetica+ /Encoding /WinAnsiEncoding+ /Name /F1+ /Subtype /Type1+ /Type /Font >>+endobj+% 'F2': class PDFType1Font+3 0 obj+% Font Helvetica-Bold+<< /BaseFont /Helvetica-Bold+ /Encoding /WinAnsiEncoding+ /Name /F2+ /Subtype /Type1+ /Type /Font >>+endobj+% 'Page1': class PDFPage+4 0 obj+% Page dictionary+<< /Contents 8 0 R+ /MediaBox [ 0+ 0+ 595.2756+ 841.8898 ]+ /Parent 7 0 R+ /Resources << /Font 1 0 R+ /ProcSet [ /PDF+ /Text+ /ImageB+ /ImageC+ /ImageI ] >>+ /Rotate 0+ /Trans << >>+ /Type /Page >>+endobj+% 'R5': class PDFCatalog+5 0 obj+% Document Root+<< /Outlines 9 0 R+ /PageMode /UseNone+ /Pages 7 0 R+ /Type /Catalog >>+endobj+% 'R6': class PDFInfo+6 0 obj+<< /Author (Workout Manager)+ /CreationDate (D:20121014181920-01'00')+ /Creator (\(unspecified\))+ /Keywords ()+ /Producer (ReportLab PDF Library - www.reportlab.com)+ /Subject (Nutritional plan admin)+ /Title (Workout) >>+endobj+% 'R7': class PDFPages+7 0 obj+% page tree+<< /Count 1+ /Kids [ 4 0 R ]+ /Type /Pages >>+endobj+% 'R8': class PDFStream+8 0 obj+% page stream+<< /Filter [ /ASCII85Decode+ /FlateDecode ]+ /Length 1597 >>+stream+Gau0D968iG&AEM2s'[RO;)/gnJ5>9m\9=cEgbcIn??1TfLgn;X$^+Qhn%55\Mi]6K6.M)K'3sn`_sY!l,q0E'd.TE@!C"`d`u>AM_0cR=[9]/LK'W6o`S[!uF>l,a+n2ENL9hG6=qPI;1:b%_"8(7n>05/5"%laD9Ne,H@agEm.%eO6\``cU-K$'-`>b1oKDA`=l;Q4'?eXrL#\WiO+K,KR!o7=`X>@%mh0(r5QaZ'T)Yd]%!V>)L]2jIiDMWduL'=00kX1F5Q>_Q/88+a[:a7j[0bZEZ[Pqs02pXXeV1nUsQ3['S_=]r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RKUN=)cSB.1@8XoE)<iYb'2R>Xg3RMDQP"X/64RS&YFnTPAQ-;?lH.Op06:AmL;O*2kppE\:YDOir+P!><0%.Ka,fZJ7utUW:f"Esa,fqBXbWSl]j:-kOl5IrRQXI$[b(,:j(e\b%j[r0\NfD9[A.YNh;J<\hs5NUop7SGQM-WVos'lmmD<$,p^CB1`-/,.6(Up)`hJB>2![Q#M9-J2.cjhKN*ACT&g?4rg>jP\\@hSQR&W,"~>endstream+endobj+% 'R9': class PDFOutlines+9 0 obj+<< /Count 0+ /Type /Outlines >>+endobj+xref+0 10+0000000000 65535 f+0000000113 00000 n+0000000221 00000 n+0000000386 00000 n+0000000559 00000 n+0000000836 00000 n+0000000970 00000 n+0000001242 00000 n+0000001347 00000 n+0000003087 00000 n+trailer+<< /ID+ % ReportLab generated PDF document -- digest (http://www.reportlab.com)+ [(\243Y\274.\236\007A\217\3019\320\015\3338s:) (\243Y\274.\236\007A\217\3019\320\015\3338s:)]++ /Info 6 0 R+ /Root 5 0 R+ /Size 10 >>+startxref+3138+%%EOFdiff --git a/software/static/pdf/workout-pdf-1.0-en.pdf b/software/static/pdf/workout-pdf-1.0-en.pdfnew file mode 100644index 000000000..2e0f605b4--- /dev/null+++ b/software/static/pdf/workout-pdf-1.0-en.pdf@@ -0,0 +1,118 @@+%PDF-1.4+%���� ReportLab Generated PDF document http://www.reportlab.com+% 'BasicFonts': class PDFDictionary+1 0 obj+% The standard fonts dictionary+<< /F1 2 0 R+ /F2 3 0 R+ /F3 4 0 R >>+endobj+% 'F1': class PDFType1Font+2 0 obj+% Font Helvetica+<< /BaseFont /Helvetica+ /Encoding /WinAnsiEncoding+ /Name /F1+ /Subtype /Type1+ /Type /Font >>+endobj+% 'F2': class PDFType1Font+3 0 obj+% Font Helvetica-Bold+<< /BaseFont /Helvetica-Bold+ /Encoding /WinAnsiEncoding+ /Name /F2+ /Subtype /Type1+ /Type /Font >>+endobj+% 'F3': class PDFType1Font+4 0 obj+% Font Symbol+<< /BaseFont /Symbol+ /Encoding /SymbolEncoding+ /Name /F3+ /Subtype /Type1+ /Type /Font >>+endobj+% 'Page1': class PDFPage+5 0 obj+% Page dictionary+<< /Contents 9 0 R+ /MediaBox [ 0+ 0+ 595.2756+ 841.8898 ]+ /Parent 8 0 R+ /Resources << /Font 1 0 R+ /ProcSet [ /PDF+ /Text+ /ImageB+ /ImageC+ /ImageI ] >>+ /Rotate 0+ /Trans << >>+ /Type /Page >>+endobj+% 'R6': class PDFCatalog+6 0 obj+% Document Root+<< /Outlines 10 0 R+ /PageMode /UseNone+ /Pages 8 0 R+ /Type /Catalog >>+endobj+% 'R7': class PDFInfo+7 0 obj+<< /Author (Workout Manager)+ /CreationDate (D:20121014181920-01'00')+ /Creator (\(unspecified\))+ /Keywords ()+ /Producer (ReportLab PDF Library - www.reportlab.com)+ /Subject (Workout for admin)+ /Title (Workout) >>+endobj+% 'R8': class PDFPages+8 0 obj+% page tree+<< /Count 1+ /Kids [ 5 0 R ]+ /Type /Pages >>+endobj+% 'R9': class PDFStream+9 0 obj+% page stream+<< /Filter [ /ASCII85Decode+ /FlateDecode ]+ /Length 2980 >>+stream+Gau129lo&I&;KYFnUJ@%m5QX\#_MEJ8^gE^m7_#6Elgb9(e]]:]9F!gs1SJi:Q#U2<'/4S=lKT#gkR#^)j2<ps,d6Cnc>GVDUAu5#pL)>IR9h]8p'q?rHrs;nb;,Kd99QdXK9POe[R%2WOV<J$ZIc_mOp6S0Z8u&a*NiB;FGIg.TKtV>SW2t9X`i]d+-D#iG%&@kK!#6j7.X\q.$aH^I,K&dI$\l<N&siq6U)_2Cm12$*thlXKIY)$2MAi$]ZV_c::`Pgsi:\,pB!L"V[,e:%*'L]5]hY:.7IlP+YlETWU_U^/&o^@TGG)aEY/uPGTPFrN7kjW:!/DJ[)-W.N=C-_$+BbS^Uk&S^X-eF1O/Rf&UOdf&S8EC\!^[j]u/NB68(;RQDU`HEcti;QJVGHZ;iTLs$0-YLq<H8nqU1S.<_l(r._/is&ff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8NdC]f?4EaD#=Q2uhWrPEYH2cs;k'JoSj-CXN"^`CWTX/F_MS0g%,OOS3-WhhsWUGVQ)a7Gu$E(N"EUG/s6sB[^0'm[-0UD0kpl9$)$B<Gnns\T,Z92qIWV\7<2kC\hr0SR('<HS>6Q^(YR$n=_GkKfLu7d$EjFWLZ?2fTc\WGV7dVhM3sO-gk+*`L=L[[D/[-Tm'uThi0cW\1slL`Z?)S(t3P)Wbk@F1<PS64?)\1n&Cff)gAB-@nkj?n?-;;phiK=.9k8F,D&SARaqr<pUDug_(3telJN/'_rKC9H6R%(R%NS+gUE/hHeC((?Z^ecgW'3*kSK1<H_]Z>q0<t^+ZO)X?Yk@k*;9-$T0MJn%;9FmIYU/oNZ%?lDd>4)SV<W9!rf3eZ74Zl:]7:qqk2o7bGQT&<Qs'#]/[/JPo^prm7B$raEnaV.$atf7t'4c$@U9.?2qXk/ah@'I3f%\SM@^gp_W8[WLN~>endstream+endobj+% 'R10': class PDFOutlines+10 0 obj+<< /Count 0+ /Type /Outlines >>+endobj+xref+0 11+0000000000 65535 f+0000000113 00000 n+0000000233 00000 n+0000000398 00000 n+0000000573 00000 n+0000000729 00000 n+0000001006 00000 n+0000001141 00000 n+0000001408 00000 n+0000001513 00000 n+0000004637 00000 n+trailer+<< /ID+ % ReportLab generated PDF document -- digest (http://www.reportlab.com)+ [(gS\030\200\341\(\376\232\355J\316H\343Z\011\316) (gS\030\200\341\(\376\232\355J\316H\343Z\011\316)]++ /Info 7 0 R+ /Root 6 0 R+ /Size 11 >>+startxref+4689+%%EOFdiff --git a/software/static/pdf/workout-pdf-1.0.3-en.pdf b/software/static/pdf/workout-pdf-1.0.3-en.pdfnew file mode 100644index 000000000..ccafd3f5c--- /dev/null+++ b/software/static/pdf/workout-pdf-1.0.3-en.pdf@@ -0,0 +1,135 @@+%PDF-1.4+%���� ReportLab Generated PDF document http://www.reportlab.com+% 'BasicFonts': class PDFDictionary+1 0 obj+% The standard fonts dictionary+<< /F1 2 0 R+ /F2 3 0 R+ /F3 4 0 R >>+endobj+% 'F1': class PDFType1Font+2 0 obj+% Font Helvetica+<< /BaseFont /Helvetica+ /Encoding /WinAnsiEncoding+ /Name /F1+ /Subtype /Type1+ /Type /Font >>+endobj+% 'F2': class PDFType1Font+3 0 obj+% Font Helvetica-Bold+<< /BaseFont /Helvetica-Bold+ /Encoding /WinAnsiEncoding+ /Name /F2+ /Subtype /Type1+ /Type /Font >>+endobj+% 'F3': class PDFType1Font+4 0 obj+% Font Symbol+<< /BaseFont /Symbol+ /Encoding /SymbolEncoding+ /Name /F3+ /Subtype /Type1+ /Type /Font >>+endobj+% 'Annot.NUMBER1': class PDFDictionary+5 0 obj+<< /A << /S /URI+ /Type /Action+ /URI (http://gargancjan.lem:8000/workout/6/view/) >>+ /Border [ 0+ 0+ 0 ]+ /Rect [ 162.2065+ 213.4665+ 355.0765+ 225.4665 ]+ /Subtype /Link+ /Type /Annot >>+endobj+% 'Page1': class PDFPage+6 0 obj+% Page dictionary+<< /Annots [ 5 0 R ]+ /Contents 10 0 R+ /MediaBox [ 0+ 0+ 595.2756+ 841.8898 ]+ /Parent 9 0 R+ /Resources << /Font 1 0 R+ /ProcSet [ /PDF+ /Text+ /ImageB+ /ImageC+ /ImageI ] >>+ /Rotate 0+ /Trans << >>+ /Type /Page >>+endobj+% 'R7': class PDFCatalog+7 0 obj+% Document Root+<< /Outlines 11 0 R+ /PageMode /UseNone+ /Pages 9 0 R+ /Type /Catalog >>+endobj+% 'R8': class PDFInfo+8 0 obj+<< /Author (wger Workout Manager)+ /CreationDate (D:20121119201712-01'00')+ /Creator (\(unspecified\))+ /Keywords ()+ /Producer (ReportLab PDF Library - www.reportlab.com)+ /Subject (Workout for admin)+ /Title (Workout) >>+endobj+% 'R9': class PDFPages+9 0 obj+% page tree+<< /Count 1+ /Kids [ 6 0 R ]+ /Type /Pages >>+endobj+% 'R10': class PDFStream+10 0 obj+% page stream+<< /Filter [ /ASCII85Decode+ /FlateDecode ]+ /Length 3099 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>d3f=7PA-H$_MDAk5~>endstream+endobj+% 'R11': class PDFOutlines+11 0 obj+<< /Count 0+ /Type /Outlines >>+endobj+xref+0 12+0000000000 65535 f+0000000113 00000 n+0000000233 00000 n+0000000398 00000 n+0000000573 00000 n+0000000743 00000 n+0000000989 00000 n+0000001287 00000 n+0000001422 00000 n+0000001694 00000 n+0000001800 00000 n+0000005044 00000 n+trailer+<< /ID+ % ReportLab generated PDF document -- digest (http://www.reportlab.com)+ [(\326\315!\207$\356\230\237\253\256_7^\273\220\305) (\326\315!\207$\356\230\237\253\256_7^\273\220\305)]++ /Info 8 0 R+ /Root 7 0 R+ /Size 12 >>+startxref+5096+%%EOFdiff --git a/software/templates/changelog.html b/software/templates/changelog.htmlnew file mode 100644index 000000000..c046749e8--- /dev/null+++ b/software/templates/changelog.html@@ -0,0 +1,77 @@+{% extends "base.html" %}+{% load i18n %}+{% load staticfiles %}+{% load manager_extras %}+++{% block title %}{% trans "Changelog" %}{% endblock %}++{% block content %}+<h2>{% trans "Changelog" %}</h2>++<h3>1.1</h3>+<h4>2013-xx-xx</h4>++<ul>+ <li>Better navigation bar</li>+ <li>New workout logbook, to keep track of your improvements</li>+ <li>Import your weight logs from a spreadsheet (CSV-Import)</li>+ <li>Better filtering for weight chart</li>+ <li>Muscle overview with corresponding exercises</li>+ <li>Add guest accounts by generating a temporary user</li>+ <li>Description pages about the software</li>+<!-- <li>Integration with Ubuntu's Unity desktop</li>-->+</ul>+++<h3>1.0.3</h3>+<h4>2012-11-19</h4>++<ul>+ <li>Add option to copy (duplicate) workouts and nutritional plans</li>+ <li>Login without an account with [[https://login.persona.org/|mozilla's Persona]] (BrowserID)</li>+ <li>Better AJAX handling of the modal dialogs, less page reloads and redirects</li>+ <li>Expand the list of ingredients in German</li>+ <li>Add a pagination to ingredient list</li>+ <li>Improvements to user page:</li>+ <ul>+ <li>Add a "reset password" link to the login page</li>+ <li>Email is now user editable</li>+ </ul>+ <li>More natural lines in weight chart with cubic interpolation</li>+</ul>++<h3>1.0.2</h3>+<h4>2012-11-02</h4>++<ul>+ <li>Bugfix release</li>+</ul>++<h3>1.0.1</h3>+<h4>2012-11-02</h4>++<ul>+ <li>Fix issue with password change</li>+ <li>Small improvements to UI</li>+ <li>Categories editable/deletable from exercise overview page</li>+ <li>Exercise AJAX search groups by category</li>+ <li>More tests!</li>+ <li>Use generic views for editing, creating and deleting objects</li>++<h3>1.0</h3>+<h4>2012-10-16</h4>++<p>Initial release.</p>++<ul>+ <li>Workout manager</li>+ <li>PDF output for logging progress</li>+ <li>Initial data with the most popular exercises</li>+ <li>Simple weight chart</li>+ <li>Nutrition plan manager</li>+ <li>Simple PDF output</li>+ <li>Initial data with nutritional values from the USDA</li>+</ul>++{% endblock %}diff --git a/software/templates/code.html b/software/templates/code.htmlnew file mode 100644index 000000000..b0a9e2a65--- /dev/null+++ b/software/templates/code.html@@ -0,0 +1,46 @@+{% extends "base.html" %}+{% load i18n %}+{% load staticfiles %}+{% load manager_extras %}+++{% block title %}{% trans "Get the code" %}{% endblock %}++{% block content %}+<h2>{% trans "Download" %}</h2>++<h3>{% trans "Stable version" %}</h3>++<p>{% blocktrans %}Click here to download the last stable version. For+installation instructions see below.{% endblocktrans %}</p>++<div class="box success" style="text-align: center;">+<p>{% blocktrans %}<strong><a href="https://bitbucket.org/rolandgeider/workout_manager/get/1.0.3.zip">Download+version 1.0.3</a></strong>{% endblocktrans %}</p>+</div>++<h3>{% trans "Development version" %}</h3>++<p>{% blocktrans %}Get the development version if you want to contribute to the project, I+probably don't need to tell you that this version will have more bugs and should not be+used for anything important, right?.{% endblocktrans %}</p>++<p>{% blocktrans %}There are two repositories you can clone:{% endblocktrans %}</p>+{% blocktrans %}<ul>+ <li>+ <strong><a href="https://bitbucket.org/rolandgeider/workout_manager">bitbucker (HG)</a></strong>,+ the main repository. All work happens here.+ </li>+ <li>+ <strong><a href="https://github.com/rolandgeider/workout_manager">github (GIT)</a></strong>,+ a mirror of main repo.+ </li>+</ul>{% endblocktrans %}++<p>{% trans "Any pull requests are welcomed :)" %}</p>+++<h2>{% trans "Installation" %}</h2>++<pre>...</pre>+{% endblock %}diff --git a/software/templates/functions.html b/software/templates/functions.htmlnew file mode 100644index 000000000..0f78b05cc--- /dev/null+++ b/software/templates/functions.html@@ -0,0 +1,140 @@+{% extends "base.html" %}+{% load i18n %}+{% load staticfiles %}+{% load manager_extras %}+++{% block title %}{% trans "Functions" %}{% endblock %}++{% block content %}+<h2>{% trans "What is this?" %}</h2>++<p>{% blocktrans %}Workout Manager is a free, open source web application that manages+your exercises and workouts. It started as a pet project of mine to replace my+growing collection of different spreadsheets, but it has become something other+people could also find useful. So, answering the question, it's{% endblocktrans %}</p>++<div class="ym-grid linearize-level-1">+ <div class="ym-g33 ym-gl">+ <div class="ym-gbox-left">+ <div class="warning box">+ <h3>a workout manager</h3>+ <p>{% blocktrans %}You probably guessed, this is a workout manager:+ you can create and manage your workout routines. You select how+ many days your workout constists of, and add different exercises to each.{% endblocktrans %}</p>+ </div>+ </div>+ </div>+ <div class="ym-g33 ym-gl">+ <div class="ym-gbox-left">+ <div class="warning box">+ <h3>{% trans "a body weight tracker" %}</h3>+ <p>{% blocktrans %}This simple part lets+ you input your weight for a date. From this it generates a rather nice looking+ chart, so you can see if you are reaching your goals (be it gaining mass or+ losing it).{% endblocktrans %}</p>+ </div>+ </div>+ </div>+++ <div class="ym-g33 ym-gr">+ <div class="ym-gbox-right">+ <div class="warning box">+ <h3>{% trans "a nutrition manager" %}</h3>+ <p>{% blocktrans %}Here you can create a diet+ plan and see some nutritional values (total energy, protein, carbohydrates, and+ so on) about it. Select from more than 8000 ingredients for this.{% endblocktrans %}</p>+ </div>+ </div>+ </div>+</div>++<h2>{% trans 'More details please' %}</h2>++<h3>The workout manager</h3>+<p>{% blocktrans %}By the name you probably guessed, this is a workout manager. That means that you can create and,+well, manage your workout routines. You select how many days your workout+constists of, and then add different sets and exercises to each day.{% endblocktrans %}</p>+++<p>{% blocktrans %}It is pretty flexible so if you do supersets, no worry, it is supported+and you will know which exercises <em>belong together</em>. Each set can have a+different number of repetitions you want to reach and which you enter yourself. This+means that other training forms like pyramid training or similar are not a problem.{% endblocktrans %}</p>++<img src="{% static 'images/workout-manager-1.0.3-en.png' %}" class="bordered flexible">++<p>{% blocktrans %}It can also generate a PDF with your current routine. This is suitable for+printing so you can bring it to the gym and keep a log about your progress.+In case you wonder how it looks like, [[files/pdf/workout-pdf-1.0.3-en.pdf here's a sample]].{% endblocktrans %}</p>++<p>{% blocktrans %}<strong>Note:</strong> it has no 'preset' workouts that you can simply use+(e.g. beginner, etc.). It will happily make the routine you tell it to do, but you have+to decide which exercises and how many repetitions you'll do.{% endblocktrans %}</p>++<h4>{% trans "Exercise log" %}</h4>++<p>{% blocktrans %}You can enter the weights and repetitions you did for each+exercise. As with the (body) weight, it will generate some diagrams so+so you can see at a glance how well you are doing. The raw numbers are still there+in a table, don't worry.{% endblocktrans %}</p>++<img src="{% static 'images/workout-log-1.1-en.png' %}" class="bordered flexible">++++<h3>{% trans "Muscle and exercise database" %}</h3>+<p>{% blocktrans %}The exercise database contains around hundred exercises+from which you can choose when creating a workout. Some have important notes+about the form to perform them. This is displayed in the workout overview+page, so you keep them in mind.{% endblocktrans %}</p>++<img src="{% static 'images/muscle-overview-1.1-en.png' %}" class="bordered flexible">++++<h3>{% trans "The weight tracker" %}</h3>+<p>{% blocktrans %}This is a rather simple part that basically lets+you input your weight and a day. From this it generates a rather nice looking+chart, so you can see if you are reaching your goals (be it gaining mass or+losing it).{% endblocktrans %}</p>++<p>{% blocktrans %}+In case you want to jump ship after inputing your data from the last years, simply+export the data as CSV.{% endblocktrans %}</p>++<img src="{% static 'images/weight-chart-1.0.3-en.png' %}" class="bordered flexible">++++<h3>{% trans "The nutrition schedule manager" %}</h3>+<p>{% blocktrans %}And finally it is a nutrition schedule manager. Here you can+create a diet plan and see some nutritional values (total energy, protein,+carbohydrates, and so on) about it. For the ingredients, it uses the very complete+list provided by the US Department of Agriculture, with around 8000 entries.{% endblocktrans %}</p>++<img src="{% static 'images/nutrition-manager-1.0.3-en.png' %}" class="bordered flexible">++<p>{% blocktrans %}It can also be downloaded as a PDF so you can keep it on your+fridge, so you don't forget to follow the plan... And as with the workout+log, [[files/pdf/nutrition-plan-pdf-1.0-en.pdf here's a sample]].{% endblocktrans %}</p>++<p>{% blocktrans %}<strong>Note:</strong> this is not a log keeper. It does not+keep track of what you actually ate during the day and how it compares to+what the plan says. It simply shows you the nutritional values of the plan+you create.{% endblocktrans %}</p>{% endblock %}++{% block sidebar %}+{% if not user.is_authenticated %}+<h3>{% trans "Interested?" %}</h3>+<p>+<a href="{% url demo-account %}">+ <img src="{% static 'images/icons/star.svg' %}"+ width="48"+ height="48"+ alt="{% trans 'Try the demo' %}">+ {% trans "Try the demo" %}</a>+</p>+{% endif %}+{% endblock %}diff --git a/software/templates/issues.html b/software/templates/issues.htmlnew file mode 100644index 000000000..261026ec5--- /dev/null+++ b/software/templates/issues.html@@ -0,0 +1,32 @@+{% extends "base.html" %}+{% load i18n %}+++{% block title %}{% trans "Reporting a problem" %}{% endblock %}++{% block content %}+<h2>{% trans "Reporting a problem" %}</h2>++<p>{% blocktrans %}+No software is perfect. For some severe errors, an email will be automatically sent, but+not always, so I depend on you reporting everything that didn't behave as expected.+Please describe in as much detail as you can what you were doing when the error+happened.+{% endblocktrans %}</p>++<p>+{% blocktrans %}If you found a problem, please+<a href="https://bitbucket.org/rolandgeider/workout_manager/issues">report it+to the issue tracker</a> in bitbucket.+{% endblocktrans %}+</p>++<h3>{% trans "Enhancements" %}</h3>++<p>{% blocktrans %}+The issue tracker can also be used to document enhancements to the software, so+if you have some suggestions, feel free to open a ticket, just set '<em>kind</em>'+to '<em>enhancement</em>'.+{% endblocktrans %}</p>++{% endblock %}diff --git a/software/templates/license.html b/software/templates/license.htmlnew file mode 100644index 000000000..530e723f9--- /dev/null+++ b/software/templates/license.html@@ -0,0 +1,29 @@+{% extends "base.html" %}+{% load i18n %}+{% load staticfiles %}+{% load manager_extras %}+++{% block title %}{% trans "License" %}{% endblock %}++{% block content %}+<h2>{% trans "License" %}</h2>+++<p>{% blocktrans %}wger Workout Manager is Free/Libre Open Source Software (FLOSS).+{% endblocktrans %}</p>++<p>{% blocktrans %}wger Workout Manager steht unter der Affero GNU General Public License+(AGPL) Version 3+ und darf ohne Restriktionen (unter den Bedingungen der Lizenz)+benutzt, verändert und (geändert) weitergegeben werden.+{% endblocktrans %}</p>++<p>{% blocktrans %}Eine Kopie der Lizenz liegt jedem OpenSlides-Release bei und ist+auch in der LICENSE-Datei im Quellcode-Repository nachzulesen.+{% endblocktrans %}</p>++++++{% endblock %}diff --git a/software/urls.py b/software/urls.pynew file mode 100644index 000000000..64d5a999e--- /dev/null+++ b/software/urls.py@@ -0,0 +1,45 @@+# -*- coding: utf-8 -*-++# This file is part of Workout Manager.+#+# Workout Manager is free software: you can redistribute it and/or modify+# it under the terms of the GNU Affero General Public License as published by+# the Free Software Foundation, either version 3 of the License, or+# (at your option) any later version.+#+# Workout Manager is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.+#+# You should have received a copy of the GNU Affero General Public License++from django.conf.urls import patterns, url++from django.views.generic import TemplateView+++from software.views import IssuesTemplateView++urlpatterns = patterns('',++ url(r'^issues$',+ IssuesTemplateView.as_view(),+ name='issues'),++ url(r'^features$',+ TemplateView.as_view(template_name="functions.html"),+ name='functions'),++ url(r'^changelog$',+ TemplateView.as_view(template_name="changelog.html"),+ name='changelog'),++ url(r'^license$',+ TemplateView.as_view(template_name="license.html"),+ name='license'),++ url(r'^code$',+ TemplateView.as_view(template_name="code.html"),+ name='code'),+)diff --git a/software/views.py b/software/views.pynew file mode 100644index 000000000..3a68b8635--- /dev/null+++ b/software/views.py@@ -0,0 +1,28 @@+# -*- coding: utf-8 -*-++# This file is part of Workout Manager.+#+# Workout Manager is free software: you can redistribute it and/or modify+# it under the terms of the GNU Affero General Public License as published by+# the Free Software Foundation, either version 3 of the License, or+# (at your option) any later version.+#+# Workout Manager is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.+#+# You should have received a copy of the GNU Affero General Public License++from django.views.generic import TemplateView++from workout_manager.constants import SOFTWARE_TAB+++class IssuesTemplateView(TemplateView):+ template_name = "issues.html"++ def get_context_data(self, **kwargs):+ context = super(IssuesTemplateView, self).get_context_data(**kwargs)+ context['active_tab'] = SOFTWARE_TAB+ return contextdiff --git a/workout_manager/settings.sample.py b/workout_manager/settings.sample.pyindex 2ba52fc74..24e33c497 100644--- a/workout_manager/settings.sample.py+++ b/workout_manager/settings.sample.py@@ -98,7 +98,7 @@ STATICFILES_FINDERS = ()# Make this unique, and don't share it with anybody.-SECRET_KEY = 'tghl3b8#1r0ha!-4zxfu*sj-wc69o$p92wz$@mtfubq!$%5*ls'+SECRET_KEY = ''# List of callables that know how to import templates from various sources.TEMPLATE_LOADERS = (@@ -146,6 +146,7 @@ INSTALLED_APPS = ('weight','exercises','nutrition',+ 'software',# reCaptcha support, see https://github.com/praekelt/django-recaptcha'captcha',