aboutsummaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-10-08 19:40:19 -0700
committerAlex Yatskov <alex@foosoft.net>2016-10-08 19:40:19 -0700
commitf34b51252245b1834e0cd049859782145156e09b (patch)
treeba1ed80e1fd22c0419a4efab7abe44961553b314 /tmpl
parentda0cb81801ac897fa41761af0b0b18fda9d16195 (diff)
Revert "Allow bootstrap in popup templates"
This reverts commit da0cb81801ac897fa41761af0b0b18fda9d16195.
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/footer.html2
-rw-r--r--tmpl/header.html8
-rw-r--r--tmpl/kanji.html2
-rw-r--r--tmpl/term.html6
4 files changed, 8 insertions, 10 deletions
diff --git a/tmpl/footer.html b/tmpl/footer.html
index 2cb496c9..3840600f 100644
--- a/tmpl/footer.html
+++ b/tmpl/footer.html
@@ -1,3 +1,3 @@
- <script src="{{root}}/fg/js/frame.js"></script>
+ <script src="{{root}}/js/frame.js"></script>
</body>
</html>
diff --git a/tmpl/header.html b/tmpl/header.html
index e5ecb06e..b7fad070 100644
--- a/tmpl/header.html
+++ b/tmpl/header.html
@@ -6,15 +6,13 @@
<style>
@font-face {
font-family: kanji-stroke-orders;
- src: url('{{root}}/fg/ttf/kanji-stroke-orders.ttf');
+ src: url('{{root}}/ttf/kanji-stroke-orders.ttf');
}
@font-face {
font-family: vl-gothic-regular;
- src: url('{{root}}/fg/ttf/vl-gothic-regular.ttf');
+ src: url('{{root}}/ttf/vl-gothic-regular.ttf');
}
</style>
- <link rel="stylesheet" type="text/css" href="{{root}}/lib/bootstrap-3.3.6-dist/css/bootstrap.min.css">
- <link rel="stylesheet" type="text/css" href="{{root}}/lib/bootstrap-3.3.6-dist/css/bootstrap-theme.min.css">
- <link rel="stylesheet" href="{{root}}/fg/css/frame.css">
+ <link rel="stylesheet" href="{{root}}/css/frame.css">
</head>
<body>
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 80c642bd..0a0cfe11 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -2,7 +2,7 @@
{{#with options}}
<div class="action-bar" data-sequence="{{../sequence}}">
{{#if enableAnkiConnect}}
- <a href="#" title="Add Kanji" class="action-add-note disabled" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/fg/img/add_kanji.png"></a>
+ <a href="#" title="Add Kanji" class="action-add-note disabled" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/img/add_kanji.png"></a>
{{/if}}
</div>
{{/with}}
diff --git a/tmpl/term.html b/tmpl/term.html
index 65278145..aff3e2ff 100644
--- a/tmpl/term.html
+++ b/tmpl/term.html
@@ -2,11 +2,11 @@
{{#with options}}
<div class="action-bar" data-sequence="{{../sequence}}">
{{#if enableAudioPlayback}}
- <a href="#" title="Play audio" class="action-play-audio" data-index="{{@index}}"><img src="{{../root}}/fg/img/play_audio.png"></a>
+ <a href="#" title="Play audio" class="action-play-audio" data-index="{{@index}}"><img src="{{../root}}/img/play_audio.png"></a>
{{/if}}
{{#if enableAnkiConnect}}
- <a href="#" title="Add term as expression" class="action-add-note disabled" data-mode="term_kanji" data-index="{{@index}}"><img src="{{../root}}/fg/img/add_term_kanji.png"></a>
- <a href="#" title="Add term as reading" class="action-add-note disabled" data-mode="term_kana" data-index="{{@index}}"><img src="{{../root}}/fg/img/add_term_kana.png"></a>
+ <a href="#" title="Add term as expression" class="action-add-note disabled" data-mode="term_kanji" data-index="{{@index}}"><img src="{{../root}}/img/add_term_kanji.png"></a>
+ <a href="#" title="Add term as reading" class="action-add-note disabled" data-mode="term_kana" data-index="{{@index}}"><img src="{{../root}}/img/add_term_kana.png"></a>
{{/if}}
</div>
{{/with}}