20190311_jeffrey - silenceuncrio/diary GitHub Wiki

0900

review

0945

ariel mail 表示有幾個 web page 應該要顯示但沒看見

  • lteConfig
  • vlan
  • configuration

從 menu 來 check 一下

lteConfig menu 跟頁面都在

vlan menu 在 但是頁面無法顯示

  • 缺少 /cgi-bin/switch.cgi?act=total_ports

configuration menu 跟頁面都在

ariel 說她跟 john 都有一樣的問題

我上禮拜物下午請假

我先拉一下最新的 code 看看是哪邊改壞了

1020

lteConfig menu 在

但點了 menu 上的連結後 右側並沒有顯示任何頁面

configuration 也是相同的情況

先來追 lteConfig

是我自己改壞了

angular 的 injection 重複了 $route

趕緊修正

diff --git a/proscend/prosrc/www/app/feature/configuration.js b/proscend/prosrc/www/app/feature/configuration.js
index 49e9f92..0af81d2 100644
--- a/proscend/prosrc/www/app/feature/configuration.js
+++ b/proscend/prosrc/www/app/feature/configuration.js
@@ -26,7 +26,7 @@ function config($routeProvider) {

 angular.module('app').controller('configurationController', configurationController);

-function configurationController($route, $filter, $route, $location, Upload, icos, help) {
+function configurationController($route, $filter, $location, Upload, icos, help) {
     var vm = this;

     console.log(help);
diff --git a/proscend/prosrc/www/app/feature/lteConfig.js b/proscend/prosrc/www/app/feature/lteConfig.js
index 843362d..0ee0bd6 100644
--- a/proscend/prosrc/www/app/feature/lteConfig.js
+++ b/proscend/prosrc/www/app/feature/lteConfig.js
@@ -32,7 +32,7 @@
     .module('app')
     .controller('lteConfigController', lteConfigController);

-  function lteConfigController($route, $route, $location, icos, modem_config) {
+  function lteConfigController($route, $location, icos, modem_config) {^M
     var vm = this;

     vm.modem_config = modem_config;
commit bc9e86414252602b0d7a06a852cfd3b1a7d3ae01
Author: jeffrey <[email protected]>
Date:   Mon Mar 11 10:38:16 2019 +0800

    [Angular]remove the duplicate dependency injection

 proscend/prosrc/www/app/feature/configuration.js | 2 +-
 proscend/prosrc/www/app/feature/lteConfig.js     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

1045

修一下 vlan page

commit 7337b9e5d51b152b04f6377d2e4fac154b5b4759
Author: jeffrey <[email protected]>
Date:   Mon Mar 11 11:08:28 2019 +0800

    correct the 'LAN > VLAN' page

 proscend/prosrc/www/app/feature/vlan.html | 133 +-----------------------------
 proscend/prosrc/www/app/feature/vlan.js   |   8 +-
 2 files changed, 2 insertions(+), 139 deletions(-)

1110

jessy 的 M300 有些 web 需要幫忙

回到 M300 branch hotfix/v1.77

Products/Vendor = M300/16_MTK_WIFI

1525

commit eebb24f441211c009f88fc80cba4995787dbebcd
Author: jeffrey <[email protected]>
Date:   Mon Mar 11 15:13:25 2019 +0800

    add the following 2 fields to 'wifi_ate' page:
    - Set adaptive
    - Set Sensitivity

 proscend/prosrc/webcgi/wifi_ate.c             |  4 ++++
 proscend/prosrc/www/app/feature/wifi_ate.html | 25 +++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

1550

一樣是 M300

ariel 有修改 web ui 的需求

commit fcb3cb964abe3e71b3e465230f65bb7963d95c54
Author: jeffrey <[email protected]>
Date:   Mon Mar 11 15:49:51 2019 +0800

    add 'RSSI' field at 'LTE > Serving Cell' web page

 proscend/prosrc/webcgi/lte.c                      | 2 ++
 proscend/prosrc/www/app/feature/serving_cell.html | 4 ++++
 proscend/prosrc/www/app/locale-en.json            | 1 +
 proscend/prosrc/www/app/locale-fr.json            | 1 +
 proscend/prosrc/www/app/locale-zh-tw.json         | 1 +
 5 files changed, 9 insertions(+)