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
2bb3f708
Commit
2bb3f708
authored
Aug 25, 2017
by
ninabreznik
Committed by
yann300
Aug 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pending styling, refactor button titles and fix color for payable
parent
d7e8ad09
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
universal-dapp.css
assets/css/universal-dapp.css
+2
-2
run-tab.js
src/app/tabs/run-tab.js
+4
-2
universal-dapp.js
src/universal-dapp.js
+5
-4
No files found.
assets/css/universal-dapp.css
View file @
2bb3f708
...
...
@@ -216,8 +216,8 @@
}
#runTabView
.contractProperty.payable
.call
{
background-color
:
hsla
(
0
,
82%
,
82%
,
.5
);
/* lightR
ed in style-guide.js */
border-color
:
hsla
(
0
,
82%
,
82%
,
.5
);
/* lightR
ed in style-guide.js */
background-color
:
hsla
(
0
,
82%
,
82%
,
1
);
/* r
ed in style-guide.js */
border-color
:
hsla
(
0
,
82%
,
82%
,
1
);
/* r
ed in style-guide.js */
width
:
25%
;
}
...
...
src/app/tabs/run-tab.js
View file @
2bb3f708
...
...
@@ -69,7 +69,8 @@ var css = csjs`
margin-top: 2%;
border: none;
}
.pendingTxsContainer extends
${
styles
.
displayBox
}
{
.pendingTxsContainer {
${
styles
.
displayBox
}
display: flex;
flex-direction: column;
background-color:
${
styles
.
colors
.
transparent
}
;
...
...
@@ -128,7 +129,8 @@ var css = csjs`
color:
${
styles
.
colors
.
lightGrey
}
;
font-style: italic;
}
.pendingTxsText extends
${
styles
.
displayBox
}
{
.pendingTxsText {
${
styles
.
displayBox
}
text-align: center;
color:
${
styles
.
colors
.
lightGrey
}
;
font-style: italic;
...
...
src/universal-dapp.js
View file @
2bb3f708
...
...
@@ -334,7 +334,8 @@ UniversalDApp.prototype.getCallButton = function (args) {
if
(
lookupOnly
)
{
$contractProperty
.
addClass
(
'constant'
)
button
.
attr
(
'title'
,
(
title
+
" - call)"
))
button
.
attr
(
'title'
,
(
title
+
' - call'
))
call
()
}
if
(
args
.
funABI
.
inputs
&&
args
.
funABI
.
inputs
.
length
>
0
)
{
...
...
@@ -343,11 +344,11 @@ UniversalDApp.prototype.getCallButton = function (args) {
if
(
args
.
funABI
.
payable
===
true
)
{
$contractProperty
.
addClass
(
'payable'
)
button
.
attr
(
'title'
,
(
title
+
" - transact (payable)"
))
button
.
attr
(
'title'
,
(
title
+
' - transact (payable)'
))
}
if
(
args
.
funABI
.
payable
===
false
)
{
button
.
attr
(
'title'
,
(
title
+
" - transact (not payable)"
))
if
(
!
lookupOnly
&&
args
.
funABI
.
payable
===
false
)
{
button
.
attr
(
'title'
,
(
title
+
' - transact (not payable)'
))
}
return
$contractProperty
...
...
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