Skip to content

Commit 46b58be

Browse files
committed
Final: Enhance app functionalities (#196)
1 parent 98c1119 commit 46b58be

File tree

12 files changed

+609
-242
lines changed

12 files changed

+609
-242
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ node_modules
66

77
# Ignore the Emscripten SDK
88
emsdk/
9-
/MovieVerse-Mobile/platforms/

MovieVerse-Mobile/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@
2020

2121
# Generated by package manager
2222
node_modules/
23-
platforms/
2423
.env

MovieVerse-Mobile/platforms/ios/CordovaLib/CordovaLib.xcodeproj/xcuserdata/davidnguyen.xcuserdatad/xcschemes/xcschememanagement.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<key>Cordova.xcscheme_^#shared#^_</key>
88
<dict>
99
<key>orderHint</key>
10-
<integer>2</integer>
10+
<integer>3</integer>
1111
</dict>
1212
<key>CordovaLib.xcscheme_^#shared#^_</key>
1313
<dict>
1414
<key>orderHint</key>
15-
<integer>3</integer>
15+
<integer>2</integer>
1616
</dict>
1717
</dict>
1818
</dict>

MovieVerse-Mobile/platforms/ios/MovieVerse.xcodeproj/project.pbxproj

+24-24
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
302D95F214D2391D003F00A1 /* MainViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 302D95F014D2391D003F00A1 /* MainViewController.xib */; };
1616
4E7CA2B6272ABB0D00177EF9 /* config.xml in Copy Staging Resources */ = {isa = PBXBuildFile; fileRef = F840E1F0165FE0F500CFE078 /* config.xml */; };
1717
4E7CA2B7272ABB0D00177EF9 /* www in Copy Staging Resources */ = {isa = PBXBuildFile; fileRef = 301BF56E109A69640062928A /* www */; };
18-
548AC44FD12B3F607FF63057 /* libPods-MovieVerse.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B83AFB6AD07BEDB724E33633 /* libPods-MovieVerse.a */; };
1918
6AFF5BF91D6E424B00AB3073 /* CDVLaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6AFF5BF81D6E424B00AB3073 /* CDVLaunchScreen.storyboard */; };
20-
78CD9E6CE102408682AA580A /* CDVStatusBar.m in Sources */ = {isa = PBXBuildFile; fileRef = 70CF6F3640CF4130AB2A385D /* CDVStatusBar.m */; };
19+
902245DDD2254F448A9BF964 /* CDVStatusBar.m in Sources */ = {isa = PBXBuildFile; fileRef = BC67A30402F84733A1E751A0 /* CDVStatusBar.m */; };
20+
D746C08788455F6DB2A618C8 /* libPods-MovieVerse.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 833A83926CDA28EAE4712CE0 /* libPods-MovieVerse.a */; };
2121
/* End PBXBuildFile section */
2222

2323
/* Begin PBXContainerItemProxy section */
@@ -61,6 +61,7 @@
6161

