mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Add footer text of app manager UI to config
This commit is contained in:
parent
270e16fc3a
commit
f5d754d159
@ -1,7 +1,8 @@
|
||||
{
|
||||
"theme": {
|
||||
"logo": "https://entgra.io/assets/images/svg/logo.svg",
|
||||
"primaryColor": "rgb(24, 144, 255)"
|
||||
"primaryColor": "rgb(24, 144, 255)",
|
||||
"footerText": "©2019 entgra.io"
|
||||
},
|
||||
"serverConfig": {
|
||||
"invoker": {
|
||||
|
||||
@ -38,6 +38,7 @@ class Dashboard extends React.Component {
|
||||
};
|
||||
this.config = this.props.context;
|
||||
this.Logo = this.config.theme.logo;
|
||||
this.footerText = this.config.theme.footerText;
|
||||
}
|
||||
|
||||
showMobileNavigationBar = () => {
|
||||
@ -217,7 +218,7 @@ class Dashboard extends React.Component {
|
||||
</Switch>
|
||||
</Content>
|
||||
<Footer style={{textAlign: 'center'}}>
|
||||
©2019 entgra.io
|
||||
{this.footerText}
|
||||
</Footer>
|
||||
</Layout>
|
||||
</div>
|
||||
|
||||
@ -3,7 +3,8 @@
|
||||
"type": "default",
|
||||
"value": "lightBaseTheme",
|
||||
"logo" : "https://entgra.io/assets/images/svg/logo.svg",
|
||||
"primaryColor": "rgb(24, 144, 255)"
|
||||
"primaryColor": "rgb(24, 144, 255)",
|
||||
"footerText": "©2019 entgra.io"
|
||||
},
|
||||
"serverConfig": {
|
||||
"invokerUri": "/ui-request-handler/invoke/application-mgt-store/v1.0",
|
||||
|
||||
@ -45,6 +45,7 @@ class Dashboard extends React.Component {
|
||||
}
|
||||
};
|
||||
this.logo = this.props.context.theme.logo;
|
||||
this.footerText = this.props.context.theme.footerText;
|
||||
this.config = this.props.context;
|
||||
}
|
||||
|
||||
@ -228,7 +229,7 @@ class Dashboard extends React.Component {
|
||||
</Content>
|
||||
|
||||
<Footer style={{textAlign: 'center'}}>
|
||||
©2019 entgra.io
|
||||
{this.footerText}
|
||||
</Footer>
|
||||
</Layout>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user