aboutsummaryrefslogtreecommitdiff
path: root/src/server/authentication/models/current_user_utils.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-02-28 14:59:31 -0500
committerbob <bcz@cs.brown.edu>2020-02-28 14:59:31 -0500
commitfc945bcf674efe62aad67be8c1f337cd9b8c83e2 (patch)
tree002697726b96ffee0d75523081283f9bfda300a1 /src/server/authentication/models/current_user_utils.ts
parentfd0fc1a7f3e1ae41503bc0b5d2f0eda0371f9a4a (diff)
fixed stacking view input color. made doc decs more size aware. fixed default note templates to be templates.
Diffstat (limited to 'src/server/authentication/models/current_user_utils.ts')
-rw-r--r--src/server/authentication/models/current_user_utils.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/authentication/models/current_user_utils.ts b/src/server/authentication/models/current_user_utils.ts
index ea19d9da8..658b9b715 100644
--- a/src/server/authentication/models/current_user_utils.ts
+++ b/src/server/authentication/models/current_user_utils.ts
@@ -42,11 +42,11 @@ export class CurrentUserUtils {
Docs.Create.TextDocument("completed", { title: "completed", _backgroundColor: "green", color: "white" })
];
const noteTemplates = [
- Docs.Create.TextDocument("", { title: "Note", backgroundColor: "yellow" }),
- Docs.Create.TextDocument("", { title: "Idea", backgroundColor: "pink" }),
- Docs.Create.TextDocument("", { title: "Topic", backgroundColor: "lightBlue" }),
- Docs.Create.TextDocument("", { title: "Person", backgroundColor: "lightGreen" }),
- Docs.Create.TextDocument("", { title: "Todo", backgroundColor: "orange", _autoHeight: false, _height: 100, _showCaption: "caption" })
+ Docs.Create.TextDocument("", { title: "Note", isTemplateDoc: true, backgroundColor: "yellow" }),
+ Docs.Create.TextDocument("", { title: "Idea", isTemplateDoc: true, backgroundColor: "pink" }),
+ Docs.Create.TextDocument("", { title: "Topic", isTemplateDoc: true, backgroundColor: "lightBlue" }),
+ Docs.Create.TextDocument("", { title: "Person", isTemplateDoc: true, backgroundColor: "lightGreen" }),
+ Docs.Create.TextDocument("", { title: "Todo", isTemplateDoc: true, backgroundColor: "orange", _autoHeight: false, _height: 100, _showCaption: "caption" })
];
doc.fieldTypes = Docs.Create.TreeDocument([], { title: "field enumerations" });
Doc.enumeratedTextTemplate(Doc.GetProto(noteTemplates[4]), FormattedTextBox.LayoutString("Todo"), "taskStatus", taskStatusValues);