Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
7d16b219
Commit
7d16b219
authored
Aug 22, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menu draft
parent
4565f8d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
debugfs.js
src/debugfs-webgui/debugfs.js
+23
-1
No files found.
src/debugfs-webgui/debugfs.js
View file @
7d16b219
...
...
@@ -293,7 +293,29 @@ function init_ui_controls(record,index){
});
});
controls
.
find
(
"#controls_td"
).
append
(
bc0
);
var
pre_bc1
=
$
(
"<span>"
,{
title
:
"Current config name"
}).
html
(
" config: "
);
var
dc0_b
=
$
(
"<button>"
,{
class
:
"btn btn-default btn-sm btn-success dropdown-toggle"
,
type
:
"button"
,
"data-toggle"
:
"dropdown"
,
"aria-haspopup"
:
"true"
,
"aria-expanded"
:
"false"
}).
css
({
display
:
"inline"
,
width
:
"150px"
,
}).
html
(
"default <span class='caret'></span>"
);
var
dc0_ul
=
$
(
"<ul>"
,{
class
:
"dropdown-menu"
}).
css
({
padding
:
"5px"
,
"min-width"
:
"100px"
,
border
:
"1px solid rgba(50,50,50,0.5)"
});
dc0_ul
.
append
(
$
(
"<li>"
).
css
({
padding
:
"5px"
}).
html
(
"<input type='text' style='width:100px;' placeholder='create new'/>"
))
.
append
(
$
(
"<li>"
).
css
({
padding
:
"5px"
}).
html
(
"item 1"
))
.
append
(
$
(
"<li>"
).
css
({
padding
:
"5px"
}).
html
(
"item 2"
));
var
dc0
=
$
(
"<div>"
,{
class
:
"btn-group"
,
role
:
"group"
}).
append
(
dc0_b
).
append
(
dc0_ul
);
controls
.
find
(
"#controls_td"
).
append
(
bc0
).
append
(
pre_bc1
).
append
(
dc0
);
return
controls
;
}
...
...
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