mirror of
https://github.com/prometheus/prometheus
synced 2025-01-12 09:40:00 +00:00
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:
parent
d992c36b3a
commit
41071278b6
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user