Application Android et IOS pour l'amicale des élèves
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AvailableRoomScreen.js 908B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // @flow
  2. import * as React from 'react';
  3. import ThemeManager from "../utils/ThemeManager";
  4. import WebViewScreen from "../components/WebViewScreen";
  5. type Props = {
  6. navigation: Object,
  7. }
  8. const URL = 'http://planex.insa-toulouse.fr/salles.php';
  9. /**
  10. * Class defining the app's planex screen.
  11. * This screen uses a webview to render the planex page
  12. */
  13. export default class AvailableRoomScreen extends React.Component<Props> {
  14. customInjectedJS: string;
  15. constructor() {
  16. super();
  17. this.customInjectedJS = '';
  18. }
  19. render() {
  20. const nav = this.props.navigation;
  21. return (
  22. <WebViewScreen
  23. navigation={nav}
  24. url={URL}
  25. customInjectedJS={this.customInjectedJS}
  26. headerTitle={'SAlles dispo'}
  27. hasHeaderBackButton={true}
  28. hasSideMenu={false}/>
  29. );
  30. }
  31. }