summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorrr- <rr-@sakuya.pl>2016-05-18 00:15:28 +0200
committerrr- <rr-@sakuya.pl>2016-05-18 00:15:28 +0200
commit50404d5f5ec8bf676cfbe1a3268e3bcd2a36e5f6 (patch)
treed93fc4a7dbb59b4a003e4cd3a58943a998453d99 /client
parent407848706af00e2b9fa65d5acef552a7bf5e82fb (diff)
client/general: change templates extension
...from .Handlebars' (which the project no longer uses) .hbs, to a more generic .tpl. Additionally, replace hyphens with underscores for consistency.
Diffstat (limited to 'client')
-rw-r--r--client/build.js4
-rw-r--r--client/html/endless_pager.tpl (renamed from client/html/endless_pager.hbs)0
-rw-r--r--client/html/endless_pager_page.tpl (renamed from client/html/endless_pager_page.hbs)0
-rw-r--r--client/html/file_dropper.tpl (renamed from client/html/file-dropper.hbs)0
-rw-r--r--client/html/help.tpl (renamed from client/html/help.hbs)0
-rw-r--r--client/html/help_about.tpl (renamed from client/html/help-about.hbs)0
-rw-r--r--client/html/help_comments.tpl (renamed from client/html/help-comments.hbs)0
-rw-r--r--client/html/help_keyboard.tpl (renamed from client/html/help-keyboard.hbs)0
-rw-r--r--client/html/help_search.tpl (renamed from client/html/help-search.hbs)0
-rw-r--r--client/html/help_search_general.tpl (renamed from client/html/help-search-general.hbs)0
-rw-r--r--client/html/help_search_posts.tpl (renamed from client/html/help-search-posts.hbs)0
-rw-r--r--client/html/help_search_tags.tpl (renamed from client/html/help-search-tags.hbs)0
-rw-r--r--client/html/help_search_users.tpl (renamed from client/html/help-search-users.hbs)0
-rw-r--r--client/html/help_tos.tpl (renamed from client/html/help-tos.hbs)0
-rw-r--r--client/html/home.tpl (renamed from client/html/home.hbs)0
-rw-r--r--client/html/login.tpl (renamed from client/html/login.hbs)0
-rw-r--r--client/html/manual_pager.tpl (renamed from client/html/manual_pager.hbs)0
-rw-r--r--client/html/manual_pager_nav.tpl (renamed from client/html/manual_pager_nav.hbs)0
-rw-r--r--client/html/password_reset.tpl (renamed from client/html/password_reset.hbs)0
-rw-r--r--client/html/settings.tpl (renamed from client/html/settings.hbs)0
-rw-r--r--client/html/tag.tpl (renamed from client/html/tag.hbs)0
-rw-r--r--client/html/tag_categories.tpl (renamed from client/html/tag_categories.hbs)0
-rw-r--r--client/html/tag_delete.tpl (renamed from client/html/tag_delete.hbs)0
-rw-r--r--client/html/tag_merge.tpl (renamed from client/html/tag_merge.hbs)0
-rw-r--r--client/html/tag_summary.tpl (renamed from client/html/tag_summary.hbs)0
-rw-r--r--client/html/tags_header.tpl (renamed from client/html/tags_header.hbs)0
-rw-r--r--client/html/tags_page.tpl (renamed from client/html/tags_page.hbs)0
-rw-r--r--client/html/top_nav.tpl (renamed from client/html/top_nav.hbs)0
-rw-r--r--client/html/user.tpl (renamed from client/html/user.hbs)0
-rw-r--r--client/html/user_delete.tpl (renamed from client/html/user_delete.hbs)0
-rw-r--r--client/html/user_edit.tpl (renamed from client/html/user_edit.hbs)0
-rw-r--r--client/html/user_registration.tpl (renamed from client/html/user_registration.hbs)0
-rw-r--r--client/html/user_summary.tpl (renamed from client/html/user_summary.hbs)0
-rw-r--r--client/html/users_header.tpl (renamed from client/html/users_header.hbs)0
-rw-r--r--client/html/users_page.tpl (renamed from client/html/users_page.hbs)0
35 files changed, 2 insertions, 2 deletions
diff --git a/client/build.js b/client/build.js
index 0581c3a..9b19337 100644
--- a/client/build.js
+++ b/client/build.js
@@ -63,10 +63,10 @@ function bundleHtml(config) {
collapseWhitespace: true,
conservativeCollapse: true,
};
- glob('./html/**/*.hbs', {}, (er, files) => {
+ glob('./html/**/*.tpl', {}, (er, files) => {
let templates = {};
for (const file of files) {
- const name = path.basename(file, '.hbs').replace(/_/g, '-');
+ const name = path.basename(file, '.tpl').replace(/_/g, '-');
templates[name] = minify(
fs.readFileSync(file, 'utf-8'), minifyOptions);
}
diff --git a/client/html/endless_pager.hbs b/client/html/endless_pager.tpl
index 6870f9a..6870f9a 100644
--- a/client/html/endless_pager.hbs
+++ b/client/html/endless_pager.tpl
diff --git a/client/html/endless_pager_page.hbs b/client/html/endless_pager_page.tpl
index 91ba137..91ba137 100644
--- a/client/html/endless_pager_page.hbs
+++ b/client/html/endless_pager_page.tpl
diff --git a/client/html/file-dropper.hbs b/client/html/file_dropper.tpl
index bd0c977..bd0c977 100644
--- a/client/html/file-dropper.hbs
+++ b/client/html/file_dropper.tpl
diff --git a/client/html/help.hbs b/client/html/help.tpl
index c187a29..c187a29 100644
--- a/client/html/help.hbs
+++ b/client/html/help.tpl
diff --git a/client/html/help-about.hbs b/client/html/help_about.tpl
index 1a1c377..1a1c377 100644
--- a/client/html/help-about.hbs
+++ b/client/html/help_about.tpl
diff --git a/client/html/help-comments.hbs b/client/html/help_comments.tpl
index a1a7b3d..a1a7b3d 100644
--- a/client/html/help-comments.hbs
+++ b/client/html/help_comments.tpl
diff --git a/client/html/help-keyboard.hbs b/client/html/help_keyboard.tpl
index 5b12324..5b12324 100644
--- a/client/html/help-keyboard.hbs
+++ b/client/html/help_keyboard.tpl
diff --git a/client/html/help-search.hbs b/client/html/help_search.tpl
index 8771e6b..8771e6b 100644
--- a/client/html/help-search.hbs
+++ b/client/html/help_search.tpl
diff --git a/client/html/help-search-general.hbs b/client/html/help_search_general.tpl
index c473f9e..c473f9e 100644
--- a/client/html/help-search-general.hbs
+++ b/client/html/help_search_general.tpl
diff --git a/client/html/help-search-posts.hbs b/client/html/help_search_posts.tpl
index 78bfb5f..78bfb5f 100644
--- a/client/html/help-search-posts.hbs
+++ b/client/html/help_search_posts.tpl
diff --git a/client/html/help-search-tags.hbs b/client/html/help_search_tags.tpl
index 3869734..3869734 100644
--- a/client/html/help-search-tags.hbs
+++ b/client/html/help_search_tags.tpl
diff --git a/client/html/help-search-users.hbs b/client/html/help_search_users.tpl
index e81458a..e81458a 100644
--- a/client/html/help-search-users.hbs
+++ b/client/html/help_search_users.tpl
diff --git a/client/html/help-tos.hbs b/client/html/help_tos.tpl
index 077ce2f..077ce2f 100644
--- a/client/html/help-tos.hbs
+++ b/client/html/help_tos.tpl
diff --git a/client/html/home.hbs b/client/html/home.tpl
index bf0c066..bf0c066 100644
--- a/client/html/home.hbs
+++ b/client/html/home.tpl
diff --git a/client/html/login.hbs b/client/html/login.tpl
index 3bd56a6..3bd56a6 100644
--- a/client/html/login.hbs
+++ b/client/html/login.tpl
diff --git a/client/html/manual_pager.hbs b/client/html/manual_pager.tpl
index 68aadf3..68aadf3 100644
--- a/client/html/manual_pager.hbs
+++ b/client/html/manual_pager.tpl
diff --git a/client/html/manual_pager_nav.hbs b/client/html/manual_pager_nav.tpl
index 6090bed..6090bed 100644
--- a/client/html/manual_pager_nav.hbs
+++ b/client/html/manual_pager_nav.tpl
diff --git a/client/html/password_reset.hbs b/client/html/password_reset.tpl
index 5d567a1..5d567a1 100644
--- a/client/html/password_reset.hbs
+++ b/client/html/password_reset.tpl
diff --git a/client/html/settings.hbs b/client/html/settings.tpl
index 8e540c6..8e540c6 100644
--- a/client/html/settings.hbs
+++ b/client/html/settings.tpl
diff --git a/client/html/tag.hbs b/client/html/tag.tpl
index b97f4e2..b97f4e2 100644
--- a/client/html/tag.hbs
+++ b/client/html/tag.tpl
diff --git a/client/html/tag_categories.hbs b/client/html/tag_categories.tpl
index 75a00bf..75a00bf 100644
--- a/client/html/tag_categories.hbs
+++ b/client/html/tag_categories.tpl
diff --git a/client/html/tag_delete.hbs b/client/html/tag_delete.tpl
index c809da7..c809da7 100644
--- a/client/html/tag_delete.hbs
+++ b/client/html/tag_delete.tpl
diff --git a/client/html/tag_merge.hbs b/client/html/tag_merge.tpl
index 222b649..222b649 100644
--- a/client/html/tag_merge.hbs
+++ b/client/html/tag_merge.tpl
diff --git a/client/html/tag_summary.hbs b/client/html/tag_summary.tpl
index edff06f..edff06f 100644
--- a/client/html/tag_summary.hbs
+++ b/client/html/tag_summary.tpl
diff --git a/client/html/tags_header.hbs b/client/html/tags_header.tpl
index 76c3497..76c3497 100644
--- a/client/html/tags_header.hbs
+++ b/client/html/tags_header.tpl
diff --git a/client/html/tags_page.hbs b/client/html/tags_page.tpl
index 7baee7c..7baee7c 100644
--- a/client/html/tags_page.hbs
+++ b/client/html/tags_page.tpl
diff --git a/client/html/top_nav.hbs b/client/html/top_nav.tpl
index 24084b3..24084b3 100644
--- a/client/html/top_nav.hbs
+++ b/client/html/top_nav.tpl
diff --git a/client/html/user.hbs b/client/html/user.tpl
index 3adc2ce..3adc2ce 100644
--- a/client/html/user.hbs
+++ b/client/html/user.tpl
diff --git a/client/html/user_delete.hbs b/client/html/user_delete.tpl
index 6af74a2..6af74a2 100644
--- a/client/html/user_delete.hbs
+++ b/client/html/user_delete.tpl
diff --git a/client/html/user_edit.hbs b/client/html/user_edit.tpl
index aa3f964..aa3f964 100644
--- a/client/html/user_edit.hbs
+++ b/client/html/user_edit.tpl
diff --git a/client/html/user_registration.hbs b/client/html/user_registration.tpl
index 6b2666e..6b2666e 100644
--- a/client/html/user_registration.hbs
+++ b/client/html/user_registration.tpl
diff --git a/client/html/user_summary.hbs b/client/html/user_summary.tpl
index 1980b95..1980b95 100644
--- a/client/html/user_summary.hbs
+++ b/client/html/user_summary.tpl
diff --git a/client/html/users_header.hbs b/client/html/users_header.tpl
index 715d828..715d828 100644
--- a/client/html/users_header.hbs
+++ b/client/html/users_header.tpl
diff --git a/client/html/users_page.hbs b/client/html/users_page.tpl
index 0c9620e..0c9620e 100644
--- a/client/html/users_page.hbs
+++ b/client/html/users_page.tpl