Skip to content

Lightbox images in articles #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions content/events/firstproject.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ spotykaliśmy się co tydzień, aby budować stronę internetową w Django.

.. image:: {filename}/images/firstproject.jpg
:alt: Pierwsze spotkanie PyLadies Poland w CoWalski, Poznań
:class: img-responsive lightbox
:target: /images/firstproject.jpg
4 changes: 4 additions & 0 deletions content/events/ggc-forgirls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Dziewczynki bawiły się równie dobrze jak prowadzące!

.. image:: {filename}/images/offline-online-workshop1.jpg
:alt: Warsztaty z programowania dla dziewczynek w Starym Browarze w Poznaniu
:class: img-responsive lightbox
:target: /images/offline-online-workshop1.jpg

.. image:: {filename}/images/offline-online-workshop2.jpg
:alt: Warsztaty z programowania dla dziewczynek w Starym Browarze w Poznaniu
:class: img-responsive lightbox
:target: /images/offline-online-workshop2.jpg
2 changes: 2 additions & 0 deletions content/events/girls-go-tu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ Wszeborowska z Asią Kasprzak.

.. image:: {filename}/images/dziewczyny-na-politechniki-warsztat.jpg
:alt: Warsztat z podstaw programowania w ramach akcji Dziewczyny na politechniki
:class: img-responsive lightbox
:target: /images/dziewczyny-na-politechniki-warsztat.jpg
2 changes: 2 additions & 0 deletions content/events/komitywa-hackathon.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ http://kodujdlapolski.pl/projects/wysadz-ulice/

.. image:: {filename}/images/wysadzulice.jpg
:alt: Inicjatywa Wysadź Ulicę
:class: img-responsive lightbox
:target: /images/wysadzulice.jpg
2 changes: 2 additions & 0 deletions content/events/openmeetings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ w znane poznańskie PyTreningi.

.. image:: {filename}/images/openmeetings.jpg
:alt: Otwarte spotkania na Politechnice Poznańskiej
:class: img-responsive lightbox
:target: /images/openmeetings.jpg
2 changes: 2 additions & 0 deletions content/events/polyconf2014.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ Ania wygłosiła także krótką prezentację o misji oraz działaniach PyLadies

.. image:: {filename}/images/polyconfworkshop.jpg
:alt: Warsztaty z budowania poliglotycznych systemów na PolyConf 2014
:class: img-responsive lightbox
:target: /images/polyconfworkshop.jpg
8 changes: 8 additions & 0 deletions content/events/pyconpl2014.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,24 @@ GitHubie: https://github.com/pyladies-poland/webscraping-presentation

.. image:: {filename}/images/pyconpl2014-workshop1.jpg
:alt: PyLadies Poland na PyConPL 2014
:class: img-responsive lightbox
:target: /images/pyconpl2014-workshop1.jpg

.. image:: {filename}/images/pyconpl2014-workshop2.jpg
:alt: PyLadies Poland na PyConPL 2014
:class: img-responsive lightbox
:target: /images/pyconpl2014-workshop2.jpg

Podczas sesji Lightning Talk, na której zebrana była większość uczestników
konferencji, Ania opowiedziała o działaniach PyLadies w Poznaniu, zachęcając
inne miasta do przyłączenia się do inicjatywy.

.. image:: {filename}/images/pyconpl2014-ania.jpg
:alt: Ania o PyLadies Poland na PyConPL 2014
:class: img-responsive lightbox
:target: /images/pyconpl2014-ania.jpg

.. image:: {filename}/images/pyconpl2014-lightningtalk.jpg
:alt: PyLadies Poland na PyConPL 2014
:class: img-responsive lightbox
:target: /images/pyconpl2014-lightningtalk.jpg
2 changes: 2 additions & 0 deletions content/events/pyconpl2015.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ PyLadies Poland było także, jak co roku, partnerem społecznościowym konferen

.. image:: {filename}/images/pyconpl2015-workshop.jpeg
:alt: Warsztat z TDD na PyConPL 2015
:class: img-responsive lightbox
:target: /images/pyconpl2015-workshop.jpeg
2 changes: 2 additions & 0 deletions content/events/pytrening-vol1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ się w ustalony ciąg zajęć.

.. image:: {filename}/images/pytrening-vol1.jpg
:alt: PyTrening z PyLadies
:class: img-responsive lightbox
:target: /images/pytrening-vol1.jpg
2 changes: 2 additions & 0 deletions content/events/webappworkshop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ przy użyciu Flaska. Grupa spotykała się co tydzień w Projekt Lab w Poznaniu.

.. image:: {filename}/images/webappworkshop.jpg
:alt: Warsztat z tworzenia aplikacji webowych w Projekt Lab, Poznań
:class: img-responsive lightbox
:target: /images/webappworkshop.jpg
Empty file modified content/images/polyconfworkshop.jpg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified deploy.sh
100755 → 100644
Empty file.
Empty file modified develop_server.sh
100755 → 100644
Empty file.
1 change: 1 addition & 0 deletions themes/pyladiestheme/static/assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/*===================================================================================*/
$(document).ready(function() {
$('.lightbox').magnificPopup({type:'image'});
$('.image-reference').magnificPopup({type:'image'});
});

/*===================================================================================*/
Expand Down
5 changes: 3 additions & 2 deletions themes/pyladiestheme/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ <h2 class="title">{{ article.title }}</h2>
</div>
<div class="col-sm-12">
<div class="col-sm-3">
<img src="/images/{{ article.img_name }}"
<img href="/images/{{ article.img_name }}"
src="/images/{{ article.img_name }}"
alt="{{ article.title }}"
class="img-responsive">
class="img-responsive lightbox">
</div>
<div class="col-sm-9 content">
{{ article.content }}
Expand Down