From 9a400f6fbaaee63b0d5dd934eea92402fc001d41 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Wed, 14 Jan 2015 10:44:59 -0800 Subject: [PATCH] [About] Add About bundle Add bundle platform/commonUI/about, and initial templates for the About dialog. WTD-667. --- bundles.json | 1 + platform/commonUI/about/README.md | 2 ++ platform/commonUI/about/bundle.json | 17 +++++++++++++++++ platform/commonUI/about/res/about-logo.html | 2 ++ platform/commonUI/about/res/app-logo.html | 1 + .../general/res/templates/bottombar.html | 2 +- 6 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 platform/commonUI/about/README.md create mode 100644 platform/commonUI/about/bundle.json create mode 100644 platform/commonUI/about/res/about-logo.html create mode 100644 platform/commonUI/about/res/app-logo.html diff --git a/bundles.json b/bundles.json index c0dbd4b974..6b0608cdff 100644 --- a/bundles.json +++ b/bundles.json @@ -2,6 +2,7 @@ "platform/framework", "platform/core", "platform/representation", + "platform/commonUI/about", "platform/commonUI/browse", "platform/commonUI/edit", "platform/commonUI/dialog", diff --git a/platform/commonUI/about/README.md b/platform/commonUI/about/README.md new file mode 100644 index 0000000000..da28ed68a7 --- /dev/null +++ b/platform/commonUI/about/README.md @@ -0,0 +1,2 @@ +The "about" bundle provides the default lower-right application logo, +as well as the dialog it launches when clicked. \ No newline at end of file diff --git a/platform/commonUI/about/bundle.json b/platform/commonUI/about/bundle.json new file mode 100644 index 0000000000..364df7e06d --- /dev/null +++ b/platform/commonUI/about/bundle.json @@ -0,0 +1,17 @@ +{ + "name": "About Open MCT Web", + "extensions": { + "templates": [ + { + "key": "app-logo", + "priority": "optional", + "templateUrl": "app-logo.html" + }, + { + "key": "about-logo", + "priority": "preferred", + "templateUrl": "about-logo.html" + } + ] + } +} \ No newline at end of file diff --git a/platform/commonUI/about/res/about-logo.html b/platform/commonUI/about/res/about-logo.html new file mode 100644 index 0000000000..323fc517fb --- /dev/null +++ b/platform/commonUI/about/res/about-logo.html @@ -0,0 +1,2 @@ + + diff --git a/platform/commonUI/about/res/app-logo.html b/platform/commonUI/about/res/app-logo.html new file mode 100644 index 0000000000..8b3cefb5c0 --- /dev/null +++ b/platform/commonUI/about/res/app-logo.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/platform/commonUI/general/res/templates/bottombar.html b/platform/commonUI/general/res/templates/bottombar.html index 1036fbc336..e7c326d992 100644 --- a/platform/commonUI/general/res/templates/bottombar.html +++ b/platform/commonUI/general/res/templates/bottombar.html @@ -5,5 +5,5 @@ key="indicator.template"> - + \ No newline at end of file