mirror of
https://github.com/nasa/openmct.git
synced 2025-06-02 07:30:49 +00:00
[Templates] Require data table templates
...via text plugin
This commit is contained in:
parent
5c3d8508a2
commit
19b442cc0b
@ -25,14 +25,14 @@
|
|||||||
* Module defining MCTDataTable. Created by shale on 06/22/2015.
|
* Module defining MCTDataTable. Created by shale on 06/22/2015.
|
||||||
*/
|
*/
|
||||||
define(
|
define(
|
||||||
[],
|
['text!../../res/templates/mct-data-table.html'],
|
||||||
function () {
|
function (dataTableTemplate) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function MCTDataTable($window) {
|
function MCTDataTable($window) {
|
||||||
return {
|
return {
|
||||||
restrict: "E",
|
restrict: "E",
|
||||||
templateUrl: "platform/features/events/res/templates/mct-data-table.html",
|
template: dataTableTemplate,
|
||||||
scope: {
|
scope: {
|
||||||
headers: "=",
|
headers: "=",
|
||||||
rows: "=",
|
rows: "=",
|
||||||
|
@ -25,14 +25,14 @@
|
|||||||
* Module defining MCTRTDataTable. Created by shale on 06/25/2015.
|
* Module defining MCTRTDataTable. Created by shale on 06/25/2015.
|
||||||
*/
|
*/
|
||||||
define(
|
define(
|
||||||
[],
|
['text!../../res/templates/mct-rt-data-table.html'],
|
||||||
function () {
|
function (dataTableTemplate) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function MCTRTDataTable($window) {
|
function MCTRTDataTable($window) {
|
||||||
return {
|
return {
|
||||||
restrict: "E",
|
restrict: "E",
|
||||||
templateUrl: "platform/features/rtevents/res/templates/mct-rt-data-table.html",
|
template: dataTableTemplate,
|
||||||
scope: {
|
scope: {
|
||||||
headers: "=",
|
headers: "=",
|
||||||
rows: "=",
|
rows: "=",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user