From 5f74c473cef4564ad2040d9211f70b4f0ac048f1 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 14 Apr 2016 20:36:00 -0700 Subject: Switch to iframe --- util/tmpl/defs.html | 22 ++++++++++++++++------ util/tmpl/term.html | 12 +++++++++--- 2 files changed, 25 insertions(+), 9 deletions(-) (limited to 'util/tmpl') diff --git a/util/tmpl/defs.html b/util/tmpl/defs.html index 2fcc4ea9..ebbb7f82 100644 --- a/util/tmpl/defs.html +++ b/util/tmpl/defs.html @@ -1,6 +1,16 @@ -{{#each defs}} -
- {{> term.html}} - {{#unless @last}}
{{/unless}} -
-{{/each}} + + + + + + + + + {{#each defs}} +
+ {{> term.html}} + {{#unless @last}}
{{/unless}} +
+ {{/each}} + + diff --git a/util/tmpl/term.html b/util/tmpl/term.html index 56854499..bd414f26 100644 --- a/util/tmpl/term.html +++ b/util/tmpl/term.html @@ -1,10 +1,16 @@ {{#if reading}} -
{{expression}}{{reading}}
+
{{expression}}{{reading}}
{{else}} -
{{expression}}
+
{{expression}}
{{/if}} -
+
+ {{#if rules}} + {{rules}} + {{/if}} +
+ +
    {{#each glossary}}
  1. {{.}}
  2. -- cgit v1.2.3