From 8e0ad873419c456403ccef9ed6ca8b3d3ede976e Mon Sep 17 00:00:00 2001 From: seba Date: Fri, 30 Sep 2011 02:15:53 +0200 Subject: [PATCH] started user plugin settings --- devel/er.dia | Bin 9209 -> 7938 bytes k4ever/main/models.py | 4 ++-- .../main/templates/main/navigation-login.html | 1 + k4ever/main/templates/settings/settings.html | 12 ++++++++++++ k4ever/main/urls.py | 1 + k4ever/main/views.py | 4 ++++ 6 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 k4ever/main/templates/settings/settings.html diff --git a/devel/er.dia b/devel/er.dia index 245a692a73ae7e9bd2015986f38d314513890c64..b502492f6b9cd423a8a999dc541dd9b739be8865 100644 GIT binary patch literal 7938 zcmV+dAN}ATiwFP!000021MOW+b0f)(z0a>u$QL_;%FaZ7yWHa#d%dxT-SvdsK6g-3 zwZt8Y)RNTn^kskh0$J>CeN;&$W`PvRRK(apb%`jDDBuD40Q~9CzuinveytbF$$a+y zR0(-{QqL~tmy_Am`_q4Y`1iAL`sW{i_|xTN{73xnYB9b!!M~U->DBww>(%P^kMG`n z{`^@?zbwbA`9e%5cVbz;`@ivYI(~;2y*vH!hm({0Z*VzYjp=vm-;P(S#pL{MRiDhp zH}(6|^YO(mSBv@G?DDj^YJJ_sd^%s8{5qb#KmFaO^mF=d{Wk9&yw5Z5eLKFY&lmOh zm+rTg_!HwMZ+%-Y9>49)?R+`GOIBZQpIp-MKJ>r$u32BT#EWKEKmP6~^SkDj*1!1v zUTrtpDP(msUR+IPPvzieGi^Qy5CH)2!>}<#>5W%kKa2}2}wkvM3{CGQG ztQOZ!={`FvWBXN}a=;;!CY&hlbBMH72Ytqd(bO;)S<3-|wNJYDutp!xN;r|q>* z?$u&)`TT?X;EIlS`8>H?U4Q(I>EmkN{R`8(|2kPt&Zl+T-A`t#!QTGMFmM0(+ezO0 z`=4i8L-TH(;o&mWwzjVi4_9}S%X;~OnLWIwc#r)|9Np;-{9MytiRp0ySeuf%+LR)zF4hw`{!yryBserPtH#MG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2$dXcW$br8j?I-;6 z6pKqIv3+`W;*s?p7>{B^b75sg#G@U}#v|I6p~gUTejy0-ita zBtxW9y@o_b%!Rn;!>nL*l+y2DM;LihgQc;9rRid^`t1OxvIjVjtvgXKmkHh93y;OL zwbzDrgkjP3dn_h5UHayAP(D}tWl^SBuOT?&QW#iwTU;Kn{B3dfVZQv!YWaTtp?1Yz zs9SzE1@L2}0Nl1N>6lY42`K}Jxivn|w+B>KJOkKYt?zEP#Brp^so*;s7CnU&X!ww=!$k~DlIucf zDM2Ax>2|DcH9M~3oZH!U>=B+I0qCJA>X#X^JHnho(&e=otDO81089CD2H;hU6XO-h z)@BOz8j=F|l*AnD2%wf`zO&NI-)8HN^9?_dwLDYfELte zoIFCC)LMUl()lATJ1*mjs5Y2y)9u^Sd(6tYEvcM8;n79g4QUi&V*+@y_s*TcSuLY= z62nO?B$GnvgtkblI^VUXu)Qhl-S+m~V)d@J7uNQ|^UGNMC>bk+d~!*$JI`~Ntxd{U zA%)wq%~-t;(4LxVJVeIYscO%)mT5ew_IIzRo3*+lMMz-`dV$Sr37s^(Adh0O-1=cm z9>ZXz`2|Ia4dWMJxL1g;>r^gd8P{_D|L$hL)KIC0N@p7?#Zf{f!n}>v?%fdal29q{ z+O-s28!AO?{r~fy*(jk>r>ec761H%t;q;10t|(M0o{rhRUQ9pF)<6HyzDWOlSWiFx P{KJ0(oscp3Z>RzQ6QL^2 diff --git a/k4ever/main/models.py b/k4ever/main/models.py index 47af53a..c15a09c 100644 --- a/k4ever/main/models.py +++ b/k4ever/main/models.py @@ -24,6 +24,6 @@ class PluginPermission(models.Model): authBlob = models.TextField() class Plugin(models.Model): - pluginUser = models.ForeignKey(User) - uniqueAuthblob = models.BooleanField() + user = models.ForeignKey(User) + uniqueAuthblob = models.BooleanField(default=False) diff --git a/k4ever/main/templates/main/navigation-login.html b/k4ever/main/templates/main/navigation-login.html index e64a6da..09dc2ad 100644 --- a/k4ever/main/templates/main/navigation-login.html +++ b/k4ever/main/templates/main/navigation-login.html @@ -3,6 +3,7 @@
  • Einkaufen
  • Konto
  • Frühere Einkäufe
  • +
  • Einstellungen
  • {% if user.is_staff %}
  • Administration
  • {% endif %} diff --git a/k4ever/main/templates/settings/settings.html b/k4ever/main/templates/settings/settings.html new file mode 100644 index 0000000..03842ff --- /dev/null +++ b/k4ever/main/templates/settings/settings.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block "content" %} +

    Passwort

    +
    + <Change Password here> +
    +
    +
    +

    Plugin permissions

    +
    +{% endblock %} diff --git a/k4ever/main/urls.py b/k4ever/main/urls.py index f42a0f1..780a285 100644 --- a/k4ever/main/urls.py +++ b/k4ever/main/urls.py @@ -10,4 +10,5 @@ urlpatterns = patterns('', (r'^logout/$', 'django.contrib.auth.views.logout', {'template_name': 'registration/logout.html', 'next_page': '/user/login/'}), + (r'^settings/$', 'main.views.settings'), ) diff --git a/k4ever/main/views.py b/k4ever/main/views.py index 8addc4d..4022526 100644 --- a/k4ever/main/views.py +++ b/k4ever/main/views.py @@ -17,3 +17,7 @@ def startpage(request): def register(request): return render_to_response("registration/register.html", RequestContext(request)) + +@login_required +def settings(request): + return render_to_response("settings/settings.html", RequestContext(request))