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
3e8ccdf6
Commit
3e8ccdf6
authored
Feb 19, 2019
by
Iuri Matias
Committed by
yann300
Mar 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify support tab render
parent
8d6abf3c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
support-tab.js
src/app/tabs/support-tab.js
+13
-2
No files found.
src/app/tabs/support-tab.js
View file @
3e8ccdf6
...
@@ -37,6 +37,7 @@ class SupportTab extends ApiFactory {
...
@@ -37,6 +37,7 @@ class SupportTab extends ApiFactory {
this
.
gitterIframe
=
yo
`<div></div>`
this
.
gitterIframe
=
yo
`<div></div>`
generateRemixdUI
()
{
const
remixd
=
yo
`
const
remixd
=
yo
`
<div class="
${
css
.
info
}
">
<div class="
${
css
.
info
}
">
<div class=
${
css
.
title
}
>Accessing local files</div>
<div class=
${
css
.
title
}
>Accessing local files</div>
...
@@ -49,7 +50,10 @@ class SupportTab extends ApiFactory {
...
@@ -49,7 +50,10 @@ class SupportTab extends ApiFactory {
<div class="
${
css
.
crow
}
"><a target="_blank" href="https://remix.readthedocs.io/en/latest/tutorial_remixd_filesystem">http://remix.readthedocs.io/en/latest/tutorial_remixd_filesystem.html</a></div>
<div class="
${
css
.
crow
}
"><a target="_blank" href="https://remix.readthedocs.io/en/latest/tutorial_remixd_filesystem">http://remix.readthedocs.io/en/latest/tutorial_remixd_filesystem.html</a></div>
<div class="
${
css
.
crow
}
">Installation: <pre class=
${
css
.
remixdinstallation
}
>npm install remixd -g</pre></div>
<div class="
${
css
.
crow
}
">Installation: <pre class=
${
css
.
remixdinstallation
}
>npm install remixd -g</pre></div>
</div>`
</div>`
return
remixd
}
generateLocalRemixdUI
()
{
const
localremixd
=
yo
`
const
localremixd
=
yo
`
<div class="
${
css
.
info
}
">
<div class="
${
css
.
info
}
">
<div class=
${
css
.
title
}
>Running Remix locally</div>
<div class=
${
css
.
title
}
>Running Remix locally</div>
...
@@ -63,6 +67,13 @@ class SupportTab extends ApiFactory {
...
@@ -63,6 +67,13 @@ class SupportTab extends ApiFactory {
</div>
</div>
<a target="_blank" href="https://github.com/horizon-games/remix-app">https://github.com/horizon-games/remix-app</a>
<a target="_blank" href="https://github.com/horizon-games/remix-app">https://github.com/horizon-games/remix-app</a>
</div>`
</div>`
return
localremixd
}
render
()
{
if
(
this
.
el
)
return
this
.
el
this
.
gitterIframe
=
yo
`<div></div>`
this
.
el
=
yo
`
this
.
el
=
yo
`
<div class="
${
css
.
supportTabView
}
" id="supportView">
<div class="
${
css
.
supportTabView
}
" id="supportView">
...
@@ -78,8 +89,8 @@ class SupportTab extends ApiFactory {
...
@@ -78,8 +89,8 @@ class SupportTab extends ApiFactory {
<
/div
>
<
/div
>
$
{
this
.
gitterIframe
}
$
{
this
.
gitterIframe
}
</div>
</div>
${
remixd
}
${
this
.
generateRemixdUI
()
}
${
localremixd
}
${
this
.
generateLocalRemixdUI
()
}
</div>`
</div>`
return
this
.
el
return
this
.
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