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
4844ef7b
Commit
4844ef7b
authored
Aug 03, 2017
by
ninabreznik
Committed by
yann300
Aug 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style support tab - add info box with links and style chat
parent
604302af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
support-tab.js
src/app/support-tab.js
+24
-4
No files found.
src/app/support-tab.js
View file @
4844ef7b
...
@@ -11,22 +11,42 @@ var css = csjs`
...
@@ -11,22 +11,42 @@ var css = csjs`
padding: 2%;
padding: 2%;
margin-top: 1em;
margin-top: 1em;
padding-bottom: 3em;
padding-bottom: 3em;
display: flex;
flex-direction: column;
overflow: hidden;
}
}
.chatIframe {
.chatIframe {
width: 102%;
width: 102%;
height:
120
%;
height:
85
%;
border:
0
;
border:
2px dotted
${
styles
.
colors
.
lightGrey
}
;
overflow: hidden;
overflow: hidden;
transform:
scale(0.9);
}
.infoBox extends
${
styles
.
infoTextBox
}
{
}
}
`
`
// transform:
// translate(-8%, -12%) scale(0.8);
var
infoText
=
yo
`
<div>
Have a question, found a bug or want to propose a feature? Have a look at the
<a href='https://github.com/ethereum/browser-solidity/issues'> issues</a> or check out
<a href='https://remix.readthedocs.io/en/latest/'> the documentation page</a>.
Or join our chat below.
</div>
`
module
.
exports
=
supportTab
module
.
exports
=
supportTab
function
supportTab
(
container
,
appAPI
,
events
,
opts
)
{
function
supportTab
(
container
,
appAPI
,
events
,
opts
)
{
var
el
=
yo
`
var
el
=
yo
`
<div class="
${
css
.
supportTabView
}
"id="supportView">
<div class="
${
css
.
supportTabView
}
"id="supportView">
<div>
<div class="
${
css
.
infoBox
}
">
${
infoText
}
</div>
</div>
<iframe class="
${
css
.
chatIframe
}
" src='https://gitter.im/ethereum/remix/~embed'>
<iframe class="
${
css
.
chatIframe
}
" src='https://gitter.im/ethereum/remix/~embed'>
</div>
</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