Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b6872b1a
authored
Oct 19, 2015
by
Estók Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setty: code cleanup.
parent
de3f9733
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
+1
-5
circle/setty/static/setty/setty.js
+1
-5
No files found.
circle/setty/static/setty/setty.js
View file @
b6872b1a
...
...
@@ -64,11 +64,7 @@ jsPlumb.ready(function(){
div
=
'<div class="row"><div class="col-xs-12 text-center"><h3>'
+
title
+
'</h3></div></div> <div class="row"><div class="col-xs-12">'
+
'<textarea class="form-control" rows="30" id="infoInput"'
+
'placeholder="Config data"'
+
(
type
==
"info"
?
'readonly'
:
''
)
+
'>'
+
'</textarea></div></div>'
;
if
(
type
==
"element"
)
div
+=
' <div class="row text-center"><label>Endpoints</label></div><div class="row">'
+
'<div class="col-xs-6 text-center">'
+
'<button id="addEndpoint" class="btn btn-success">+</button></div>'
+
'<div class="col-xs-6 text-center">'
+
'<button id="removeEndpoint" class="btn btn-danger">-</button></div></div>'
;
div
+=
' <div class="row text-center"><label>Endpoints</label></div><div class="row">'
+
'<div class="col-xs-6 text-center">'
+
'<button id="addEndpoint" class="btn btn-success">+</button></div>'
+
'<div class="col-xs-6 text-center">'
+
'<button id="removeEndpoint" class="btn btn-danger">-</button></div></div>'
;
$
(
"#informationContainer"
).
empty
().
append
(
div
);
...
...
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