|
|
@ -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: 85%; |
|
|
|
height: 80%; |
|
|
|
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` |
|
|
|
<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) { |
|
|
|
${infoText} |
|
|
|
${infoText} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</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> |
|
|
|
</div> |
|
|
|
` |
|
|
|
` |
|
|
|
container.appendChild(el) |
|
|
|
container.appendChild(el) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function link () { |
|
|
|
|
|
|
|
window.open('https://gitter.im/ethereum/remix') |
|
|
|
|
|
|
|
} |
|
|
|