src/backend/base.py \
src/backend/blog.py \
src/backend/bugzilla.py \
+ src/backend/cache.py \
src/backend/campaigns.py \
src/backend/countries.py \
src/backend/database.py \
src/backend/httpclient.py \
src/backend/hwdata.py \
src/backend/iuse.py \
- src/backend/memcached.py \
+ src/backend/lists.py \
src/backend/messages.py \
src/backend/mirrors.py \
src/backend/misc.py \
src/backend/releases.py \
src/backend/resolver.py \
src/backend/settings.py \
- src/backend/talk.py \
src/backend/toots.py \
src/backend/util.py \
src/backend/wiki.py \
src/web/fireinfo.py \
src/web/handlers.py \
src/web/iuse.py \
+ src/web/lists.py \
src/web/location.py \
src/web/nopaste.py \
- src/web/people.py \
src/web/ui_modules.py \
src/web/users.py \
- src/web/voip.py \
- src/web/wiki.py
+ src/web/voip.py
webdir = $(backenddir)/web
templates_auth_messagesdir = $(templates_authdir)/messages
+templates_auth_modules_DATA = \
+ src/templates/auth/modules/password.html \
+ src/templates/auth/modules/password.js
+
+templates_auth_modulesdir = $(templates_authdir)/modules
+
templates_blog_DATA = \
- src/templates/blog/author.html \
- src/templates/blog/base.html \
- src/templates/blog/compose.html \
src/templates/blog/delete.html \
src/templates/blog/drafts.html \
src/templates/blog/feed.xml \
src/templates/blog/index.html \
src/templates/blog/post.html \
src/templates/blog/publish.html \
- src/templates/blog/search-results.html \
src/templates/blog/tag.html \
+ src/templates/blog/write.html \
src/templates/blog/year.html
templates_blogdir = $(templatesdir)/blog
templates_blog_modules_DATA = \
src/templates/blog/modules/history-navigation.html \
- src/templates/blog/modules/list.html \
- src/templates/blog/modules/post.html
+ src/templates/blog/modules/list.html
templates_blog_modulesdir = $(templates_blogdir)/modules
templates_donate_messagesdir = $(templates_donatedir)/messages
templates_docs_DATA = \
+ src/templates/docs/404.html \
src/templates/docs/base.html \
- src/templates/docs/page.html
+ src/templates/docs/confirm-delete.html \
+ src/templates/docs/confirm-restore.html \
+ src/templates/docs/diff.html \
+ src/templates/docs/edit.html \
+ src/templates/docs/page.html \
+ src/templates/docs/recent-changes.html \
+ src/templates/docs/revisions.html \
+ src/templates/docs/search-results.html \
+ src/templates/docs/tree.html \
+ src/templates/docs/watchlist.html
templates_docsdir = $(templatesdir)/docs
+templates_docs_files_DATA = \
+ src/templates/docs/files/detail.html \
+ src/templates/docs/files/index.html
+
+templates_docs_filesdir = $(templates_docsdir)/files
+
templates_docs_modules_DATA = \
- src/templates/docs/modules/header.html
+ src/templates/docs/modules/diff.html \
+ src/templates/docs/modules/header.html \
+ src/templates/docs/modules/list.html
templates_docs_modulesdir = $(templates_docsdir)/modules
templates_downloads_DATA = \
+ src/templates/downloads/cloud.html \
src/templates/downloads/mirrors.html \
src/templates/downloads/release.html \
src/templates/downloads/thank-you.html
templates_location_DATA = \
src/templates/location/base.html \
- src/templates/location/blacklists.html \
src/templates/location/download.html \
src/templates/location/how-to-use.html \
src/templates/location/index.html \
templates_locationdir = $(templatesdir)/location
+templates_lists_DATA = \
+ src/templates/lists/index.html
+
+templates_listsdir = $(templatesdir)/lists
+
templates_messages_DATA = \
src/templates/messages/base.html \
src/templates/messages/base-promo.html \
+ src/templates/messages/fonts.css \
src/templates/messages/main.css
templates_messagesdir = $(templatesdir)/messages
templates_modules_DATA = \
- src/templates/modules/christmas-banner.html \
+ src/templates/modules/ipfire-logo.html \
src/templates/modules/map.html \
src/templates/modules/progress-bar.html
templates_nopaste_modulesdir = $(templates_nopastedir)/modules
-templates_people_DATA = \
- src/templates/people/conferences.html \
- src/templates/people/index.html \
- src/templates/people/sip.html \
- src/templates/people/subscribed.html \
- src/templates/people/unsubscribe.html \
- src/templates/people/unsubscribed.html
-
-templates_peopledir = $(templatesdir)/people
-
templates_people_messages_DATA = \
src/templates/people/messages/new-account.txt
templates_people_messagesdir = $(templates_peopledir)/messages
-templates_people_modules_DATA = \
- src/templates/people/modules/channels.html \
- src/templates/people/modules/password.html \
- src/templates/people/modules/password.js \
- src/templates/people/modules/registrations.html
-
-templates_people_modulesdir = $(templates_peopledir)/modules
-
templates_static_DATA = \
src/templates/static/about.html \
src/templates/static/legal.html \
- src/templates/static/help.html
+ src/templates/static/help.html \
+ src/templates/static/sitemap.html
templates_staticdir = $(templatesdir)/static
src/templates/users/edit.html \
src/templates/users/index.html \
src/templates/users/passwd.html \
- src/templates/users/show.html
+ src/templates/users/show.html \
+ src/templates/users/subscribe.html \
+ src/templates/users/subscribed.html \
+ src/templates/users/unsubscribe.html \
+ src/templates/users/unsubscribed.html
templates_usersdir = $(templatesdir)/users
templates_voipdir = $(templatesdir)/voip
templates_voip_modules_DATA = \
+ src/templates/voip/modules/conferences.html \
src/templates/voip/modules/outbound-registrations.html \
src/templates/voip/modules/queues.html \
src/templates/voip/modules/registrations.html
templates_voip_modulesdir = $(templates_voipdir)/modules
-templates_wiki_DATA = \
- src/templates/wiki/404.html \
- src/templates/wiki/confirm-delete.html \
- src/templates/wiki/confirm-restore.html \
- src/templates/wiki/diff.html \
- src/templates/wiki/edit.html \
- src/templates/wiki/recent-changes.html \
- src/templates/wiki/revisions.html \
- src/templates/wiki/search-results.html \
- src/templates/wiki/tree.html \
- src/templates/wiki/watchlist.html
-
templates_wikidir = $(templatesdir)/wiki
-templates_wiki_files_DATA = \
- src/templates/wiki/files/detail.html \
- src/templates/wiki/files/index.html
-
-templates_wiki_filesdir = $(templates_wikidir)/files
-
templates_wiki_messages_DATA = \
src/templates/wiki/messages/page-changed.txt
templates_wiki_messagesdir = $(templates_wikidir)/messages
-templates_wiki_modules_DATA = \
- src/templates/wiki/modules/diff.html \
- src/templates/wiki/modules/list.html
-
-templates_wiki_modulesdir = $(templates_wikidir)/modules
-
# ------------------------------------------------------------------------------
SASS_FILES = \
EXTRA_DIST += \
src/sass/listing.sass \
+ src/templates/messages/fonts.sass \
src/templates/messages/main.sass
CLEANFILES += \
+ src/templates/messages/fonts.css \
src/templates/messages/main.css
static_DATA = \
static_imgdir = $(staticdir)/img
+# From https://www.pexels.com/photo/123-let-s-go-imaginary-text-704767/
+
+dist_static_img_auth_DATA = \
+ src/static/img/auth/register.jpg
+
+static_img_auth_DATA = \
+ src/static/img/auth/register@600.jpg
+
+CLEANFILES += \
+ src/static/img/auth/register@600.jpg
+
+static_img_authdir = $(static_imgdir)/auth
+
+static_img_downloadsdir = $(static_imgdir)/downloads
+
+dist_static_img_downloads_cloud_DATA = \
+ src/static/img/downloads/cloud/aws.svg \
+ src/static/img/downloads/cloud/exoscale.svg \
+ src/static/img/downloads/cloud/hetzner.svg
+
+static_img_downloads_clouddir = $(static_img_downloadsdir)/cloud
+
static_images_tux_DATA = \
src/static/img/tux/ipfire_tux_16x16.png \
src/static/img/tux/ipfire_tux_20x20.png \
-extent $(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@)x$(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@) \
$< $@
+# Resizes images for being used in messages which are 600px wide
+%@600.jpg: %.jpg
+ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
+ $(CONVERT) -units PixelsPerInch $< -resize 600x -strip -quality 85 $@
+
# Video Stuff
FFMPEG += \