Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.editor
Commits
050dfa5e
Commit
050dfa5e
authored
Oct 18, 2017
by
Jaden DIEFENBAUGH
Browse files
DRY spacing between tabs/content & less technical wording
parent
64f5b469
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/components/AlgorithmEditor.jsx
View file @
050dfa5e
...
...
@@ -934,7 +934,7 @@ class AlgorithmEditor extends React.Component<Props, State> {
);
render
=
()
=>
(
<
div
className
=
'mt-1'
>
<
div
>
<
div
className
=
'd-flex'
>
<
Button
className
=
'mx-auto'
...
...
@@ -942,7 +942,7 @@ class AlgorithmEditor extends React.Component<Props, State> {
color
=
'secondary'
onClick
=
{
()
=>
this
.
props
.
saveFunc
(
this
.
state
.
cache
)
}
>
Save Changes (C
ache is
<
ValidSchemaBadge
entity
=
'algorithm'
obj
=
{
this
.
state
.
cache
}
/>
)
Save Changes (C
hanges are
<
ValidSchemaBadge
entity
=
'algorithm'
obj
=
{
this
.
state
.
cache
}
/>
)
</
Button
>
</
div
>
<
Form
>
...
...
src/components/DataformatEditor.jsx
View file @
050dfa5e
...
...
@@ -345,7 +345,7 @@ class DataformatEditor extends React.Component<Props, State> {
}
render
=
()
=>
(
<
div
className
=
'mt-1'
>
<
div
>
<
div
className
=
'd-flex'
>
<
Button
className
=
'mx-auto'
...
...
@@ -353,7 +353,7 @@ class DataformatEditor extends React.Component<Props, State> {
color
=
'secondary'
onClick
=
{
()
=>
this
.
props
.
saveFunc
(
this
.
state
.
cache
)
}
>
Save Changes (C
ache is
<
ValidSchemaBadge
entity
=
'dataformat'
obj
=
{
this
.
state
.
cache
}
/>
)
Save Changes (C
hanges are
<
ValidSchemaBadge
entity
=
'dataformat'
obj
=
{
this
.
state
.
cache
}
/>
)
</
Button
>
</
div
>
<
Form
onSubmit
=
{
(
e
)
=>
e
.
preventDefault
()
}
>
...
...
src/components/EntityDetail.jsx
View file @
050dfa5e
...
...
@@ -125,7 +125,7 @@ class EntityDetail extends React.Component<Props, State> {
</
NavLink
>
</
NavItem
>
</
Nav
>
<
TabContent
activeTab
=
{
this
.
state
.
activeTab
}
>
<
TabContent
activeTab
=
{
this
.
state
.
activeTab
}
className
=
'mt-2'
>
<
TabPane
tabId
=
'0'
>
{
this
.
props
.
match
.
params
.
entity
===
'
algorithm
'
&&
...
...
@@ -150,6 +150,11 @@ class EntityDetail extends React.Component<Props, State> {
}
</
TabPane
>
<
TabPane
tabId
=
'1'
>
<
Row
>
<
Col
>
<
h4
style
=
{
{
textAlign
:
'
center
'
}
}
>
Under construction :)
</
h4
>
</
Col
>
</
Row
>
</
TabPane
>
<
TabPane
tabId
=
'2'
>
<
pre
>
{
JSON
.
stringify
(
this
.
props
.
getEntityObject
(),
null
,
4
)
}
</
pre
>
...
...
src/components/LibraryEditor.jsx
View file @
050dfa5e
...
...
@@ -115,7 +115,7 @@ class LibraryEditor extends React.Component<Props, State> {
}
render
=
()
=>
(
<
div
className
=
'mt-1'
>
<
div
>
<
div
className
=
'd-flex'
>
<
Button
className
=
'mx-auto'
...
...
@@ -123,7 +123,7 @@ class LibraryEditor extends React.Component<Props, State> {
color
=
'secondary'
onClick
=
{
()
=>
this
.
props
.
saveFunc
(
this
.
state
.
cache
)
}
>
Save Changes (C
ache is
<
ValidSchemaBadge
entity
=
'library'
obj
=
{
this
.
state
.
cache
}
/>
)
Save Changes (C
hanges are
<
ValidSchemaBadge
entity
=
'library'
obj
=
{
this
.
state
.
cache
}
/>
)
</
Button
>
</
div
>
<
Form
onSubmit
=
{
(
e
)
=>
e
.
preventDefault
()
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment