Change old UI link to React App to point to graph page (#6697)

* change the link to React App to point to graph page

Signed-off-by: blalov <boiskila@gmail.com>

* add search params to classic UI link

Signed-off-by: blalov <boiskila@gmail.com>

* lint fix

Signed-off-by: blalov <boiskila@gmail.com>

* remove navLink onclick

Signed-off-by: blalov <boiskila@gmail.com>

* remove left-over

Signed-off-by: blalov <boiskila@gmail.com>

* remove pkg files

Signed-off-by: blalov <boiskila@gmail.com>

* delete .vscode

Signed-off-by: Boyko Lalov <boiskila@gmail.com>
This commit is contained in:
Boyko 2020-01-28 15:04:56 +02:00 committed by Julius Volz
parent d992c36b3a
commit 41071278b6
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ const Navigation: FC<PathPrefixProps> = ({ pathPrefix }) => {
<NavLink href="https://prometheus.io/docs/prometheus/latest/getting_started/">Help</NavLink>
</NavItem>
<NavItem>
<NavLink href={`${pathPrefix}/`}>Classic UI</NavLink>
<NavLink href={`${pathPrefix}/graph${window.location.search}`}>Classic UI</NavLink>
</NavItem>
</Nav>
</Collapse>

View File

@ -29,7 +29,7 @@
<i class="glyphicon glyphicon-unchecked"></i>
<button type="button" class="search-history" title="search previous queries">Enable query history</button>
</div>
<button type="button" class="btn btn-link btn-sm new_ui_button" onclick="window.location.pathname='{{ pathPrefix }}/new'">Try experimental React UI</button>
<button type="button" class="btn btn-link btn-sm new_ui_button" onclick="window.location.pathname='{{ pathPrefix }}/new/graph'">Try experimental React UI</button>
</div>
</div>