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
258cd413
Commit
258cd413
authored
Sep 07, 2017
by
yann300
Committed by
GitHub
Sep 07, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #563 from ethereum/debugButtons
Debug buttons
parents
142f6de4
e34fe1d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
ButtonNavigator.js
src/ui/ButtonNavigator.js
+2
-8
TxBrowser.js
src/ui/TxBrowser.js
+0
-2
No files found.
src/ui/ButtonNavigator.js
View file @
258cd413
'use strict'
'use strict'
var
EventManager
=
require
(
'../lib/eventManager'
)
var
EventManager
=
require
(
'../lib/eventManager'
)
var
style
=
require
(
'./styles/basicStyles'
)
var
ui
=
require
(
'../helpers/ui'
)
var
yo
=
require
(
'yo-yo'
)
var
yo
=
require
(
'yo-yo'
)
var
csjs
=
require
(
'csjs-inject'
)
var
csjs
=
require
(
'csjs-inject'
)
...
@@ -20,8 +18,6 @@ var css = csjs`
...
@@ -20,8 +18,6 @@ var css = csjs`
}
}
.stepButton {
.stepButton {
${
styles
.
button
}
${
styles
.
button
}
width: 25%;
min-width: 30px;
}
}
.jumpButtons {
.jumpButtons {
width: 100%;
width: 100%;
...
@@ -30,8 +26,6 @@ var css = csjs`
...
@@ -30,8 +26,6 @@ var css = csjs`
}
}
.jumpButton {
.jumpButton {
${
styles
.
button
}
${
styles
.
button
}
width: 33%;
min-width: 30px;
}
}
.navigator:hover {
.navigator:hover {
color:
${
styles
.
colors
.
black
}
color:
${
styles
.
colors
.
black
}
...
@@ -95,9 +89,9 @@ ButtonNavigator.prototype.render = function () {
...
@@ -95,9 +89,9 @@ ButtonNavigator.prototype.render = function () {
var
self
=
this
var
self
=
this
var
view
=
yo
`<div class="
${
css
.
buttons
}
">
var
view
=
yo
`<div class="
${
css
.
buttons
}
">
<div class="
${
css
.
stepButtons
}
">
<div class="
${
css
.
stepButtons
}
">
<button id='overback' title='Step over backward' class='
${
css
.
navigator
}
${
css
.
stepButton
}
fa fa-reply' onclick=
${
function
()
{
self
.
event
.
trigger
(
'stepOverBack'
)
}
} disabled=
${
this
.
overBackDisabled
}
></button>
<button id='overback' title='Step over back' class='
${
css
.
navigator
}
${
css
.
stepButton
}
fa fa-reply' onclick=
${
function
()
{
self
.
event
.
trigger
(
'stepOverBack'
)
}
} disabled=
${
this
.
overBackDisabled
}
></button>
<button id='intoback' title='Step back' class='
${
css
.
navigator
}
${
css
.
stepButton
}
fa fa-level-up' onclick=
${
function
()
{
self
.
event
.
trigger
(
'stepIntoBack'
)
}
} disabled=
${
this
.
intoBackDisabled
}
></button>
<button id='intoforward' title='Step into' class='
${
css
.
navigator
}
${
css
.
stepButton
}
fa fa-level-down' onclick=
${
function
()
{
self
.
event
.
trigger
(
'stepIntoForward'
)
}
} disabled=
${
this
.
intoForwardDisabled
}
></button>
<button id='intoforward' title='Step into' class='
${
css
.
navigator
}
${
css
.
stepButton
}
fa fa-level-down' onclick=
${
function
()
{
self
.
event
.
trigger
(
'stepIntoForward'
)
}
} disabled=
${
this
.
intoForwardDisabled
}
></button>
<button id='intoback' title='Step out' class='
${
css
.
navigator
}
${
css
.
stepButton
}
fa fa-level-up' onclick=
${
function
()
{
self
.
event
.
trigger
(
'stepIntoBack'
)
}
} disabled=
${
this
.
intoBackDisabled
}
></button>
<button id='overforward' title='Step over forward' class='
${
css
.
navigator
}
${
css
.
stepButton
}
fa fa-share' onclick=
${
function
()
{
self
.
event
.
trigger
(
'stepOverForward'
)
}
} disabled=
${
this
.
overForwardDisabled
}
></button>
<button id='overforward' title='Step over forward' class='
${
css
.
navigator
}
${
css
.
stepButton
}
fa fa-share' onclick=
${
function
()
{
self
.
event
.
trigger
(
'stepOverForward'
)
}
} disabled=
${
this
.
overForwardDisabled
}
></button>
</div>
</div>
...
...
src/ui/TxBrowser.js
View file @
258cd413
...
@@ -36,8 +36,6 @@ var css = csjs`
...
@@ -36,8 +36,6 @@ var css = csjs`
}
}
.txbutton {
.txbutton {
${
styles
.
button
}
${
styles
.
button
}
width: 50%;
min-width: 30px;
}
}
.txbutton:hover {
.txbutton:hover {
color:
${
styles
.
colors
.
black
}
;
color:
${
styles
.
colors
.
black
}
;
...
...
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