Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Document
  • Project information
    • Project information
    • Activity
    • Members
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • SRP_MobileAPP_FrameworkSRP_MobileAPP_Framework
  • Document
  • Wiki
  • Manual
  • sampleDashboard

sampleDashboard · Changes

Page history
add dashboard config authored Sep 04, 2019 by Yuying.Lo's avatar Yuying.Lo
Hide whitespace changes
Inline Side-by-side
manual/sampleDashboard.md 0 → 100644
View page @ 1d3416d6
```javascript
{
"version": "1.0.0",
"srp": {
"name": "Dashboard",
"title": "Dashboard",
"version": "1.3.1"
},
"language": [
"en",
"zh_cn",
"zh_tw"
],
"login": {
"type": "SSO",
"SSO": {
"serverDomainTitle": "Dashboard IP",
"signIn": {
"title": "Sign in to Dashboard",
"type": "api",
"api": {
"type": "http",
"method": "post",
"base": "$serverDomain",
"url": "/userLogin"
}
}
}
},
"mainPage": {
"type": "tab",
"defaultTabIndex": 1,
"tab": [
{
"type": "event",
"config": {
"type": "event",
"event": {
"type": "api",
"title": {
"en": "Event",
"zh_cn": "事件",
"zh_tw": "事件"
},
"api": {
"type": "http",
"method": "get",
"base": "$serverDomain",
"url": "/api/dashboards/mobiledbs/alertlist"
},
"filter": {
"level": [
{
"title": "Alert",
"value": "alerting",
"color": "red"
}
]
}
}
}
},
{
"type": "dashboard",
"config": {
"type": "dashboard",
"dashboard": {
"dashboardDomain": {
"type": "static",
"static": "$serverDomain"
},
"dashboardMenu": {
"type": "srpFrame",
"srpFrame": {
"org": true,
"frame": false,
"menu": true
}
}
}
}
},
{
"type": "setting",
"config": {
"type": "setting",
"setting": {
"type": "static",
"account": {
"type": "api",
"api": {
"type": "http",
"method": "get",
"url": "/api/user/ssoInfo",
"base": "$serverDomain"
}
},
"about": {
"privatePolicy": {
"type": "url",
"url": "https://www.advantech.tw/legal/privacy"
}
},
"logout": {
"type": "api",
"api": {
"type": "http",
"method": "get",
"url": "/logout",
"base": "$serverDomain"
}
}
}
}
}
]
}
}
```
\ No newline at end of file
Clone repository
  • SDS
    • SDS
    • tab
      • dashboard
        • api
          • changeDashboard
          • changeDashboardControllerStatus
          • closeDialog
          • getDashboardDomain
          • getDashboardMenu
          • openDialog
        • dashboard
  • Home
  • manual
    • Home
    • image
      • icon
        • ios
          • appIconIos
      • launch
        • ios
          • appLaunchIos
    • jsInterfaceSetting
    • sample
    • sampleAPM
View All Pages