From 73314214bb8582189894104b168d503e1c583301 Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Tue, 19 Mar 2019 05:16:57 -0400 Subject: document templates --- src/client/documents/Documents.ts | 41 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) (limited to 'src/client') diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index fabdaad17..4ed1fc3ed 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -221,16 +221,51 @@ export namespace Documents { ` ` }; - function Caption() { + function OuterCaption() { return (`
-
+
{layout}
-
+
`) } + function InnerCaption() { + return (` +
+
+ {layout} +
+
+ +
+
+ `) + } + + /* + + this template requires an additional style setting on the collectionView-cont to make the layout relative + +.collectionView-cont { + position: relative; + width: 100%; + height: 100%; +} + */ + function Percentaption() { + return (` +
+
+ {layout} +
+
+ +
+
+ `) + } } \ No newline at end of file -- cgit v1.2.3-70-g09d2