diff --git a/components/Sidebar.js b/components/Sidebar.js index 5756f55..17f2bce 100644 --- a/components/Sidebar.js +++ b/components/Sidebar.js @@ -45,6 +45,11 @@ export default class SideBar extends React.Component { route: "AmicaleScreen", icon: "web", }, + { + name: "Élus Étudiants", + route: "ElusEtudScreen", + icon: "alpha-e-box", + }, { name: "Wiketud", route: "WiketudScreen", diff --git a/navigation/AppNavigator.js b/navigation/AppNavigator.js index f9fb664..3327e4a 100644 --- a/navigation/AppNavigator.js +++ b/navigation/AppNavigator.js @@ -12,6 +12,7 @@ import SelfMenuScreen from '../screens/SelfMenuScreen'; import TutorInsaScreen from "../screens/TutorInsaScreen"; import AmicaleScreen from "../screens/AmicaleScreen"; import WiketudScreen from "../screens/WiketudScreen"; +import ElusEtudScreen from "../screens/ElusEtudScreen"; import AvailableRoomScreen from "../screens/AvailableRoomScreen"; import DebugScreen from '../screens/DebugScreen'; import {fromRight} from "react-navigation-transitions"; @@ -33,6 +34,7 @@ function createAppContainerWithInitialRoute(initialRoute: string) { TutorInsaScreen: {screen: TutorInsaScreen}, AmicaleScreen: {screen: AmicaleScreen}, WiketudScreen: {screen: WiketudScreen}, + ElusEtudScreen: {screen: ElusEtudScreen}, AvailableRoomScreen: {screen: AvailableRoomScreen}, ProxiwashAboutScreen: {screen: ProxiwashAboutScreen}, ProximoAboutScreen: {screen: ProximoAboutScreen}, diff --git a/screens/ElusEtudScreen.js b/screens/ElusEtudScreen.js new file mode 100644 index 0000000..2843f6d --- /dev/null +++ b/screens/ElusEtudScreen.js @@ -0,0 +1,39 @@ +// @flow + +import * as React from 'react'; +import ThemeManager from "../utils/ThemeManager"; +import WebViewScreen from "../components/WebViewScreen"; + +type Props = { + navigation: Object, +} + + +const URL = 'https://srv-falcon.etud.insa-toulouse.fr/~eeinsat/'; + +/** + * Class defining the app's planex screen. + * This screen uses a webview to render the planex page + */ +export default class ElusEtudScreen extends React.Component { + + render() { + const nav = this.props.navigation; + return ( + + ); + } +} +