pull/1/head
yann300 6 years ago
parent 2bbab93e22
commit f1da1d4374
  1. 3
      src/app/tabs/settings-tab.js
  2. 4
      src/app/ui/landing-page/generate.js
  3. 2
      src/framingService.js

@ -39,6 +39,7 @@ module.exports = class SettingsTab {
} }
profile () { profile () {
return { return {
displayName: 'settings',
name: 'settings', name: 'settings',
methods: [], methods: [],
events: [], events: [],
@ -84,7 +85,7 @@ module.exports = class SettingsTab {
<div class="${css.info} card"> <div class="${css.info} card">
<div class="card-body"> <div class="card-body">
<h6 class="${css.title} card-title">Home Page</h6> <h6 class="${css.title} card-title">Home Page</h6>
<button class="btn btn-primary sm-1" onclick="${() => { this._deps.appManager.ensureActivated('homepage') }}" > Load Home Page </button> <button class="btn btn-primary sm-1" onclick="${() => { this._deps.appManager.ensureActivated('home') }}" > Load Home Page </button>
<button class="btn btn-primary sm-1" onclick="${() => { window.open('https://gitter.im/ethereum/remix') }}"> Load Gitter Chat </button> <button class="btn btn-primary sm-1" onclick="${() => { window.open('https://gitter.im/ethereum/remix') }}"> Load Gitter Chat </button>
</div> </div>
</div>` </div>`

@ -5,8 +5,8 @@ import { defaultWorkspaces } from './workspace'
export function homepageProfile () { export function homepageProfile () {
return { return {
displayName: 'home page', displayName: 'home',
name: 'homepage', name: 'home',
methods: [], methods: [],
events: [], events: [],
description: ' - ', description: ' - ',

@ -15,7 +15,7 @@ export default {
// mainPanelApi.event.on('showing', (moduleName) => {}) // mainPanelApi.event.on('showing', (moduleName) => {})
verticalIconApi.select('fileExplorers') verticalIconApi.select('fileExplorers')
mainPanelApi.showContent('homepage') mainPanelApi.showContent('home')
resizeFeature.minimize() resizeFeature.minimize()
} }
} }

Loading…
Cancel
Save