summaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-10-08 18:47:24 -0700
committerAlex Yatskov <alex@foosoft.net>2016-10-08 18:47:24 -0700
commitda0cb81801ac897fa41761af0b0b18fda9d16195 (patch)
tree992bea48155ab01fee5436be84ab8605634c16c4 /tmpl
parent78fad1da18694d2471c0a68399d69b0fe94e2b2d (diff)
Allow bootstrap in popup templates
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, 10 insertions, 8 deletions
diff --git a/tmpl/footer.html b/tmpl/footer.html
index 3840600f..2cb496c9 100644
--- a/tmpl/footer.html
+++ b/tmpl/footer.html
@@ -1,3 +1,3 @@
- <script src="{{root}}/js/frame.js"></script>
+ <script src="{{root}}/fg/js/frame.js"></script>
</body>
</html>
diff --git a/tmpl/header.html b/tmpl/header.html
index b7fad070..e5ecb06e 100644
--- a/tmpl/header.html
+++ b/tmpl/header.html
@@ -6,13 +6,15 @@
<style>
@font-face {
font-family: kanji-stroke-orders;
- src: url('{{root}}/ttf/kanji-stroke-orders.ttf');
+ src: url('{{root}}/fg/ttf/kanji-stroke-orders.ttf');
}
@font-face {
font-family: vl-gothic-regular;
- src: url('{{root}}/ttf/vl-gothic-regular.ttf');
+ src: url('{{root}}/fg/ttf/vl-gothic-regular.ttf');
}
</style>
- <link rel="stylesheet" href="{{root}}/css/frame.css">
+ <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">
</head>
<body>
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 0a0cfe11..80c642bd 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}}/img/add_kanji.png"></a>
+ <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>
{{/if}}
</div>
{{/with}}
diff --git a/tmpl/term.html b/tmpl/term.html
index aff3e2ff..65278145 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}}/img/play_audio.png"></a>
+ <a href="#" title="Play audio" class="action-play-audio" data-index="{{@index}}"><img src="{{../root}}/fg/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}}/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>
+ <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>
{{/if}}
</div>
{{/with}}