From: ChangHyun Lee Date: Thu, 6 Apr 2017 05:41:02 +0000 (+0900) Subject: [TIC-Web] fix the error page and disable filter X-Git-Tag: v20170428~17^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d3321e2fb7dfcc439e36fda11b11740572e8db6;p=archive%2F20170607%2Ftools%2Ftic.git [TIC-Web] fix the error page and disable filter - fix the error page in nginx - disable filter in packages page Change-Id: I8a1f79425c23cd0f1f45bb881208dcdcf444651c Signed-off-by: ChangHyun Lee --- diff --git a/post_script/www/404.html b/post_script/www/404.html index 78216e8..fbf75b1 100644 --- a/post_script/www/404.html +++ b/post_script/www/404.html @@ -1,4 +1,4 @@ - + diff --git a/post_script/www/406.html b/post_script/www/406.html index d5938ed..75bd690 100644 --- a/post_script/www/406.html +++ b/post_script/www/406.html @@ -1,4 +1,4 @@ - + @@ -14,8 +14,8 @@
-

Browser Not Supported Error 406

-

The TIC web-service currently supports chrome web browser only.

+

Your browser is not supported Error 406

+

The TIC web-service currently supports Chrome web browser only.

diff --git a/post_script/www/502.html b/post_script/www/502.html index 51cd491..1c15f79 100644 --- a/post_script/www/502.html +++ b/post_script/www/502.html @@ -1,4 +1,4 @@ - + diff --git a/public/src/js/page/package.js b/public/src/js/page/package.js index 80b2f77..a49beb2 100644 --- a/public/src/js/page/package.js +++ b/public/src/js/page/package.js @@ -1075,6 +1075,7 @@ define([ $tree.treeview({ data: rawData.view, + levels: 1, showIcon: false, showCheckbox: true, onRendered: _onRendered, @@ -1182,9 +1183,10 @@ define([ } _filter([$('#tic-package-toolbar-input').val()]); } - $("#tic-package-toolbar-debug").on('click', _filterType); - $("#tic-package-toolbar-devel").on('click', _filterType); - $("#tic-package-toolbar-source").on('click', _filterType); + // FIXME: bug for tree is not folding + // $("#tic-package-toolbar-debug").on('click', _filterType); + // $("#tic-package-toolbar-devel").on('click', _filterType); + // $("#tic-package-toolbar-source").on('click', _filterType); function _collapseAll() { $tree.treeview('collapseAll');