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
2aa06abc
Commit
2aa06abc
authored
Aug 08, 2017
by
ninabreznik
Committed by
yann300
Aug 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add chat title and link to Solidity
parent
4844ef7b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
3 deletions
+41
-3
support-tab.js
src/app/support-tab.js
+41
-3
No files found.
src/app/support-tab.js
View file @
2aa06abc
...
@@ -15,9 +15,37 @@ var css = csjs`
...
@@ -15,9 +15,37 @@ var css = csjs`
flex-direction: column;
flex-direction: column;
overflow: hidden;
overflow: hidden;
}
}
.chat extends
${
styles
.
displayBox
}
{
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
}
.chatTitle {
cursor: pointer;
height: 40px;
width: 92%;
display: flex;
align-items: center;
justify-content: center;
border-radius: 3px;
background-color: white;
border: 2px dotted
${
styles
.
colors
.
lightGrey
}
;
}
.icon {
height: 70%;
margin-right: 2%;
}
.chatTitleText {
font-size: 13px;
font-weight: bold;
}
.chatTitleText {
opacity: 0.8;
}
.chatIframe {
.chatIframe {
width: 102%;
width: 102%;
height: 8
5
%;
height: 8
0
%;
border: 2px dotted
${
styles
.
colors
.
lightGrey
}
;
border: 2px dotted
${
styles
.
colors
.
lightGrey
}
;
overflow: hidden;
overflow: hidden;
transform:
transform:
...
@@ -32,8 +60,8 @@ var infoText = yo`
...
@@ -32,8 +60,8 @@ var infoText = yo`
<div>
<div>
Have a question, found a bug or want to propose a feature? Have a look at the
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://github.com/ethereum/browser-solidity/issues'> issues</a> or check out
<a href='https://remix.readthedocs.io/en/latest/'> the documentation page
</a>.
<a href='https://remix.readthedocs.io/en/latest/'> the documentation page
on Remix</a> or
Or join our chat below
.
<a href='https://solidity.readthedocs.io/en/latest/'> Solidity</a>
.
</div>
</div>
`
`
...
@@ -47,8 +75,18 @@ function supportTab (container, appAPI, events, opts) {
...
@@ -47,8 +75,18 @@ function supportTab (container, appAPI, events, opts) {
${
infoText
}
${
infoText
}
</div>
</div>
</div>
</div>
<div class="
${
css
.
chat
}
">
<div class="
${
css
.
chatTitle
}
" onclick=
${
link
}
>
<img class="
${
css
.
icon
}
" title="Solidity" src="assets/img/remix_logo_512x512.svg">
<div class="
${
css
.
chatTitleText
}
">ethereum/remix community chat</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>
</div>
`
`
container
.
appendChild
(
el
)
container
.
appendChild
(
el
)
}
}
function
link
()
{
window
.
open
(
'https://gitter.im/ethereum/remix'
)
}
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