summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-02-10 05:43:20 -0600
committerluxagraf <sng@luxagraf.net>2018-02-10 05:43:20 -0600
commit5a35f6b3cd0c74a46a2e8787b582ec61cbc333d5 (patch)
tree5e386477abc0f68f61c27f039f8754efacec3e9e
parent494e816f431f47fda28658f64bee5969e5ca729f (diff)
removed sightings by person and styled sightings list on entry pages
-rw-r--r--app/sightings/build.py14
-rw-r--r--app/sightings/urls.py22
-rw-r--r--design/sass/_writing_details.scss24
3 files changed, 41 insertions, 19 deletions
diff --git a/app/sightings/build.py b/app/sightings/build.py
index db46a34..5321eff 100644
--- a/app/sightings/build.py
+++ b/app/sightings/build.py
@@ -14,13 +14,13 @@ class BuildSightings(BuildNew):
base_path=reverse("sightings:list"),
paginate_by=24
)
- for user in users:
- if Sighting.objects.filter(seen_by=user):
- self.build_list_view(
- base_path=reverse("sightings:list_by_person", kwargs={'user': user, 'page':1}),
- paginate_by=24
- )
- print("building sightings")
+ #for user in users:
+ # if Sighting.objects.filter(seen_by=user):
+ # self.build_list_view(
+ # base_path=reverse("sightings:list_by_person", kwargs={'user': user, 'page':1}),
+ # paginate_by=24
+ # )
+ #print("building sightings")
def get_model_queryset(self):
return self.model.objects.all()
diff --git a/app/sightings/urls.py b/app/sightings/urls.py
index f60be22..76a952e 100644
--- a/app/sightings/urls.py
+++ b/app/sightings/urls.py
@@ -20,15 +20,15 @@ urlpatterns = [
views.SightingDetailView.as_view(),
name='detail'
),
- path(
- r'<str:user>/',
- views.SightingListUserView.as_view(),
- {'page':1},
- name='list_by_person'
- ),
- path(
- r'<str:user>/<int:page>/',
- views.SightingListUserView.as_view(),
- name='list_by_person'
- ),
+ #path(
+ # r'<str:user>/',
+ # views.SightingListUserView.as_view(),
+ # {'page':1},
+ # name='list_by_person'
+ #),
+ #path(
+ # r'<str:user>/<int:page>/',
+ # views.SightingListUserView.as_view(),
+ # name='list_by_person'
+ #),
]
diff --git a/design/sass/_writing_details.scss b/design/sass/_writing_details.scss
index 490b6cc..efa541d 100644
--- a/design/sass/_writing_details.scss
+++ b/design/sass/_writing_details.scss
@@ -747,12 +747,16 @@ figure.picwide img.picwide {
}
}
.entry-footer {
+ @extend %clearfix;
@include constrain_narrow;
margin-top: 2em;
text-align: left;
li {
margin: .25em 0;
}
+ li ul {
+ columns: 2 auto;
+ }
li ul li:before {
content: "\2022";
margin-right: .35rem;
@@ -765,14 +769,32 @@ figure.picwide img.picwide {
text-decoration: none;
color: lighten($body_font, 20);
}
- &:after {
+ @include breakpoint(beta) {
+ margin-bottom: 4em;
+ #wildlife {
+ max-width: 55%;
+ float: left;
+ }
+ }
+ aside {
+ @extend %clearfix;
+ margin-bottom: 3em;
+ }
+ &:after, &:before {
@include faded_line_after;
@include breakpoint(beta) {
+ display: block;
margin-bottom: 2em;
}
}
}
#field_notes {
+ @include breakpoint(beta) {
+ max-width: 33%;
+ float: left;
+ margin-top: .15em;
+ margin-left: 7em;
+ }
li:before {
content: "\2022";
margin-right: .35rem;