Skip to content

Commit

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

Expand Down
1 change: 1 addition & 0 deletions pkg/ui/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"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": "React App",
"name": "Create React App Sample",
"short_name": "Katib-UI",
"name": "Dashboard for katib",
"icons": [
{
"src": "favicon.ico",
Expand Down
4 changes: 0 additions & 4 deletions pkg/ui/frontend/src/components/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ 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="UNIQUE_ID_OF_DIV"
name="yaml-editor"
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="UNIQUE_ID_OF_DIV"
name="yaml-monitor"
editorProps={{$blockScrolling: true}}
tabSize={2}
enableLiveAutocompletion={true}
Expand Down

0 comments on commit f4cd554

Please sign in to comment.