From 5fb66e5363ad5262f9a71bc040b01fc5564724c2 Mon Sep 17 00:00:00 2001
From: Andreas Zweili
Date: Thu, 22 Feb 2018 19:21:11 +0100
Subject: [PATCH 1/8] update readme
---
README.md | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index e4f0ea0..c6200ff 100644
--- a/README.md
+++ b/README.md
@@ -13,9 +13,10 @@ Inspiration falls jemand ähnlich Schulprojekte hat.
##### Installation
-To get started with this repository make sure that you have Virtualbox
-5.1.30 and Vagrant 2.0.0 installed. Vagrant 2.0.0 currently doesn't
-support Virtualbox 5.2.
+To get started with this repository make sure that you have
+[Virtualbox](https://www.virtualbox.org/) and
+[Vagrant](https://www.vagrantup.com/) installed.
+
After you have installed Vagrant and Virtualbox run this command in a
terminal to make sure that you have installed the Virtualbox plugin
@@ -37,9 +38,10 @@ specifications in the "Vagrantfile" file. After it's finished you
should be able to access the web page under http://localhost:8080
To access the admin panel visit http://localhost:8080/admin the
-default login is admin and the corresponding password is
-"password". By default the application contains no data, you can enter
-whatever you need.
+default login is "admin" and the corresponding password is "password".
+By default the application contains some example categories and
+articles as well as a test user. The username of the test user is
+"test_user" and the password is "password".
### Support
From 01ac4dceca2616a60c4aa52e16b45ed63a8f70f8 Mon Sep 17 00:00:00 2001
From: Andreas Zweili
Date: Sun, 25 Feb 2018 21:42:22 +0100
Subject: [PATCH 2/8] make the swot table a bit smaller
The SWOT figure was a bit large and didn't fit entirely on the page.
---
docs/doku.org | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/docs/doku.org b/docs/doku.org
index c65a0cc..4b2edb9 100644
--- a/docs/doku.org
+++ b/docs/doku.org
@@ -144,9 +144,9 @@ Tabelle:([[tab:swot]]) zu sehen.
\def\bigfont#1#{\fontsize{120}{130}\selectfont #1}
\begin{tikzpicture}[scale=0.9,
any/.style={
- minimum width=8cm,
- minimum height=8cm,%
- text width=7.5cm,
+ minimum width=7cm,
+ minimum height=7cm,%
+ text width=6.5cm,
align=center,
outer sep=1pt
},
@@ -191,6 +191,7 @@ Tabelle:([[tab:swot]]) zu sehen.
any,
anchor=center
] at (SWOT-2-2) { % Interne Stärken/Externe Chancen feld:
+ \footnotesize{
\begin{itemize}
\item Know-How in Webtechnologien.
\item Quell offene Software ist leichter zu unterhalten.
@@ -198,12 +199,13 @@ Tabelle:([[tab:swot]]) zu sehen.
stark reduziert werden.
\item Wir als Programmierer haben ein gutes Know-How
im Bereich Datenbanken.
- \end{itemize}
+ \end{itemize}}
};
\node[
any,
anchor=center
] at (SWOT-2-3) { % Interne Schwächen/Externe Chancen feld:
+ \footnotesize{
\begin{itemize}
\item Das Framework ist nicht vollkommen. Teile davon müssten
eventuell selber konzipiert/erarbeitet werden.
@@ -214,30 +216,32 @@ Tabelle:([[tab:swot]]) zu sehen.
\item Der Kunde vertraut uns, und die Beziehung ist gut.
Diese Ausgangslage mag helfen interne Schwächen durch
offene Kommunikation übergehen.
- \end{itemize}
+ \end{itemize}}
};
\node[
any,
anchor=center
] at (SWOT-3-2) { % Interne Stärken/ Externe Risiken feld:
+ \footnotesize{
\begin{itemize}
\item Quell offene Software kann unkontrolliert kopiert werden.
\item Die Implementation von Währungsänderungen ist
nicht trivial. Der Zeitpunkt zu dem die Kosten
eines Produktes sich ändert muss gut durchdacht werden.
- \end{itemize}
+ \end{itemize}}
};
\node[
any,
anchor=center
] at (SWOT-3-3) { % Interne Schwächen/ Externe Risiken feld:
+ \footnotesize{
\begin{itemize}
\item Wir als Programmierer haben keine Erfahrung im
Konsumsegment unseres Nutzers..
\item Die Umsetzung der graphischen Anwendungsoberfläche
könnte sich als schwierig erweisen.
\item Die Umsetzungszeit ist knapp bemessen.
- \end{itemize}
+ \end{itemize}}
};
\end{tikzpicture}
%--Ende SWOT Analyse
From b2686c496c959718b014ccbca3d0b2b1bec97719 Mon Sep 17 00:00:00 2001
From: Andreas Zweili
Date: Sun, 25 Feb 2018 21:58:59 +0100
Subject: [PATCH 3/8] add captions and centering to the tikz figures
---
docs/doku.org | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/docs/doku.org b/docs/doku.org
index 4b2edb9..b636524 100644
--- a/docs/doku.org
+++ b/docs/doku.org
@@ -124,10 +124,8 @@ Gefahren zu erkennen, indem eine 4-Felder-Matrix ausgefüllt wird.
Wichtig vor dem Ausfüllen der SWOT-Analyse ist es, ein klares Ziel zu
haben. Die ausgefüllte SWOT-Analyse für dieses Projekt ist in der
-Tabelle:([[tab:swot]]) zu sehen.
+Abbildung:(\ref{fig:swot}) zu sehen.
-#+CAPTION: SWOT-Analyse
-#+NAME: tab:swot
#+BEGIN_EXPORT latex
%--Beginn SWOT Analyse
%---Used for SWOT Analysys Chart
@@ -142,6 +140,8 @@ Tabelle:([[tab:swot]]) zu sehen.
\colorlet{T}{schwaechen!50!risiken}
% implemented this in doc instead as in preamble:
\def\bigfont#1#{\fontsize{120}{130}\selectfont #1}
+\begin{figure}[H]
+\centering
\begin{tikzpicture}[scale=0.9,
any/.style={
minimum width=7cm,
@@ -244,6 +244,9 @@ Tabelle:([[tab:swot]]) zu sehen.
\end{itemize}}
};
\end{tikzpicture}
+\caption{SWOT-Analyse}
+\label{fig:swot}
+\end{figure}
%--Ende SWOT Analyse
#+END_EXPORT
@@ -342,12 +345,14 @@ Am ende des Projekts die nicht lauffähigen teile ausgrenzen. :-)
* Projektmanagement
** Organigramm
-#+NAME: fig:Organigramm
#+BEGIN_EXPORT latex
+\begin{figure}[H]
+\centering
\begin{tikzpicture}[
auto,
node distance = 0.4cm,
thick,
+ align=center,
every node/.style = {
rectangle,
font = \sffamily,
@@ -360,8 +365,8 @@ Am ende des Projekts die nicht lauffähigen teile ausgrenzen. :-)
}
]
\node (CH) {\textbf{CH}\\Christian Herren};
- \coordinate [below = 0.9cm of CH] (Mitte);
- \coordinate [below = 1.6cm of CH] (Unten);
+ \coordinate [below = 1.2cm of CH] (Mitte);
+ \coordinate [below = 2.2cm of CH] (Unten);
\node (CV) [right = 2mm of Mitte] {\textbf{CV}\\Christian Vögeli};
\node (AZ) [below = of CV] {\textbf{AZ}\\Andreas Zweili};
\node (IH) [left = of AZ] {\textbf{IH}\\Ivan Hörler};
@@ -371,8 +376,9 @@ Am ende des Projekts die nicht lauffähigen teile ausgrenzen. :-)
(Unten) -| (IH)
(Unten) -| (AZ);
\end{tikzpicture}
+\caption{Organigramm}
+\end{figure}
#+END_EXPORT
-#+CAPTION: Organigramm
** Projektstrukturplan
** Varianten
From 3dc625d6ee7a24c2a591c1e75884ec6fdc404d79 Mon Sep 17 00:00:00 2001
From: Andreas Zweili
Date: Sun, 25 Feb 2018 22:04:50 +0100
Subject: [PATCH 4/8] add a page break to move the interface section to it's
own page
---
docs/doku.org | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/doku.org b/docs/doku.org
index b636524..2ca1dec 100644
--- a/docs/doku.org
+++ b/docs/doku.org
@@ -1637,6 +1637,7 @@ die Datenbank mit zusätzlichen Anfragen belastet werden kann.
#+NAME: fig:person
[[file:pictures/class_person.png]]
+#+LATEX:\newpage
** Benutzerinterface
*** Mockup Skizze
From 79e76c8e0c37f72db32e069026707be161a90cb2 Mon Sep 17 00:00:00 2001
From: Andreas Zweili
Date: Sun, 25 Feb 2018 22:05:15 +0100
Subject: [PATCH 5/8] resize the mockup picture so it doesn't use a whole page
---
docs/doku.org | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/doku.org b/docs/doku.org
index 2ca1dec..8350af8 100644
--- a/docs/doku.org
+++ b/docs/doku.org
@@ -1647,7 +1647,7 @@ wir eine Diskusionsgrundlage wie wir das Interface weiter entwickeln
könnten.
#+CAPTION: Ein frühes Mockup des Shop
-#+ATTR_LATEX: :width \textwidth
+#+ATTR_LATEX: :height 15cm
#+NAME: mockup
[[file:pictures/mockup-full-snipet.png]]
#+LATEX:\newpage
From 1cc4011b1b0c24bb72eafe0d5d21a60657c96e1d Mon Sep 17 00:00:00 2001
From: Andreas Zweili
Date: Sun, 25 Feb 2018 22:06:23 +0100
Subject: [PATCH 6/8] remove todo tags
---
docs/doku.org | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/doku.org b/docs/doku.org
index 8350af8..e826d52 100644
--- a/docs/doku.org
+++ b/docs/doku.org
@@ -117,7 +117,7 @@ geeignet erscheinenden Frameworks. Jede noch so kleine Zeiteinsparung
durch vorgefertigte Entwicklungen werden angenommen und dennoch wollen
wir keine fertigen Software Produkte einsetzen.
-** TODO SWOT-Analyse
+** SWOT-Analyse
Die SWOT-Analyse ist eine Methode, die Stärken, Schwächen, Chancen und
Gefahren zu erkennen, indem eine 4-Felder-Matrix ausgefüllt wird.
@@ -292,7 +292,7 @@ Abbildung:([[fig:umweltgrafik]]) grafisch dargestellt.
#+NAME: fig:umweltgrafik
[[file:diagrammes/stakeholder_diagramm.eps]]
-** TODO Risikomanagement
+** Risikomanagement
*** Risikobeschreibung
#+CAPTION: Risikobeschreibung
From 208d7d51df3c5de78cf3237aed65d5e249012871 Mon Sep 17 00:00:00 2001
From: Andreas Zweili
Date: Tue, 27 Feb 2018 18:21:34 +0100
Subject: [PATCH 7/8] correct the html templates
---
.../webshop/templates/webshop/base.html | 2 +-
.../webshop/templates/webshop/checkout.html | 16 ++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/django/didgeridoo/webshop/templates/webshop/base.html b/django/didgeridoo/webshop/templates/webshop/base.html
index 9f21839..94e473e 100644
--- a/django/didgeridoo/webshop/templates/webshop/base.html
+++ b/django/didgeridoo/webshop/templates/webshop/base.html
@@ -73,7 +73,7 @@
target='_blank'
href='http://www.ibz.ch'
>This is a case study project of Ivan Hörler and Andreas Zweili.
-
+
It is a school project/excercise and has no commercial intent.
diff --git a/django/didgeridoo/webshop/templates/webshop/checkout.html b/django/didgeridoo/webshop/templates/webshop/checkout.html
index 67849ba..ad9c9ff 100644
--- a/django/didgeridoo/webshop/templates/webshop/checkout.html
+++ b/django/didgeridoo/webshop/templates/webshop/checkout.html
@@ -1,8 +1,8 @@
{% extends "webshop/base.html" %}
-{% block section_title %}CHECKOUT
{% endblock %}
+{% block section_title %}CHECKOUT{% endblock %}
{% block content %}
Preview your Purchase:
-
+
Shipping Address:
{% if person %}
Salutation: {{ person.salutation }}
@@ -19,7 +19,7 @@
{% endif %}
{% if cart_position_list %}
-
+
Your Items:
{% endfor %}
-
+ |
|
- - Total:
|
+ Total:
- - {{ total }} {{ currency_name }}
+ {{ total }} {{ currency_name }}
|
-