[About] Implement placeholder dialog

Implement a placeholder for the About dialog, including some
minimal version information. WTD-667.
This commit is contained in:
Victor Woeltjen 2015-01-14 12:28:25 -08:00
parent b4a8940fe8
commit c628d88b3e
7 changed files with 41 additions and 2 deletions

View File

@ -11,6 +11,14 @@
"key": "about-logo",
"priority": "preferred",
"templateUrl": "templates/about-logo.html"
},
{
"key": "about-dialog",
"templateUrl": "templates/about-dialog.html"
},
{
"key": "overlay-about",
"templateUrl": "templates/overlay-about.html"
}
],
"controllers": [

View File

@ -0,0 +1,12 @@
<div ng-controller = "AboutController as about">
This is a placeholder for the about dialog.
<a ng-click="about.openLicenses()">Show licenses.</a>
<p ng-repeat = "version in about.versions()">
<span title="{{version.description}}">
<b>{{version.name}}</b>
<i>{{version.value}}</i>
</span>
</p>
</div>

View File

@ -1,4 +1,4 @@
<span ng-controller="LogoController as logo">
<mct-include ng-click="show-about-dialog" key="'app-logo'">
<mct-include ng-click="logo.showAboutDialog()" key="'app-logo'">
</mct-include>
</span>

View File

@ -0,0 +1 @@
Placeholder for open source licenses.

View File

@ -0,0 +1,4 @@
<mct-container key="overlay">
<mct-include key="'about-dialog'">
</mct-include>
</mct-container>

View File

@ -3,6 +3,19 @@
"description": "Defines core concepts of Open MCT Web.",
"sources": "src",
"extensions": {
"versions": [
{
"name": "Open MCT Web",
"value": "0.3.0-dev",
"priority": 1000
},
{
"name": "Built",
"value": "YYYY-MM-DDTHH:MM:ssZ",
"description": "The date on which this version of the client was built.",
"priority": 990
}
],
"components": [
{
"provides": "objectService",

View File

@ -12,5 +12,6 @@
}
}
},
"extensions": {}
"extensions": {
}
}