first commit

This commit is contained in:
2025-04-25 22:19:01 +02:00
commit 777a29d3bc
35 changed files with 14665 additions and 0 deletions

7
webapp/view/App.view.xml Normal file
View File

@ -0,0 +1,7 @@
<mvc:View controllerName="mvcapp00124.controller.App"
displayBlock="true"
xmlns:mvc="sap.ui.core.mvc"
xmlns="sap.m">
<App id="app">
</App>
</mvc:View>

View File

@ -0,0 +1,15 @@
<mvc:View controllerName="mvcapp00124.controller.Enter"
displayBlock="true"
xmlns:mvc="sap.ui.core.mvc"
xmlns="sap.m">
<Page id="page" title="{i18n>title}">
<content>
<FlexBox alignItems="Center" justifyContent="Center" height="100%" width="100%">
<Button text="Show flights list using navTo" press="onPressNavTo"
class="sapUiSmallMargin" />
<Button text="Show flight list using getTargets" press="onPressTargets"
class="sapUiSmallMargin" />
</FlexBox>
</content>
</Page>
</mvc:View>

51
webapp/view/Main.view.xml Normal file
View File

@ -0,0 +1,51 @@
<mvc:View controllerName="mvcapp00124.controller.Main"
xmlns:mvc="sap.ui.core.mvc"
xmlns="sap.m">
<Page id="page" title="{i18n>title}">
<content>
<IconTabBar id="centralTabBar" class="sapUiResponsiveContentPadding" expandable="false">
<items>
<IconTabFilter text="Arrival">
<Table id="arrivalFlights" items="{/Flight}" growing="true">
<columns>
<Column>
<Text text="Flight ID" />
</Column>
<Column>
<Text text="From" />
</Column>
<Column>
<Text text="To" />
</Column>
<Column>
<Text text="Date" />
</Column>
<Column>
<Text text="Time" />
</Column>
<Column>
<Text text="Status" />
</Column>
</columns>
<items>
<ColumnListItem type="Navigation" press="handleLineItemPress">
<cells>
<Text text="{flightId}"/>
<Text text="{from}"/>
<Text text="{to}"/>
<Text text="{date}"/>
<Text text="{time}"/>
<Text text="{status}"/>
</cells>
</ColumnListItem>
</items>
</Table>
</IconTabFilter>
<IconTabFilter text="Departure">
<Text text="Here you will see departing flights soon!"/>
</IconTabFilter>
</items>
</IconTabBar>
</content>
</Page>
</mvc:View>