Author: bricks Date: 2017-02-16 10:35:14 +0100 (Thu, 16 Feb 2017) New Revision: 27680
Modified: trunk/gsa/ChangeLog trunk/gsa/src/html/classic/ng/src/web/app.js trunk/gsa/src/html/classic/ng/src/web/menu/menubar.js Log: * src/html/classic/ng/src/web/app.js, src/html/classic/ng/src/web/menu/menubar.js: Add targets page to ng. The menu of the "old" (not ng) pages is still pointing the old page to allow comparision of both pages. Modified: trunk/gsa/ChangeLog =================================================================== --- trunk/gsa/ChangeLog 2017-02-16 09:35:12 UTC (rev 27679) +++ trunk/gsa/ChangeLog 2017-02-16 09:35:14 UTC (rev 27680) @@ -1,5 +1,12 @@ 2017-02-16 Bj�rn Ricks <bjoern.ri...@greenbone.net> + * src/html/classic/ng/src/web/app.js, + src/html/classic/ng/src/web/menu/menubar.js: Add targets page to ng. The menu + of the "old" (not ng) pages is still pointing the old page to allow + comparision of both pages. + +2017-02-16 Bj�rn Ricks <bjoern.ri...@greenbone.net> + * src/html/classic/ng/CMakeLists.txt, src/html/classic/ng/src/web/targets/filterdialog.js, src/html/classic/ng/src/web/targets/row.js, Modified: trunk/gsa/src/html/classic/ng/src/web/app.js =================================================================== --- trunk/gsa/src/html/classic/ng/src/web/app.js 2017-02-16 09:35:12 UTC (rev 27679) +++ trunk/gsa/src/html/classic/ng/src/web/app.js 2017-02-16 09:35:14 UTC (rev 27680) @@ -44,20 +44,15 @@ import SecinfoPage from './secinfopage.js'; import {get_severity_levels} from './render.js'; +import HostsPage from './hosts/hostspage.js'; +import NotesPage from './notes/notespage.js'; +import OperatingSystemsPage from './os/operatingsystemspage.js'; import OverridesPage from './overrides/overridespage.js'; - +import ReportsPage from './reports/reportspage.js'; +import ResultsPage from './results/resultspage.js'; +import TargetsPage from './targets/targetspage.js'; import TasksPage from './tasks/taskspage.js'; -import ResultsPage from './results/resultspage.js'; - -import NotesPage from './notes/notespage.js'; - -import ReportsPage from './reports/reportspage.js'; - -import HostsPage from './hosts/hostspage.js'; - -import OperatingSystemsPage from './os/operatingsystemspage.js'; - import './css/gsa-base.css'; const gmp = new Gmp(window.config); @@ -150,6 +145,8 @@ onEnter={is_logged_in}/> <Route path="hosts" component={HostsPage} onEnter={is_logged_in}/> + <Route path="targets" component={TargetsPage} + onEnter={is_logged_in}/> <Route path="dashboards/scans" component={ScansPage} onEnter={is_logged_in}/> <Route path="dashboards/assets" component={AssetsPage} Modified: trunk/gsa/src/html/classic/ng/src/web/menu/menubar.js =================================================================== --- trunk/gsa/src/html/classic/ng/src/web/menu/menubar.js 2017-02-16 09:35:12 UTC (rev 27679) +++ trunk/gsa/src/html/classic/ng/src/web/menu/menubar.js 2017-02-16 09:35:14 UTC (rev 27680) @@ -110,7 +110,7 @@ </Menu> } <Menu title={_('Configuration')}> - <MenuEntry legacy title={_('Targets')} cmd="get_targets" + <MenuEntry title={_('Targets')} to="targets" caps="get_targets"/> <MenuEntry legacy title={_('Port Lists')} cmd="get_port_lists" caps="get_port_lists"/>
_______________________________________________ Openvas-commits mailing list Openvas-commits@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-commits