Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Bruno López Trigo
ExpliClas-TFG
Commits
05f37b54
Commit
05f37b54
authored
Dec 19, 2018
by
Bruno López Trigo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Engadida lista de clases en panel de configuración
parent
32b6d0d8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
codigo/expliclas/src/components/classifiers/ConfigurationPanel.js
...xpliclas/src/components/classifiers/ConfigurationPanel.js
+19
-1
codigo/expliclas/src/config.js
codigo/expliclas/src/config.js
+0
-1
No files found.
codigo/expliclas/src/components/classifiers/ConfigurationPanel.js
View file @
05f37b54
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
*/
import
React
from
"
react
"
;
import
React
,
{
Fragment
}
from
"
react
"
;
import
PropTypes
from
"
prop-types
"
;
import
PropTypes
from
"
prop-types
"
;
import
{
withStyles
}
from
"
@material-ui/core/styles
"
;
import
{
withStyles
}
from
"
@material-ui/core/styles
"
;
import
Button
from
"
@material-ui/core/Button
"
;
import
Button
from
"
@material-ui/core/Button
"
;
...
@@ -1383,6 +1383,24 @@ class ConfigurationPanel extends React.Component {
...
@@ -1383,6 +1383,24 @@ class ConfigurationPanel extends React.Component {
)}
)}
<
/ListItem
>
<
/ListItem
>
<
/List
>
<
/List
>
<
Typography
variant
=
"
h6
"
component
=
"
h6
"
className
=
{
classes
.
upper
}
>
<
CropSquare
/>
{
"
"
}
{
this
.
props
.
language
.
labels
[
this
.
props
.
language
.
id
].
classes
}
<
/Typography
>
<
Paper
>
<
List
>
{
this
.
state
.
config
.
consequents
.
map
((
consequent
,
index
)
=>
{
return
(
<
Fragment
>
<
ListItem
>
<
ListItemText
primary
=
{
index
+
"
:
"
+
consequent
.
name
}
/
>
<
/ListItem
>
<
Divider
/>
<
/Fragment
>
);
})}
<
/List
>
<
/Paper
>
<
/div
>
<
/div
>
);
);
}
}
...
...
codigo/expliclas/src/config.js
View file @
05f37b54
...
@@ -18,4 +18,3 @@
...
@@ -18,4 +18,3 @@
export
const
BASENAME
=
"
/
"
;
export
const
BASENAME
=
"
/
"
;
export
const
API_ROOT
=
"
http://localhost:8080/expliclas-api/api
"
;
export
const
API_ROOT
=
"
http://localhost:8080/expliclas-api/api
"
;
export
const
API_DOC
=
"
http://localhost:8080/
"
;
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