6262
/* Begin PBXFileReference section */
6363
0207DA571B56EA530066E2B4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
64+
0F65ADF226E4481094D822C5 /* Pods-MovieVerse.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MovieVerse.debug.xcconfig"; path = "Target Support Files/Pods-MovieVerse/Pods-MovieVerse.debug.xcconfig"; sourceTree = "<group>"; };
6465
1D3623240D0F684500981E51 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
6566
1D3623250D0F684500981E51 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
6667
1D6058910D05DD3D006BFB54 /* MovieVerse.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MovieVerse.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -74,13 +75,12 @@
7475
3047A5101AB8059700498E2A /* build-release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "build-release.xcconfig"; path = "cordova/build-release.xcconfig"; sourceTree = SOURCE_ROOT; };
7576
3047A5111AB8059700498E2A /* build.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = build.xcconfig; path = cordova/build.xcconfig; sourceTree = SOURCE_ROOT; };
7677
32CA4F630368D1EE00C91783 /* MovieVerse-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MovieVerse-Prefix.pch"; sourceTree = "<group>"; };
77-
34A1B8E64081AC554A7A24E1 /* Pods-MovieVerse.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MovieVerse.debug.xcconfig"; path = "Target Support Files/Pods-MovieVerse/Pods-MovieVerse.debug.xcconfig"; sourceTree = "<group>"; };
78-
35206A06AA0C485DB708F972 /* CDVStatusBar.h */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 4; includeInIndex = 0; lastKnownFileType = sourcecode.c.h; name = CDVStatusBar.h; path = "cordova-plugin-statusbar/CDVStatusBar.h"; sourceTree = "<group>"; };
7978
6AFF5BF81D6E424B00AB3073 /* CDVLaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = CDVLaunchScreen.storyboard; sourceTree = "<group>"; };
80-
70CF6F3640CF4130AB2A385D /* CDVStatusBar.m */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 4; includeInIndex = 0; lastKnownFileType = sourcecode.c.objc; name = CDVStatusBar.m; path = "cordova-plugin-statusbar/CDVStatusBar.m"; sourceTree = "<group>"; };
79+
74062F75BEF4783FB7829B11 /* Pods-MovieVerse.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MovieVerse.release.xcconfig"; path = "Target Support Files/Pods-MovieVerse/Pods-MovieVerse.release.xcconfig"; sourceTree = "<group>"; };
80+
833A83926CDA28EAE4712CE0 /* libPods-MovieVerse.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-MovieVerse.a"; sourceTree = BUILT_PRODUCTS_DIR; };
8181
8D1107310486CEB800E47090 /* MovieVerse-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "MovieVerse-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
82-
B83AFB6AD07BEDB724E33633 /* libPods-MovieVerse.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-MovieVerse.a"; sourceTree = BUILT_PRODUCTS_DIR; };
83-
DB4882ED1EE64C7487B364BE /* Pods-MovieVerse.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MovieVerse.release.xcconfig"; path = "Target Support Files/Pods-MovieVerse/Pods-MovieVerse.release.xcconfig"; sourceTree = "<group>"; };
82+
94A86CD8297F4440B594CED7 /* CDVStatusBar.h */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 4; includeInIndex = 0; lastKnownFileType = sourcecode.c.h; name = CDVStatusBar.h; path = "cordova-plugin-statusbar/CDVStatusBar.h"; sourceTree = "<group>"; };
83+
BC67A30402F84733A1E751A0 /* CDVStatusBar.m */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 4; includeInIndex = 0; lastKnownFileType = sourcecode.c.objc; name = CDVStatusBar.m; path = "cordova-plugin-statusbar/CDVStatusBar.m"; sourceTree = "<group>"; };
8484
EB87FDF31871DA8E0020F90C /* www */ = {isa = PBXFileReference; lastKnownFileType = folder; name = www; path = ../../www; sourceTree = "<group>"; };
8585
EB87FDF41871DAF40020F90C /* config.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = config.xml; path = ../../config.xml; sourceTree = "<group>"; };
8686
ED33DF2A687741AEAF9F8254 /* Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Bridging-Header.h"; sourceTree = "<group>"; };
@@ -93,7 +93,7 @@
9393
buildActionMask = 2147483647;
9494
files = (
9595
301BF552109A68D80062928A /* libCordova.a in Frameworks */,
96-
548AC44FD12B3F607FF63057 /* libPods-MovieVerse.a in Frameworks */,
96+
D746C08788455F6DB2A618C8 /* libPods-MovieVerse.a in Frameworks */,
9797
);
9898
runOnlyForDeploymentPostprocessing = 0;
9999
};
@@ -108,15 +108,6 @@
108108
name = Products;
109109
sourceTree = "<group>";
110110
};
111-
227635621B4B0F7AD98E6364 /* Pods */ = {
112-
isa = PBXGroup;
113-
children = (
114-
34A1B8E64081AC554A7A24E1 /* Pods-MovieVerse.debug.xcconfig */,
115-
DB4882ED1EE64C7487B364BE /* Pods-MovieVerse.release.xcconfig */,
116-
);
117-
path = Pods;
118-
sourceTree = "<group>";
119-
};
120111
29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
121112
isa = PBXGroup;
122113
children = (
@@ -130,7 +121,7 @@
130121
29B97317FDCFA39411CA2CEA /* Resources */,
131122
29B97323FDCFA39411CA2CEA /* Frameworks */,
132123
19C28FACFE9D520D11CA2CBB /* Products */,
133-
227635621B4B0F7AD98E6364 /* Pods */,
124+
43879EAB7D941E85B4AAFFCD /* Pods */,
134125
);
135126
name = CustomTemplate;
136127
sourceTree = "<group>";
@@ -164,7 +155,7 @@
164155
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
165156
isa = PBXGroup;
166157
children = (
167-
B83AFB6AD07BEDB724E33633 /* libPods-MovieVerse.a */,
158+
833A83926CDA28EAE4712CE0 /* libPods-MovieVerse.a */,
168159
);
169160
name = Frameworks;
170161
sourceTree = "<group>";
@@ -191,13 +182,22 @@
191182
307C750510C5A3420062BCA9 /* Plugins */ = {
192183
isa = PBXGroup;
193184
children = (
194-
70CF6F3640CF4130AB2A385D /* CDVStatusBar.m */,
195-
35206A06AA0C485DB708F972 /* CDVStatusBar.h */,
185+
BC67A30402F84733A1E751A0 /* CDVStatusBar.m */,
186+
94A86CD8297F4440B594CED7 /* CDVStatusBar.h */,
196187
);
197188
name = Plugins;
198189
path = MovieVerse/Plugins;
199190
sourceTree = SOURCE_ROOT;
200191
};
192+
43879EAB7D941E85B4AAFFCD /* Pods */ = {
193+
isa = PBXGroup;
194+
children = (
195+
0F65ADF226E4481094D822C5 /* Pods-MovieVerse.debug.xcconfig */,
196+
74062F75BEF4783FB7829B11 /* Pods-MovieVerse.release.xcconfig */,
197+
);
198+
path = Pods;
199+
sourceTree = "<group>";
200+
};
201201
EB87FDF11871DA420020F90C /* Staging */ = {
202202
isa = PBXGroup;
203203
children = (
@@ -214,7 +214,7 @@
214214
isa = PBXNativeTarget;
215215
buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "MovieVerse" */;
216216
buildPhases = (
217-
AD1E41065B2C6E738DE44E37 /* [CP] Check Pods Manifest.lock */,
217+
5347A5E6C7342DDE7345FBFC /* [CP] Check Pods Manifest.lock */,
218218
857339E32710CC9700A1C74C /* Copy Staging Resources */,
219219
1D60588D0D05DD3D006BFB54 /* Resources */,
220220
1D60588E0D05DD3D006BFB54 /* Sources */,
@@ -298,7 +298,7 @@
298298
/* End PBXResourcesBuildPhase section */
299299

300300
/* Begin PBXShellScriptBuildPhase section */
301-
AD1E41065B2C6E738DE44E37 /* [CP] Check Pods Manifest.lock */ = {
301+
5347A5E6C7342DDE7345FBFC /* [CP] Check Pods Manifest.lock */ = {
302302
isa = PBXShellScriptBuildPhase;
303303
buildActionMask = 2147483647;
304304
files = (
@@ -330,7 +330,7 @@
330330
1D60589B0D05DD56006BFB54 /* main.m in Sources */,
331331
1D3623260D0F684500981E51 /* AppDelegate.m in Sources */,
332332
302D95F114D2391D003F00A1 /* MainViewController.m in Sources */,
333-
78CD9E6CE102408682AA580A /* CDVStatusBar.m in Sources */,
333+
902245DDD2254F448A9BF964 /* CDVStatusBar.m in Sources */,
334334
);
335335
runOnlyForDeploymentPostprocessing = 0;
336336
};

MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/css/style.css

+35-16
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,16 @@ header h1 {
798798
}
799799
}
800800

801+
@media print {
802+
#mobileGoogleSignInBtn {
803+
display: none;
804+
}
805+
806+
#mobileProfileBtn {
807+
display: none;
808+
}
809+
}
810+
801811
.back-btn:hover {
802812
background-color: #ff8623;
803813
transition: 0.3s ease-in;
@@ -1282,6 +1292,15 @@ header h1 {
12821292
}
12831293
}
12841294

1295+
@media print {
1296+
.movie-image {
1297+
height: auto;
1298+
}
1299+
#actor-image {
1300+
height: auto;
1301+
}
1302+
}
1303+
12851304
.movie-header {
12861305
text-align: center;
12871306
align-self: center;
@@ -1456,7 +1475,7 @@ header h1 {
14561475
border-radius: 8px;
14571476
}
14581477

1459-
@media (max-width: 768px) {
1478+
@media all and (max-width: 768px) {
14601479
.company-item {
14611480
max-width: 125px;
14621481
}
@@ -2335,7 +2354,7 @@ strong {
23352354
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
23362355
}
23372356

2338-
@media (max-width: 700px) {
2357+
@media all and (max-width: 700px) {
23392358
#settings-container {
23402359
max-width: calc(100% - 10px);
23412360
margin: 10px 10px;
@@ -2359,7 +2378,7 @@ strong {
23592378
display: none;
23602379
}
23612380

2362-
@media (min-width: 768px) {
2381+
@media all and (min-width: 768px) {
23632382
#chat-button,
23642383
#settings-btn,
23652384
#movie-of-the-day-btn,
@@ -2394,7 +2413,7 @@ strong {
23942413
transition: transform 0.09s ease-in-out;
23952414
}
23962415

2397-
@media (max-width: 767px) {
2416+
@media all and (max-width: 767px) {
23982417
.mobile-bottom-bar {
23992418
display: flex;
24002419
}
@@ -2433,7 +2452,7 @@ strong {
24332452
color: #ecf0f1;
24342453
}
24352454

2436-
@media (max-width: 767px) {
2455+
@media all and (max-width: 767px) {
24372456
.mobile-bottom-bar {
24382457
display: flex;
24392458
}
@@ -2600,7 +2619,7 @@ strong {
26002619
text-align: center;
26012620
}
26022621

2603-
@media (max-width: 767px) {
2622+
@media all and (max-width: 767px) {
26042623
.genres + main + .pagination {
26052624
text-align: center;
26062625
}
@@ -2951,14 +2970,14 @@ ol li:hover {
29512970
border-radius: 5px;
29522971
}
29532972

2954-
@media (max-width: 705px) {
2973+
@media all and (max-width: 705px) {
29552974
#search-title,
29562975
#alt-title {
29572976
display: none;
29582977
}
29592978
}
29602979

2961-
@media (max-height: 930px) {
2980+
@media all and (max-height: 930px) {
29622981
#search-title,
29632982
#alt-title {
29642983
display: none;
@@ -2975,7 +2994,7 @@ ol li:hover {
29752994
align-self: flex-start;
29762995
}
29772996

2978-
@media (max-width: 767px) {
2997+
@media all and (max-width: 767px) {
29792998
#chatbotContainer {
29802999
top: 56.1%;
29813000
}
@@ -3077,7 +3096,7 @@ ol li:hover {
30773096
color: #ff8623;
30783097
}
30793098

3080-
@media (max-width: 982px) {
3099+
@media all and (max-width: 982px) {
30813100
#local-time {
30823101
display: none;
30833102
}
@@ -3148,7 +3167,7 @@ canvas {
31483167
cursor: pointer;
31493168
}
31503169

3151-
@media screen and (max-width: 900px) {
3170+
@media all and (max-width: 900px) {
31523171
.chart-container {
31533172
flex-direction: column;
31543173
}
@@ -3199,7 +3218,7 @@ canvas {
31993218
transition: 0.1s ease-in;
32003219
}
32013220

3202-
@media (max-width: 1000px) {
3221+
@media all and (max-width: 1000px) {
32033222
#comments-section {
32043223
margin-bottom: 210px;
32053224
}
@@ -3217,7 +3236,7 @@ canvas {
32173236
transition: 0.1s ease-in;
32183237
}
32193238

3220-
@media (max-width: 800px) {
3239+
@media all and (max-width: 800px) {
32213240
#my-heading {
32223241
margin-left: 0;
32233242
}
@@ -3628,7 +3647,7 @@ canvas {
36283647
background-color: #ff8623;
36293648
}
36303649

3631-
@media screen and (-webkit-min-device-pixel-ratio: 0) {
3650+
@media all and (-webkit-min-device-pixel-ratio: 0) {
36323651
body {
36333652
background-size: auto;
36343653
background-repeat: repeat;
@@ -3936,7 +3955,7 @@ body {
39363955
color: purple;
39373956
}
39383957

3939-
@media (max-width: 800px) {
3958+
@media all and (max-width: 800px) {
39403959
.company-details-container {
39413960
display: flex;
39423961
flex-direction: column;
@@ -4207,7 +4226,7 @@ footer {
42074226
color: white;
42084227
}
42094228

4210-
@media (max-width: 900px) {
4229+
@media all and (max-width: 900px) {
42114230
.notification-modal {
42124231
right: 12.5px;
42134232
}

0 commit comments

Comments
 (0)