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
604302af
Commit
604302af
authored
Aug 02, 2017
by
ninabreznik
Committed by
yann300
Aug 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create support tab and add chat
parent
01a31054
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
5 deletions
+45
-5
browser-solidity.css
assets/css/browser-solidity.css
+6
-2
righthand-panel.js
src/app/panels/righthand-panel.js
+5
-3
support-tab.js
src/app/support-tab.js
+34
-0
No files found.
assets/css/browser-solidity.css
View file @
604302af
...
@@ -130,8 +130,12 @@
...
@@ -130,8 +130,12 @@
display
:
block
;
display
:
block
;
}
}
#righthand-panel
#optionViews
.txView
input
,
#header
#optionViews
.supportView
#supportView
{
#righthand-panel
#optionViews
.txView
select
{
display
:
block
;
}
#header
#optionViews
.txView
input
,
#header
#optionViews
.txView
select
{
max-width
:
13em
;
max-width
:
13em
;
padding
:
0.3em
;
padding
:
0.3em
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
src/app/panels/righthand-panel.js
View file @
604302af
...
@@ -7,6 +7,7 @@ var settingsTab = require('../tabs/settings-tab')
...
@@ -7,6 +7,7 @@ var settingsTab = require('../tabs/settings-tab')
var
analysisTab
=
require
(
'../tabs/analysis-tab'
)
var
analysisTab
=
require
(
'../tabs/analysis-tab'
)
var
debuggerTab
=
require
(
'../tabs/debugger-tab'
)
var
debuggerTab
=
require
(
'../tabs/debugger-tab'
)
var
filesTab
=
require
(
'../tabs/files-tab'
)
var
filesTab
=
require
(
'../tabs/files-tab'
)
var
supportTab
=
require
(
'../tabs/support-tab'
)
// -------------- styling ----------------------
// -------------- styling ----------------------
var
csjs
=
require
(
'csjs-inject'
)
var
csjs
=
require
(
'csjs-inject'
)
...
@@ -31,7 +32,7 @@ var css = csjs`
...
@@ -31,7 +32,7 @@ var css = csjs`
bottom : 0;
bottom : 0;
cursor : col-resize;
cursor : col-resize;
z-index : 999;
z-index : 999;
border-left : 2px solid hsla(215, 81%, 79%, .3);
border-left : 2px solid hsla(215, 81%, 79%, .3);
}
}
.ghostbar {
.ghostbar {
width : 3px;
width : 3px;
...
@@ -44,7 +45,7 @@ var css = csjs`
...
@@ -44,7 +45,7 @@ var css = csjs`
bottom : 0;
bottom : 0;
}
}
.panel {
.panel {
height : 100%;
height : 100%;
}
}
.header {
.header {
height : 100%;
height : 100%;
...
@@ -70,7 +71,7 @@ function RighthandPanel (appAPI, events, opts) {
...
@@ -70,7 +71,7 @@ function RighthandPanel (appAPI, events, opts) {
<li class="publishView" title="Publish" >Files</li>
<li class="publishView" title="Publish" >Files</li>
<li class="debugView" title="Debugger">Debugger</li>
<li class="debugView" title="Debugger">Debugger</li>
<li class="staticanalysisView" title="Static Analysis">Analysis</li>
<li class="staticanalysisView" title="Static Analysis">Analysis</li>
<li
id="helpButton"><a href="https://remix.readthedocs.org" target="_blank" title="Open Documentation">Docs</a>
</li>
<li
class="supportView" title="Help and support">Support
</li>
</ul>
</ul>
`
`
self
.
_view
.
dragbar
=
yo
`<div id="dragbar" class=
${
css
.
dragbar
}
></div>`
self
.
_view
.
dragbar
=
yo
`<div id="dragbar" class=
${
css
.
dragbar
}
></div>`
...
@@ -92,6 +93,7 @@ function RighthandPanel (appAPI, events, opts) {
...
@@ -92,6 +93,7 @@ function RighthandPanel (appAPI, events, opts) {
analysisTab
(
optionViews
,
appAPI
,
events
,
opts
)
analysisTab
(
optionViews
,
appAPI
,
events
,
opts
)
debuggerTab
(
optionViews
,
appAPI
,
events
,
opts
)
debuggerTab
(
optionViews
,
appAPI
,
events
,
opts
)
filesTab
(
optionViews
,
appAPI
,
events
,
opts
)
filesTab
(
optionViews
,
appAPI
,
events
,
opts
)
supportTab
(
optionViews
,
appAPI
,
events
,
opts
)
self
.
render
=
function
()
{
return
self
.
_view
.
element
}
self
.
render
=
function
()
{
return
self
.
_view
.
element
}
...
...
src/app/support-tab.js
0 → 100644
View file @
604302af
var
yo
=
require
(
'yo-yo'
)
// -------------- styling ----------------------
var
csjs
=
require
(
'csjs-inject'
)
var
styleGuide
=
require
(
'./style-guide'
)
var
styles
=
styleGuide
()
var
css
=
csjs
`
.supportTabView {
height: 100vh;
padding: 2%;
margin-top: 1em;
padding-bottom: 3em;
}
.chatIframe {
width: 102%;
height: 120%;
border: 0;
overflow: hidden;
}
`
// transform:
// translate(-8%, -12%) scale(0.8);
module
.
exports
=
supportTab
function
supportTab
(
container
,
appAPI
,
events
,
opts
)
{
var
el
=
yo
`
<div class="
${
css
.
supportTabView
}
"id="supportView">
<iframe class="
${
css
.
chatIframe
}
" src='https://gitter.im/ethereum/remix/~embed'>
</div>
`
container
.
appendChild
(
el
)
}
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