aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/Templates.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-05-02 00:50:08 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-05-02 00:50:08 -0400
commit407c104f0ad0957d71f73c14f5b835fab387ecd2 (patch)
tree3e1cc6337bcf5fd3e1e3ade7d967e4380e961541 /src/client/views/Templates.tsx
parent276a6619eb3d86dabcb3ece26486e87b09708a3b (diff)
fixed up templates a bit. starting on summarization
Diffstat (limited to 'src/client/views/Templates.tsx')
-rw-r--r--src/client/views/Templates.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/Templates.tsx b/src/client/views/Templates.tsx
index 25d89772e..e17dd2354 100644
--- a/src/client/views/Templates.tsx
+++ b/src/client/views/Templates.tsx
@@ -53,6 +53,9 @@ export namespace Templates {
export const Title = new Template("Title", TemplatePosition.InnerTop,
`<div><div style="height:100%; width:100%;position:absolute;">{layout}</div><div style="height:25px; width:100%; position:absolute; top: 0; background-color: rgba(0, 0, 0, .4); color: white; padding:2px 10px">{props.Document.title}</div></div>`
);
+ export const Summary = new Template("Title", TemplatePosition.InnerTop,
+ `<div><div style="height:100%; width:100%;position:absolute;">{layout}</div><div style="height:25px; width:100%; position:absolute; top: 0; background-color: rgba(0, 0, 0, .4); color: white; padding:2px 10px">{props.Document.doc1.title}</div></div>`
+ );
export const TemplateList: Template[] = [Title, OuterCaption, InnerCaption, SideCaption];