diff --git a/pythonkr_backend/pythonkr/static/pao/01-Main-pao.png b/pythonkr_backend/pythonkr/static/pao/01-Main-pao.png new file mode 100644 index 0000000..66a213d Binary files /dev/null and b/pythonkr_backend/pythonkr/static/pao/01-Main-pao.png differ diff --git a/pythonkr_backend/pythonkr/static/pao/01-Main2.png b/pythonkr_backend/pythonkr/static/pao/01-Main2.png new file mode 100644 index 0000000..7d7a647 Binary files /dev/null and b/pythonkr_backend/pythonkr/static/pao/01-Main2.png differ diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_base.html b/pythonkr_backend/pythonkr/templates/pao/pao_base.html new file mode 100644 index 0000000..84a0e8d --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_base.html @@ -0,0 +1,76 @@ +{% load static %} +{% load wagtailcore_tags %} +{% load wagtailimages_tags %} +{% wagtail_site as current_site %} + + + + + + {% block title %}Python Asia{% endblock title %} + + + + + + + + + + +
+ {% block content %}{% endblock content %} +
+ + + + + \ No newline at end of file diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_communites.html b/pythonkr_backend/pythonkr/templates/pao/pao_communites.html new file mode 100644 index 0000000..78aa4d2 --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_communites.html @@ -0,0 +1,22 @@ +{% extends 'pao/pao_base.html' %} +{% load wagtailcore_tags %} + +{% block title %}Home - Python Asia - {{ page.title }}{% endblock %} + +{% block content %} +
+

{{ page.title }} of Python Asia

+ {% for community in page.get_children.live %} + +
+
{{ community.title }}
+ {{ community.country }} +
+

{{ community.content | richtext }}

+ details +
+ {% empty %} + Sorry there is no {{ page.title }} + {% endfor %} +
+{% endblock %} \ No newline at end of file diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_event.html b/pythonkr_backend/pythonkr/templates/pao/pao_event.html new file mode 100644 index 0000000..65a1eb6 --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_event.html @@ -0,0 +1,10 @@ +{% extends 'pao/pao_base.html' %} +{% load wagtailcore_tags %} + +{% block title %}Home - Python Asia - {{ page.title }}{% endblock %} + +{% block content %} + {{ page.title }} + {{ page.event_date }} + {{ page.content|richtext }} +{% endblock %} \ No newline at end of file diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_events.html b/pythonkr_backend/pythonkr/templates/pao/pao_events.html new file mode 100644 index 0000000..398b0fa --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_events.html @@ -0,0 +1,23 @@ +{% extends 'pao/pao_base.html' %} +{% load wagtailcore_tags %} + +{% block title %}Home - Python Asia - {{ page.title }}{% endblock %} + +{% block content %} +
+

Python Asia Events

+
+ {% for event in page.get_children.live %} + +
+
{{ event.title }}
+ {{ event.event_date }} +
+

{{ event.content | richtext }}

+ details +
+ {% empty %} + Sorry there is no Events + {% endfor %} +
+{% endblock %} \ No newline at end of file diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_home copy.html b/pythonkr_backend/pythonkr/templates/pao/pao_home copy.html new file mode 100644 index 0000000..49c0af0 --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_home copy.html @@ -0,0 +1,8 @@ +{% extends 'pao/pao_base.html' %} +{% load wagtailcore_tags %} + +{% block title %}Home - Python Asia - {{ page.title }}{% endblock %} + +{% block content %} + {{ page.body|richtext }} +{% endblock %} \ No newline at end of file diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_home.html b/pythonkr_backend/pythonkr/templates/pao/pao_home.html new file mode 100644 index 0000000..49c0af0 --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_home.html @@ -0,0 +1,8 @@ +{% extends 'pao/pao_base.html' %} +{% load wagtailcore_tags %} + +{% block title %}Home - Python Asia - {{ page.title }}{% endblock %} + +{% block content %} + {{ page.body|richtext }} +{% endblock %} \ No newline at end of file diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_markdown_doc.html b/pythonkr_backend/pythonkr/templates/pao/pao_markdown_doc.html new file mode 100644 index 0000000..aef31f9 --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_markdown_doc.html @@ -0,0 +1,8 @@ +{% extends 'pao/pao_base.html' %} +{% load wagtailcore_tags %} + +{% block title %}Home - Python Asia - {{ page.title }}{% endblock %} + +{% block content %} + {{ page.content|richtext }} +{% endblock %} \ No newline at end of file diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_page.html b/pythonkr_backend/pythonkr/templates/pao/pao_page.html new file mode 100644 index 0000000..49c0af0 --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_page.html @@ -0,0 +1,8 @@ +{% extends 'pao/pao_base.html' %} +{% load wagtailcore_tags %} + +{% block title %}Home - Python Asia - {{ page.title }}{% endblock %} + +{% block content %} + {{ page.body|richtext }} +{% endblock %} \ No newline at end of file diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_people.html b/pythonkr_backend/pythonkr/templates/pao/pao_people.html new file mode 100644 index 0000000..0b17f86 --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_people.html @@ -0,0 +1,21 @@ +{% extends 'pao/pao_base.html' %} +{% load wagtailcore_tags %} + +{% block title %}Home - Python Asia - {{ page.title }}{% endblock %} + +{% block content %} +

People of Python Asia

+ {% for person in page.get_children.live %} + +
+
{{ person.title }}
+ {{ person.country }} +
+

{{ person.content | richtext }}

+ details +
+ {% empty %} + Sorry there is no People + {% endfor %} +
+{% endblock %} \ No newline at end of file diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_person.html b/pythonkr_backend/pythonkr/templates/pao/pao_person.html new file mode 100644 index 0000000..48f78d1 --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_person.html @@ -0,0 +1,11 @@ +{% extends 'pao/pao_base.html' %} +{% load wagtailcore_tags %} + +{% block title %}Home - Python Asia - {{ page.title }}{% endblock %} + +{% block content %} + {{ page.name }} + {{ page.year }} + {{ page.position }} + {{ page.country }} +{% endblock %} \ No newline at end of file diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_sponsor.html b/pythonkr_backend/pythonkr/templates/pao/pao_sponsor.html new file mode 100644 index 0000000..bef6b85 --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_sponsor.html @@ -0,0 +1,15 @@ +{% extends 'pao/pao_base.html' %} +{% load wagtailcore_tags %} +{% load wagtailimages_tags %} + +{% block title %}Home - Python Asia - {{ page.title }}{% endblock title %} + +{% block content %} + {{ page.body|richtext }} + + {{ page.title }} + {% image page.image original %} + {{ page.year }} + {{ page.sponsor_type }} + {{ page.description }} +{% endblock %} \ No newline at end of file diff --git a/pythonkr_backend/pythonkr/templates/pao/pao_sponsors.html b/pythonkr_backend/pythonkr/templates/pao/pao_sponsors.html new file mode 100644 index 0000000..310b5e9 --- /dev/null +++ b/pythonkr_backend/pythonkr/templates/pao/pao_sponsors.html @@ -0,0 +1,23 @@ +{% extends 'pao/pao_base.html' %} +{% load wagtailcore_tags %} +{% load wagtailimages_tags %} + +{% block title %}Home - Python Asia - {{ page.title }}{% endblock %} + +{% block content %} +

Sponsors of Python Asia

+ {% for sponsor in page.get_children.live %} +
+
+
+
+
{{ sponsor.title }}
+ {% image sponsor.image original %} +
+
+
+ {% empty %} + Sorry there is no Sponsors + {% endfor %} +
+{% endblock %} \ No newline at end of file