|
|
|
@ -15,9 +15,37 @@ var css = csjs` |
|
|
|
|
flex-direction: column; |
|
|
|
|
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 { |
|
|
|
|
width: 102%; |
|
|
|
|
height: 85%; |
|
|
|
|
height: 80%; |
|
|
|
|
border: 2px dotted ${styles.colors.lightGrey}; |
|
|
|
|
overflow: hidden; |
|
|
|
|
transform: |
|
|
|
@ -32,8 +60,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. |
|
|
|
|
<a href='https://remix.readthedocs.io/en/latest/'> the documentation page on Remix</a> or |
|
|
|
|
<a href='https://solidity.readthedocs.io/en/latest/'> Solidity</a>. |
|
|
|
|
</div> |
|
|
|
|
` |
|
|
|
|
|
|
|
|
@ -47,8 +75,18 @@ function supportTab (container, appAPI, events, opts) { |
|
|
|
|
${infoText} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<iframe class="${css.chatIframe}" src='https://gitter.im/ethereum/remix/~embed'> |
|
|
|
|
<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'> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
` |
|
|
|
|
container.appendChild(el) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function link () { |
|
|
|
|
window.open('https://gitter.im/ethereum/remix') |
|
|
|
|
} |
|
|
|
|