mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 05:37:53 +00:00
[About] Implement placeholder dialog
Implement a placeholder for the About dialog, including some minimal version information. WTD-667.
This commit is contained in:
parent
b4a8940fe8
commit
c628d88b3e
@ -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": [
|
||||
|
12
platform/commonUI/about/res/templates/about-dialog.html
Normal file
12
platform/commonUI/about/res/templates/about-dialog.html
Normal 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>
|
@ -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>
|
||||
|
1
platform/commonUI/about/res/templates/licenses.html
Normal file
1
platform/commonUI/about/res/templates/licenses.html
Normal file
@ -0,0 +1 @@
|
||||
Placeholder for open source licenses.
|
4
platform/commonUI/about/res/templates/overlay-about.html
Normal file
4
platform/commonUI/about/res/templates/overlay-about.html
Normal file
@ -0,0 +1,4 @@
|
||||
<mct-container key="overlay">
|
||||
<mct-include key="'about-dialog'">
|
||||
</mct-include>
|
||||
</mct-container>
|
@ -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",
|
||||
|
@ -12,5 +12,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"extensions": {}
|
||||
"extensions": {
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user