UNPKG

yrexpert-js

Version:

L'interface Web pour votre système expert...

96 lines (69 loc) 2.76 kB
/* !----------------------------------------------------------------------------! ! ! ! YRexpert : (Your Relay) Système Expert sous Mumps GT.M et GNU/Linux ! ! Copyright (C) 2001-2015 by Hamid LOUAKED (HL). ! ! ! !----------------------------------------------------------------------------! */ "use strict" var React = require('react'); var ReactBootstrap = require('react-bootstrap'); //var Inspector = require('react-json-inspector'); //const findUp = require('find-up') //const testPath = findUp.sync(['App.s', 'index.js']) //console.log('-----tesPath=' + JSON.stringify(testPath)); var { Button, Glyphicon, OverlayTrigger, Panel, Tooltip, Image, Carousel, Media, Jumbotron, Modal } = ReactBootstrap; var RechercherFichierPanel = React.createClass({ getInitialState: function() { return { status: 'initial' } }, componentWillMount: function() { this.controller = require('./controller-RechercherFichierPanel')(this.props.controller, this); this.title = ( <h1>RechercherFichier</h1> ); }, componentWillReceiveProps: function(newProps) { this.onNewProps(newProps); }, render: function() { //var componentPath = this.controller.updateComponentPath(this); return ( <Panel collapsible expanded={this.expanded} header={this.title} bsStyle="primary" > <Jumbotron> <h1>Bonjour !</h1> <Media> <Media.Left></Media.Left> <Media.Body> <img width={64} height={64} src="./images/yrexpert_logo.png" alt="Image"/> <Media.Heading>yrexpert-js</Media.Heading> <p>Le Syst&egrave;me Expert YRexpert est libre et fonctionne sous Mumps <a href="http://www.fisglobal.com/products-technologyplatforms-gtm" target="_blank">GT.M</a> et GNU/Linux. <a href="https://www.yrelay.fr/" target="_blank">Yrelay</a> utilise de nombreuses contributions communautaires libres&nbsp;notamment l'application <a href="http://www.mgateway.com/" target="_blank">EWD 3</a>.</p> <p>Comme tous les syst&egrave;mes experts, YRexpert se pr&eacute;sente comme une coquille vide qu&rsquo;il va falloir compl&eacute;ter.</p> </Media.Body> </Media> <p><Button bsStyle="primary" href="https://www.yrelay.fr/" target="_blank">En savoir plus</Button></p> </Jumbotron> </Panel> ); } }); module.exports = RechercherFichierPanel;