forked from vergnet/application-amicale
Added ElusEtudiants website link
This commit is contained in:
parent
aa78b90e3c
commit
76aeb1599c
3 changed files with 46 additions and 0 deletions
|
@ -45,6 +45,11 @@ export default class SideBar extends React.Component<Props, State> {
|
|||
route: "AmicaleScreen",
|
||||
icon: "web",
|
||||
},
|
||||
{
|
||||
name: "Élus Étudiants",
|
||||
route: "ElusEtudScreen",
|
||||
icon: "alpha-e-box",
|
||||
},
|
||||
{
|
||||
name: "Wiketud",
|
||||
route: "WiketudScreen",
|
||||
|
|
|
@ -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},
|
||||
|
|
39
screens/ElusEtudScreen.js
Normal file
39
screens/ElusEtudScreen.js
Normal file
|
@ -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<Props> {
|
||||
|
||||
render() {
|
||||
const nav = this.props.navigation;
|
||||
return (
|
||||
<WebViewScreen
|
||||
navigation={nav}
|
||||
data={[
|
||||
{
|
||||
url: URL,
|
||||
icon: '',
|
||||
name: '',
|
||||
customJS: ''
|
||||
},
|
||||
]}
|
||||
headerTitle={'Élus Étudiants'}
|
||||
hasHeaderBackButton={true}
|
||||
hasSideMenu={false}/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue