Skip to content

Commit

Permalink
feat(field): modify reboot label style
Browse files Browse the repository at this point in the history
  • Loading branch information
zack9433 committed Mar 31, 2017
1 parent 00be7b3 commit 4222865
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/component/component.resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@
{
"key": "keepalive.reboot.enable",
"type": "switch",
"className": "reboot-highlight",
"templateOptions": {
"label": "CELLULAR_FORM_LABEL_REBOOT"
},
"hideExpression": "!model.keepalive.enable"
}
]
}

}
4 changes: 4 additions & 0 deletions src/component/form/form.style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.reboot-highlight {
color: blue;
font-weight: bold;
}
9 changes: 5 additions & 4 deletions src/component/form/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import angular from 'angular';

import './form.style.scss';
import './form.tpl.html';
import CellularFormContainerComponent from './container.component';
import CellularFormComponent from './form.component';

const sjCellularForm = angular.module('sanji.cellular.form', [])
const sjCellularForm = angular
.module('sanji.cellular.form', [])
.component('sanjiCellularFormContainer', CellularFormContainerComponent)
.component('sanjiCellularForm', CellularFormComponent)
.name;
export {sjCellularForm};
.component('sanjiCellularForm', CellularFormComponent).name;
export { sjCellularForm };

0 comments on commit 4222865

Please sign in to comment.