[About] Implement placeholder dialog
Implement a placeholder for the About dialog, including some minimal version information. WTD-667.
This commit is contained in:
@@ -11,6 +11,14 @@
|
|||||||
"key": "about-logo",
|
"key": "about-logo",
|
||||||
"priority": "preferred",
|
"priority": "preferred",
|
||||||
"templateUrl": "templates/about-logo.html"
|
"templateUrl": "templates/about-logo.html"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "about-dialog",
|
||||||
|
"templateUrl": "templates/about-dialog.html"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "overlay-about",
|
||||||
|
"templateUrl": "templates/overlay-about.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controllers": [
|
"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">
|
<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>
|
</mct-include>
|
||||||
</span>
|
</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.",
|
"description": "Defines core concepts of Open MCT Web.",
|
||||||
"sources": "src",
|
"sources": "src",
|
||||||
"extensions": {
|
"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": [
|
"components": [
|
||||||
{
|
{
|
||||||
"provides": "objectService",
|
"provides": "objectService",
|
||||||
|
|||||||
@@ -12,5 +12,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extensions": {}
|
"extensions": {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user