Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
02265ee0
Commit
02265ee0
authored
Jul 02, 2020
by
LianaHus
Committed by
ioedeveloper
Jul 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
last corrections of UI
parent
96364100
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
17 deletions
+17
-17
file-explorer.js
apps/remix-ide/src/app/files/file-explorer.js
+9
-8
CodeListView.js
...c/app/tabs/debugger/debuggerUI/vmDebugger/CodeListView.js
+0
-3
StepDetail.js
...src/app/tabs/debugger/debuggerUI/vmDebugger/StepDetail.js
+2
-1
TreeView.js
apps/remix-ide/src/app/ui/TreeView.js
+6
-5
No files found.
apps/remix-ide/src/app/files/file-explorer.js
View file @
02265ee0
...
...
@@ -636,7 +636,7 @@ fileExplorer.prototype.renderMenuItems = function () {
<label
id=
${
action
}
data-id="fileExplorerUploadFile
${
action
}
"
class="
${
icon
}
${
css
.
newFile
}
"
class="
${
icon
}
mb-0
${
css
.
newFile
}
"
title="
${
title
}
"
>
<input id="fileUpload" data-id="fileExplorerFileUpload" type="file" onchange=
${(
event
)
=>
{
...
...
@@ -647,13 +647,14 @@ fileExplorer.prototype.renderMenuItems = function () {
`
} else {
return yo`
<
span
id
=
$
{
action
}
data-id="fileExplorerNewFile
${
action
}
"
onclick=
${(
event
)
=>
{
event
.
stopPropagation
();
this
[
action
]()
}}
class
=
"newFile ${icon} ${css.newFile}"
title
=
$
{
title
}
>
</span>
<
span
id
=
$
{
action
}
data-id="fileExplorerNewFile
${
action
}
"
onclick=
${(
event
)
=>
{
event
.
stopPropagation
();
this
[
action
]()
}}
class
=
"newFile ${icon} ${css.newFile}"
title
=
$
{
title
}
>
</span>
`
}
})
...
...
apps/remix-ide/src/app/tabs/debugger/debuggerUI/vmDebugger/CodeListView.js
View file @
02265ee0
...
...
@@ -44,9 +44,6 @@ CodeListView.prototype.indexChanged = function (index) {
this
.
itemSelected
.
style
.
setProperty
(
'border-color'
,
'var(--primary)'
)
this
.
itemSelected
.
style
.
setProperty
(
'border-style'
,
'solid'
)
this
.
itemSelected
.
setAttribute
(
'selected'
,
'selected'
)
if
(
this
.
itemSelected
.
firstChild
)
{
//this.itemSelected.firstChild.setAttribute('style', 'margin-left: 2px')
}
codeView
.
scrollTop
=
this
.
itemSelected
.
offsetTop
-
parseInt
(
codeView
.
offsetTop
)
}
...
...
apps/remix-ide/src/app/tabs/debugger/debuggerUI/vmDebugger/StepDetail.js
View file @
02265ee0
...
...
@@ -2,7 +2,8 @@ var yo = require('yo-yo')
var
DropdownPanel
=
require
(
'./DropdownPanel'
)
function
StepDetail
()
{
this
.
basicPanel
=
new
DropdownPanel
(
'Step detail'
,
{
json
:
true
,
displayContentOnly
:
true
})
this
.
basicPanel
=
new
DropdownPanel
(
'Step details'
,
{
json
:
true
,
displayContentOnly
:
false
})
this
.
basicPanel
.
show
()
this
.
detail
=
{
'vm trace step'
:
'-'
,
'execution step'
:
'-'
,
'add memory'
:
''
,
'gas'
:
''
,
'remaining gas'
:
'-'
,
'loaded address'
:
'-'
}
}
...
...
apps/remix-ide/src/app/ui/TreeView.js
View file @
02265ee0
...
...
@@ -28,10 +28,11 @@ var css = csjs`
}
.label_key {
min-width: 15%;
word-break: break-all;
max-width: 80%;
word-break: break-word;
}
.label_value {
min-width:
3
0%;
min-width:
1
0%;
}
`
...
...
@@ -89,7 +90,7 @@ class TreeView {
var
label
=
yo
`
<div key=
${
keyPath
}
data-id="treeViewDiv
${
keyPath
}
" class="d-flex flex-row align-items-center">
${
caret
}
<span>
${
self
.
formatSelf
(
key
,
data
,
li
)}
</span>
<span
class="w-100"
>
${
self
.
formatSelf
(
key
,
data
,
li
)}
</span>
</div>`
const
expanded
=
self
.
expandPath
.
includes
(
keyPath
)
li
.
appendChild
(
label
)
...
...
@@ -169,8 +170,8 @@ class TreeView {
formatSelfDefault
(
key
,
data
)
{
return
yo
`
<div class="d-flex flex-row
${
css
.
label_item
}
">
<label class="font-weight-bold pr-1
${
css
.
label_key
}
">
${
key
}
:</label>
<div class="d-flex
mb-1
flex-row
${
css
.
label_item
}
">
<label class="
small
font-weight-bold pr-1
${
css
.
label_key
}
">
${
key
}
:</label>
<label class="m-0
${
css
.
label_value
}
">
${
data
.
self
}
</label>
</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