This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################################################### | |
| > server/index.js | |
| const { | |
| Core, | |
| CoreServiceProvider, | |
| PackageServiceProvider, | |
| VFSServiceProvider, | |
| AuthServiceProvider, | |
| SettingsServiceProvider |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Widget} from '../osjs-widgets'; | |
| //import {Widget} from '@osjs/widgets'; | |
| import {h, app} from 'hyperapp'; | |
| import {TextField} from '@osjs/gui'; | |
| import flag from './chart1.jpeg'; | |
| //import flag from './chart2.png'; | |
| //import flag from './chart3.jpeg'; | |
| const img = new Image(); | |
| img.src = flag; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const state = (bus, core, proc, win) => ({ | |
| path: '', | |
| status: '', | |
| history: [], | |
| historyIndex: -1, | |
| minimalistic: false, | |
| mountview: listView.state({ | |
| class: 'osjs-gui-fill', | |
| columns: ['Name'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default | |
| { | |
| auth: { | |
| ui: { | |
| title: 'Please login to Dashboard' | |
| } | |
| }, | |
| languages: { | |
| fa_FA: 'Persian', | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Widget} from '@osjs/widgets'; | |
| export default class MyWidget extends Widget { | |
| constructor(core, options) { | |
| super(core, options, { | |
| // This widget uses a canvas | |
| canvas: true, | |
| fps: 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Verifying my Blockstack ID is secured with the address 1DqPSSpRhprKCuCn3vzaQcS4RM2TBUD4Wz https://explorer.blockstack.org/address/1DqPSSpRhprKCuCn3vzaQcS4RM2TBUD4Wz |