From 15ebc06fb3e0d0d3ceeb57281767a99e0f3389a2 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 7 Jan 2017 12:21:47 -0800 Subject: WIP --- tmpl/footer.html | 3 --- tmpl/header.html | 22 ---------------------- tmpl/kanji-list.html | 4 +--- tmpl/kanji.html | 4 ++-- tmpl/term-list.html | 4 +--- tmpl/term.html | 10 +++++----- 6 files changed, 9 insertions(+), 38 deletions(-) delete mode 100644 tmpl/footer.html delete mode 100644 tmpl/header.html (limited to 'tmpl') diff --git a/tmpl/footer.html b/tmpl/footer.html deleted file mode 100644 index 3840600f..00000000 --- a/tmpl/footer.html +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/tmpl/header.html b/tmpl/header.html deleted file mode 100644 index 476c3403..00000000 --- a/tmpl/header.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - -
- -
diff --git a/tmpl/kanji-list.html b/tmpl/kanji-list.html index af38d485..0ee81463 100644 --- a/tmpl/kanji-list.html +++ b/tmpl/kanji-list.html @@ -1,9 +1,7 @@ -{{> header.html}} {{#if definitions}} {{#each definitions}} - {{> kanji.html addable=../addable root=../root options=../options sequence=../sequence}} + {{> kanji.html addable=../addable root=../root}} {{/each}} {{else}}

No results found

{{/if}} -{{> footer.html}} diff --git a/tmpl/kanji.html b/tmpl/kanji.html index 1dc19983..a3f37cbf 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -1,7 +1,7 @@
-
+
{{#if addable}} - + {{/if}}
diff --git a/tmpl/term-list.html b/tmpl/term-list.html index 2088ac71..b4c9d997 100644 --- a/tmpl/term-list.html +++ b/tmpl/term-list.html @@ -1,9 +1,7 @@ -{{> header.html}} {{#if definitions}} {{#each definitions}} - {{> term.html addable=../addable root=../root options=../options sequence=../sequence}} + {{> term.html addable=../addable playback=../playback}} {{/each}} {{else}}

No results found

{{/if}} -{{> footer.html}} diff --git a/tmpl/term.html b/tmpl/term.html index e931e5cf..b4d72d4b 100644 --- a/tmpl/term.html +++ b/tmpl/term.html @@ -1,11 +1,11 @@
-
+
{{#if addable}} - - + + {{/if}} - {{#if options.enableAudioPlayback}} - + {{#if playback}} + {{/if}}
-- cgit v1.2.3