From 4c565c2294955227051e1cbb2c616c152d43b106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D0=B0=D1=82=D1=8C=D1=8F=D0=BD=D0=B0=20=D0=90=D1=80?= =?UTF-8?q?=D1=82=D0=B0=D0=BC=D0=BE=D0=BD=D0=BE=D0=B2=D0=B0?= Date: Wed, 18 Oct 2023 18:21:08 +0400 Subject: [PATCH] lab2 --- .idea/.name | 1 + .idea/gradle.xml | 1 + .idea/inspectionProfiles/Project_Default.xml | 41 +++ .idea/misc.xml | 1 - app/build.gradle.kts | 10 +- .../ulstu/is/pmu}/ExampleInstrumentedTest.kt | 10 +- app/src/main/AndroidManifest.xml | 6 +- .../ulstu/is/pmu/MainComposeActivity.kt} | 35 +- .../is/pmu/composeui/navigation/MainNavbar.kt | 141 ++++++++ .../is/pmu/composeui/navigation/Screen.kt | 62 ++++ .../java/ru/ulstu/is/pmu/login/LoginView.kt | 157 +++++++++ .../ru/ulstu/is/pmu/login/RegistrationView.kt | 193 +++++++++++ .../java/ru/ulstu/is/pmu/main/MainView.kt | 173 +++++++++ .../java/ru/ulstu/is/pmu/profile/Profile.kt | 142 ++++++++ .../ulstu/is/pmu/rent/composeui/CreateRent.kt | 182 ++++++++++ .../ulstu/is/pmu/rent/composeui/RentList.kt | 100 ++++++ .../ulstu/is/pmu/rent/composeui/RentView.kt | 78 +++++ .../java/ru/ulstu/is/pmu/rent/model/Rent.kt | 19 + .../is/pmu/ticket/composeui/TicketList.kt | 87 +++++ .../is/pmu/ticket/composeui/TicketView.kt | 80 +++++ .../ru/ulstu/is/pmu/ticket/model/Ticket.kt | 21 ++ .../ulstu/is/pmu}/ui/theme/Color.kt | 2 +- .../ulstu/is/pmu}/ui/theme/Theme.kt | 4 +- .../ulstu/is/pmu}/ui/theme/Type.kt | 2 +- .../java/ru/ulstu/is/pmu/user/model/User.kt | 20 ++ .../drawable/baseline_account_circle_24.xml | 5 + .../main/res/drawable/baseline_flight_24.xml | 5 + .../res/drawable/baseline_payments_24.xml | 5 + app/src/main/res/drawable/logo.png | Bin 0 -> 56284 bytes app/src/main/res/drawable/passport.png | Bin 0 -> 1518082 bytes app/src/main/res/values/colors.xml | 1 + app/src/main/res/values/strings.xml | 52 ++- app/src/main/res/values/themes.xml | 2 +- .../ulstu/is/pmu}/ExampleUnitTest.kt | 5 +- gradle.properties | 1 + gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew | 328 +++++++++++------- settings.gradle.kts | 3 +- 38 files changed, 1811 insertions(+), 166 deletions(-) create mode 100644 .idea/.name create mode 100644 .idea/inspectionProfiles/Project_Default.xml rename app/src/androidTest/java/{com/example/pmulabs => ru/ulstu/is/pmu}/ExampleInstrumentedTest.kt (85%) rename app/src/main/java/{com/example/pmulabs/MainActivity.kt => ru/ulstu/is/pmu/MainComposeActivity.kt} (53%) create mode 100644 app/src/main/java/ru/ulstu/is/pmu/composeui/navigation/MainNavbar.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/composeui/navigation/Screen.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/login/LoginView.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/login/RegistrationView.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/main/MainView.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/profile/Profile.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/rent/composeui/CreateRent.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/rent/composeui/RentList.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/rent/composeui/RentView.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/rent/model/Rent.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/ticket/composeui/TicketList.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/ticket/composeui/TicketView.kt create mode 100644 app/src/main/java/ru/ulstu/is/pmu/ticket/model/Ticket.kt rename app/src/main/java/{com/example/pmulabs => ru/ulstu/is/pmu}/ui/theme/Color.kt (76%) rename app/src/main/java/{com/example/pmulabs => ru/ulstu/is/pmu}/ui/theme/Theme.kt (97%) rename app/src/main/java/{com/example/pmulabs => ru/ulstu/is/pmu}/ui/theme/Type.kt (96%) create mode 100644 app/src/main/java/ru/ulstu/is/pmu/user/model/User.kt create mode 100644 app/src/main/res/drawable/baseline_account_circle_24.xml create mode 100644 app/src/main/res/drawable/baseline_flight_24.xml create mode 100644 app/src/main/res/drawable/baseline_payments_24.xml create mode 100644 app/src/main/res/drawable/logo.png create mode 100644 app/src/main/res/drawable/passport.png rename app/src/test/java/{com/example/pmulabs => ru/ulstu/is/pmu}/ExampleUnitTest.kt (81%) diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..06c0b50 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +pmu-demo \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 6d89050..ae388c2 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ +