20200610_jeffrey - silenceuncrio/diary GitHub Wiki
M330 - task - [0%] P1 - add PLMN in serving cell page(Web UI/CLI). (Shared Memory ID: SHM_MODEM0_PLMN)
目前 PLMN 在 status page 的 LTE panel 裡有
status_pannel_wan_lte.html
<tr>
<td>{{ 'STATUS_MODEM_PLMN' | translate }}</td>
<td>{{ vm.status.current_sim.plmn }}</td>
</tr>
對應的 CGI 相關的 code 如下
static json_object * _status_obj()
{
...
MODEM_SIM_STATUS *_shm_modem0 = ICOS_shm_status_getPtr(SHM_MODEM0);
...
// current_sim
MODEM_SIM_STATUS *_current_sim = _shm_modem0;
json_object *current_sim = json_object_new_object();
...
json_object_object_add(current_sim, "plmn", json_object_new_string(_current_sim->plmn));
...
}
打完收工
commit 95ea6f7eb6f8959461cb6db7a3dd1884f59e17a8
Refs: [release/v1.02], {origin/release/v1.02}
Author: jeffrey <[email protected]>
Date: Wed Jun 10 10:14:31 2020 +0800
add 'PLMN' field at 'LTE > Serving Cell' page
proscend/prosrc/webcgi/Makefile | 3 +
proscend/prosrc/webcgi/serving_cell.c | 87 +++++++++++++++++++++++
proscend/prosrc/www/app/feature/serving_cell.html | 36 +++++-----
proscend/prosrc/www/app/feature/serving_cell.js | 6 +-
proscend/prosrc/www/app/services/icos.service.js | 8 +++
5 files changed, 121 insertions(+), 19 deletions(-)
ISMS Server - task
commit 32f1ddd4c3e02efdf641f7e6dfc89c3d066a062a
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jun 10 10:49:47 2020 +0800
some route is for testing, only route with 'show_link' display at navigation
web/src/components/Navigation/index.js | 2 ++
web/src/constants/app.js | 12 ++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
ISMS Server - task - topology node 要有個別的進入點可以去設定 config
commit b9846bcda4b8a00e4e211f7845981dd104654d68
Author: jeffrey <[email protected]>
Date: Wed Jun 10 14:17:34 2020 +0800
basic layout for route with path '/node_m350/:node_id'
web/src/components/Navigation/index.js | 37 ++++++++++++++++--
web/src/components/NodeM350/index.js | 69 ++++++++++++++++++++++++++++++++++
web/src/constants/app.js | 12 +++++-
web/src/constants/m350.js | 26 +++++++++++++
4 files changed, 139 insertions(+), 5 deletions(-)
commit fe33aec68ba6677770fcf15968e8e1405844e799
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jun 10 14:31:41 2020 +0800
basic layout for route with path:
- '/node_m351/:node_id'
- '/node_m360/:node_id'
also provide the link at 'Topology"
web/src/components/NodeM351/index.js | 69 +++++++++++++++++++++++++++++
web/src/components/NodeM360/index.js | 69 +++++++++++++++++++++++++++++
web/src/components/TreesContext/TreeNode.js | 2 +-
web/src/components/TreesContext/Trees.js | 1 +
web/src/constants/app.js | 22 +++++++++
5 files changed, 162 insertions(+), 1 deletion(-)
commit de60b632c1333b32f3f268e0657e41762377d44b
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jun 10 15:23:18 2020 +0800
no more subroute for topology
web/src/components/Dashboard/healthSummary.js | 2 +-
.../components/Dashboard/signalStrengthSummary.js | 2 +-
web/src/components/NodeM350/index.js | 3 --
web/src/components/NodeM351/index.js | 3 --
web/src/components/NodeM360/index.js | 3 --
web/src/components/Topology/index.js | 45 +---------------------
web/src/constants/app.js | 24 +-----------
web/src/constants/routes.js | 4 --
8 files changed, 6 insertions(+), 80 deletions(-)
commit 73955ed8378cc1d9c7ed4f3aa4fb6437cab85bb7
Author: jeffrey <[email protected]>
Date: Wed Jun 10 15:10:00 2020 +0800
refactoring 'components/App'
web/src/components/App/index.js | 16 ++++++++--------
web/src/components/ContentContainer/index.js | 4 ++--
web/src/components/ContentModal/index.js | 2 +-
web/src/components/Navigation/NavBar.js | 2 +-
web/src/components/Navigation/index.js | 6 +++---
5 files changed, 15 insertions(+), 15 deletions(-)
commit 148bd47c8e1bf5195abcc17977b3878800437690
Author: jeffrey <[email protected]>
Date: Wed Jun 10 14:51:45 2020 +0800
add missing files
web/src/constants/m351.js | 26 ++++++++++++++++++++++++++
web/src/constants/m360.js | 26 ++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
commit e1fdc41e5ea0068e902edfb2faf7e64993d74d57
Author: jeffrey <[email protected]>
Date: Wed Jun 10 14:51:19 2020 +0800
refactoring 'components/App'
web/src/components/App/index.js | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
commit 4166a39d89e39545228f7f663c515227add92bb5
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jun 10 16:04:18 2020 +0800
style the 'components/TreesContext/TreeNode'
web/src/components/TreesContext/TreeNode.js | 53 ++++++++++++++++++++++-------
web/src/constants/colors.js | 2 +-
2 files changed, 42 insertions(+), 13 deletions(-)
commit de60b632c1333b32f3f268e0657e41762377d44b
Author: jeffrey <[email protected]>
Date: Wed Jun 10 15:23:18 2020 +0800
no more subroute for topology
web/src/components/Dashboard/healthSummary.js | 2 +-
.../components/Dashboard/signalStrengthSummary.js | 2 +-
web/src/components/NodeM350/index.js | 3 --
web/src/components/NodeM351/index.js | 3 --
web/src/components/NodeM360/index.js | 3 --
web/src/components/Topology/index.js | 45 +---------------------
web/src/constants/app.js | 24 +-----------
web/src/constants/routes.js | 4 --
8 files changed, 6 insertions(+), 80 deletions(-)
commit 73955ed8378cc1d9c7ed4f3aa4fb6437cab85bb7
Author: jeffrey <[email protected]>
Date: Wed Jun 10 15:10:00 2020 +0800
refactoring 'components/App'
web/src/components/App/index.js | 16 ++++++++--------
web/src/components/ContentContainer/index.js | 4 ++--
web/src/components/ContentModal/index.js | 2 +-
web/src/components/Navigation/NavBar.js | 2 +-
web/src/components/Navigation/index.js | 6 +++---
5 files changed, 15 insertions(+), 15 deletions(-)
commit 435020fa057e6114391ad85836f5b43eb2a2716c
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jun 10 17:08:58 2020 +0800
refactoring 'components/Navigation'
web/src/components/Navigation/index.js | 33 +++++++++++++++++++++------------
web/src/components/NodeM350/index.js | 15 +++++++++------
web/src/components/NodeM351/index.js | 15 +++++++++------
web/src/components/NodeM360/index.js | 15 +++++++++------
web/src/constants/app.js | 6 +++---
web/src/constants/m350.js | 4 ++--
web/src/constants/m351.js | 4 ++--
web/src/constants/m360.js | 4 ++--
8 files changed, 57 insertions(+), 39 deletions(-)
commit 4166a39d89e39545228f7f663c515227add92bb5
Author: jeffrey <[email protected]>
Date: Wed Jun 10 16:04:18 2020 +0800
style the 'components/TreesContext/TreeNode'
web/src/components/TreesContext/TreeNode.js | 53 ++++++++++++++++++++++-------
web/src/constants/colors.js | 2 +-
2 files changed, 42 insertions(+), 13 deletions(-)
commit de60b632c1333b32f3f268e0657e41762377d44b
Author: jeffrey <[email protected]>
Date: Wed Jun 10 15:23:18 2020 +0800
no more subroute for topology
web/src/components/Dashboard/healthSummary.js | 2 +-
.../components/Dashboard/signalStrengthSummary.js | 2 +-
web/src/components/NodeM350/index.js | 3 --
web/src/components/NodeM351/index.js | 3 --
web/src/components/NodeM360/index.js | 3 --
web/src/components/Topology/index.js | 45 +---------------------
web/src/constants/app.js | 24 +-----------
web/src/constants/routes.js | 4 --
8 files changed, 6 insertions(+), 80 deletions(-)