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
0ea03645
Commit
0ea03645
authored
Oct 28, 2016
by
chriseth
Committed by
GitHub
Oct 28, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #128 from ethereum/uismallfix
UI fixes
parents
7e18f5a5
9ba8d686
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
ButtonNavigator.js
src/ui/ButtonNavigator.js
+9
-5
Ethdebugger.js
src/ui/Ethdebugger.js
+1
-1
StepManager.js
src/ui/StepManager.js
+1
-1
sliderStyles.js
src/ui/styles/sliderStyles.js
+1
-1
No files found.
src/ui/ButtonNavigator.js
View file @
0ea03645
...
@@ -44,6 +44,14 @@ ButtonNavigator.prototype.render = function () {
...
@@ -44,6 +44,14 @@ ButtonNavigator.prototype.render = function () {
return
view
return
view
}
}
ButtonNavigator
.
prototype
.
reset
=
function
()
{
this
.
intoBackDisabled
=
true
this
.
overBackDisabled
=
true
this
.
intoForwardDisabled
=
true
this
.
overForwardDisabled
=
true
this
.
nextCallDisabled
=
true
}
ButtonNavigator
.
prototype
.
stepChanged
=
function
(
step
)
{
ButtonNavigator
.
prototype
.
stepChanged
=
function
(
step
)
{
this
.
intoBackDisabled
=
step
<=
0
this
.
intoBackDisabled
=
step
<=
0
this
.
overBackDisabled
=
step
<=
0
this
.
overBackDisabled
=
step
<=
0
...
@@ -55,11 +63,7 @@ ButtonNavigator.prototype.stepChanged = function (step) {
...
@@ -55,11 +63,7 @@ ButtonNavigator.prototype.stepChanged = function (step) {
var
self
=
this
var
self
=
this
this
.
traceManager
.
getLength
(
function
(
error
,
length
)
{
this
.
traceManager
.
getLength
(
function
(
error
,
length
)
{
if
(
error
)
{
if
(
error
)
{
self
.
intoBackDisabled
=
true
self
.
reset
()
self
.
overBackDisabled
=
true
self
.
intoForwardDisabled
=
true
self
.
overForwardDisabled
=
true
self
.
nextCallDisabled
=
true
console
.
log
(
error
)
console
.
log
(
error
)
}
else
{
}
else
{
self
.
intoForwardDisabled
=
step
>=
length
-
1
self
.
intoForwardDisabled
=
step
>=
length
-
1
...
...
src/ui/Ethdebugger.js
View file @
0ea03645
...
@@ -81,7 +81,7 @@ Ethdebugger.prototype.debug = function (tx) {
...
@@ -81,7 +81,7 @@ Ethdebugger.prototype.debug = function (tx) {
Ethdebugger
.
prototype
.
render
=
function
()
{
Ethdebugger
.
prototype
.
render
=
function
()
{
var
view
=
yo
`<div style=
${
ui
.
formatCss
(
style
.
font
)}
>
var
view
=
yo
`<div style=
${
ui
.
formatCss
(
style
.
font
)}
>
<div style=
${
ui
.
formatCss
(
{
'max-width'
:
'51%'
},
style
.
innerShift
)}
>
<div style=
${
ui
.
formatCss
(
style
.
innerShift
)}
>
${
this
.
txBrowser
.
render
()}
${
this
.
txBrowser
.
render
()}
${
this
.
stepManager
.
render
()}
${
this
.
stepManager
.
render
()}
</div>
</div>
...
...
src/ui/StepManager.js
View file @
0ea03645
...
@@ -56,7 +56,7 @@ StepManager.prototype.render = function () {
...
@@ -56,7 +56,7 @@ StepManager.prototype.render = function () {
StepManager
.
prototype
.
reset
=
function
()
{
StepManager
.
prototype
.
reset
=
function
()
{
this
.
slider
.
setValue
(
0
)
this
.
slider
.
setValue
(
0
)
this
.
currentStepIndex
=
0
this
.
currentStepIndex
=
0
this
.
buttonNavigator
.
stepChanged
(
0
)
this
.
buttonNavigator
.
reset
(
)
}
}
StepManager
.
prototype
.
init
=
function
()
{
StepManager
.
prototype
.
init
=
function
()
{
...
...
src/ui/styles/sliderStyles.js
View file @
0ea03645
'use strict'
'use strict'
module
.
exports
=
{
module
.
exports
=
{
rule
:
{
rule
:
{
'width'
:
'
98
%'
'width'
:
'
100
%'
}
}
}
}
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