Skip to content

Commit

Permalink
Revert "small fixes"
Browse files Browse the repository at this point in the history
This reverts commit f4cd554.
  • Loading branch information
Akado2009 committed Apr 23, 2019
1 parent f4cd554 commit 217f892
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions pkg/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const (
VizierServiceNamespaceEnvName = "VIZIER_CORE_NAMESPACE"
VizierService = "vizier-core"
VizierPort = "6789"
// ManagerAddr = "10.111.12.89:6789"
ManagerAddr = VizierService + ":" + VizierPort
)

Expand Down
1 change: 0 additions & 1 deletion pkg/ui/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "frontend",
"version": "0.1.0",
"homepage": ".",
"private": true,
"dependencies": {
"@babel/core": "7.2.2",
Expand Down
2 changes: 1 addition & 1 deletion pkg/ui/frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
-->
<style>
body {
background-color: #f7f7f7;
background-color: #f7f7f7,
}
</style>
<title>Katib UI</title>
Expand Down
4 changes: 2 additions & 2 deletions pkg/ui/frontend/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "Katib-UI",
"name": "Dashboard for katib",
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
Expand Down
4 changes: 4 additions & 0 deletions pkg/ui/frontend/src/components/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const App = (props) => {
<Route exact path="/katib/nas_monitor" component={NASMonitor} />
<Route path="/katib/nas_monitor/:id" component={NASJobInfo} />
<Route path="/katib/worker" component={Worker} />
<Route path="/katib/collector" component={Collector} />
{/* <Route exact path="/" component={GenerateFromYaml} />
<Route path="/defaults/" component={GenerateFromParameters} />
<Route path="/monitor/" component={Watch} /> */}
<Snack />
</div>
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/ui/frontend/src/components/HP/Create/YAML.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const YAML = (props) => {
theme="tomorrow"
value={props.yaml}
onChange={onYamlChange}
name="yaml-editor"
name="UNIQUE_ID_OF_DIV"
editorProps={{$blockScrolling: true}}
tabSize={2}
enableLiveAutocompletion={true}
Expand Down
2 changes: 1 addition & 1 deletion pkg/ui/frontend/src/components/NAS/Create/YAML.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const YAML = (props) => {
theme="tomorrow"
value={props.yaml}
onChange={onYamlChange}
name="yaml-monitor"
name="UNIQUE_ID_OF_DIV"
editorProps={{$blockScrolling: true}}
tabSize={2}
enableLiveAutocompletion={true}
Expand Down

0 comments on commit 217f892

Please sign in to comment.