From db28a05cbfa907025e45fc98f5c588ebf356cfbb Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 18 Nov 2015 14:34:56 -0500 Subject: added manifest file to header --- design/templates/base.html | 1 + 1 file changed, 1 insertion(+) diff --git a/design/templates/base.html b/design/templates/base.html index 6ccd931..dc773ed 100644 --- a/design/templates/base.html +++ b/design/templates/base.html @@ -23,6 +23,7 @@ href="/media/css/ie.css" media="screen"> + {%block extrahead%}{%endblock%} -- cgit v1.2.3 From fb5f8d0cbfd016bac855968e1e1d6ab5f6ef6689 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 19 Nov 2015 21:14:56 -0500 Subject: Consolidated and expanded the TODO list, which is alas, quite long at the moment --- app/TODO | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ app/birds/TODO | 2 -- app/builder/views.py | 4 ++++ app/figments/TODO | 1 - app/photos/TODO | 5 ----- app/src/TODO | 7 ------- 6 files changed, 59 insertions(+), 15 deletions(-) create mode 100644 app/TODO delete mode 100644 app/birds/TODO delete mode 100644 app/figments/TODO delete mode 100644 app/photos/TODO delete mode 100644 app/src/TODO diff --git a/app/TODO b/app/TODO new file mode 100644 index 0000000..502002d --- /dev/null +++ b/app/TODO @@ -0,0 +1,55 @@ +universal/ utils: + +add markdown pronessor function to utils and replace all markdown calls with that one. + +possibly convert to using Pandoc? Python is pretty good, but using Pandoc directly allows for epub, other formats as well. Plus standardized a bit. + +Add resume, src and figments to project page, possible as top level menu itesms + +--- + +notes + +revamp notes to be like my own personal instagram + +--- + +income app: + +Add admin pages for viewing income by month, including future. So page with list of months and links to months: /admin/income/month/ default to current month, add option GET param to show past months, add code to views and call it from base_urls before main admin include. show everything with status accepted and then the separately show pitched as possibilities, then show totals alongside how much we need to live. If invoice is submitted show date submitted and create a probably pay date for each publisher. + +--- + +birds app: + +Finish detail template +write build script + + +--- + +figments + +iron out templates and push first piece live. + +--- + +photos: + +Okay we're uploading/creating galleries/adding images + +Then resize all images for responsive gallery. + +Then play with gallery templates and add a template selecter to form. + +--- + +resume + +clean up design of book detail +add paypal app and generate button +handle callbacks from paypal to deliver the book and link to files + + +redirect lhp: home, book and rss + diff --git a/app/birds/TODO b/app/birds/TODO deleted file mode 100644 index 2464c1f..0000000 --- a/app/birds/TODO +++ /dev/null @@ -1,2 +0,0 @@ -Finish detail template -write build script diff --git a/app/builder/views.py b/app/builder/views.py index 9e22160..a17ec1b 100644 --- a/app/builder/views.py +++ b/app/builder/views.py @@ -3,6 +3,7 @@ from django.template import RequestContext from builder.base import BuildWriting, BuildWritingFeed, BuildMap, BuildPhotos, BuildProjects, BuildSitemap, BuildPages, BuildBooks from src.build import builder as src_build from jrnl.build import BuildJrnl, build_arc, build_detail +from resume.build import builder as resume_builder options = { 'writing': BuildWriting, @@ -24,6 +25,9 @@ def do_build(request): elif section == 'writingarchives': context = {'message': 'Writing Jrnl Archives to Disk'} build_arc() + elif section == 'resume': + context = {'message': 'Writing Resume to Disk'} + resume_builder() elif section == 'buildrss': context = {'message': 'Writing RSS to Disk'} BuildJrnl().build_feed("jrnl:feed") diff --git a/app/figments/TODO b/app/figments/TODO deleted file mode 100644 index 510ee94..0000000 --- a/app/figments/TODO +++ /dev/null @@ -1 +0,0 @@ -iron out templates and push first piece live. diff --git a/app/photos/TODO b/app/photos/TODO deleted file mode 100644 index 4584c63..0000000 --- a/app/photos/TODO +++ /dev/null @@ -1,5 +0,0 @@ -Okay we're uploading/creating galleries/adding images - -Then resize all images for responsive gallery. - -Then play with gallery templates and add a template selecter to form. diff --git a/app/src/TODO b/app/src/TODO deleted file mode 100644 index 9cb5989..0000000 --- a/app/src/TODO +++ /dev/null @@ -1,7 +0,0 @@ -clean up design of book detail -add paypal app and generate button -handle callbacks from paypal to deliver the book and link to files - - -redirect lhp: home, book and rss - -- cgit v1.2.3 From e5f21b720bdde4edb87024aadba1d7525d26d407 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 19 Nov 2015 21:15:50 -0500 Subject: added resume to build list in admin --- app/resume/build.py | 10 +++++----- app/resume/urls.py | 4 ++-- app/resume/views.py | 3 +++ design/templates/admin/buttons.html | 1 + 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app/resume/build.py b/app/resume/build.py index 7241a70..2b472a4 100644 --- a/app/resume/build.py +++ b/app/resume/build.py @@ -3,13 +3,13 @@ from django.core.urlresolvers import reverse from builder.base import BuildNew -class BuildExpenses(BuildNew): +class BuildResume(BuildNew): def build(self): self.build_detail_view() self.build_list_view( - base_path=reverse("expenses:list_trip"), - paginate_by=24 + base_path=reverse("resume:list"), + paginate_by=99999 ) def get_model_queryset(self): @@ -17,7 +17,7 @@ class BuildExpenses(BuildNew): def build_detail_view(self): ''' - write out all the expenses for each trip + write out my backups of published articles ''' for obj in self.get_model_queryset(): url = obj.get_absolute_url() @@ -30,5 +30,5 @@ class BuildExpenses(BuildNew): def builder(): - j = BuildExpenses("expenses", "trip") + j = BuildResume("resume", "pubitem") j.build() diff --git a/app/resume/urls.py b/app/resume/urls.py index 15b2371..a359899 100644 --- a/app/resume/urls.py +++ b/app/resume/urls.py @@ -22,11 +22,11 @@ urlpatterns = [ url( regex=r'^(?P[-\w]+)$', view=views.PageView.as_view(), - name="intro" + name="cv" ), url( regex=r'^$', view=views.BaseView.as_view(), - name="cv" + name="intro" ), ] diff --git a/app/resume/views.py b/app/resume/views.py index 563ceaf..7e5de14 100644 --- a/app/resume/views.py +++ b/app/resume/views.py @@ -29,6 +29,9 @@ class PageView(DetailView): model = Page slug_field = "slug" + def get_queryset(self): + return Page.objects.filter(path__startswith=self.kwargs['slug']) + def get_template_names(self): return ["details/%s.html" % self.object.slug, 'details/page.html'] diff --git a/design/templates/admin/buttons.html b/design/templates/admin/buttons.html index ea77e46..a4a2080 100644 --- a/design/templates/admin/buttons.html +++ b/design/templates/admin/buttons.html @@ -44,6 +44,7 @@
  • Build Writing Archives
  • Build Homepage
  • Build RSS
  • +
  • Build Resume
  • Build Photo Galleries
  • Build Project Pages
  • Build Map
  • -- cgit v1.2.3