diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.pbxproj b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f8408f8 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.pbxproj @@ -0,0 +1,338 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 63D90CA924EFD14600E5833A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63D90CA824EFD14600E5833A /* AppDelegate.swift */; }; + 63D90CAB24EFD14600E5833A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63D90CAA24EFD14600E5833A /* ViewController.swift */; }; + 63D90CAE24EFD14600E5833A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 63D90CAC24EFD14600E5833A /* Main.storyboard */; }; + 63D90CB024EFD16000E5833A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 63D90CAF24EFD16000E5833A /* Assets.xcassets */; }; + 63D90CB324EFD16100E5833A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 63D90CB124EFD16100E5833A /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 63D90CA524EFD14600E5833A /* skolehjem.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = skolehjem.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 63D90CA824EFD14600E5833A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 63D90CAA24EFD14600E5833A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 63D90CAD24EFD14600E5833A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 63D90CAF24EFD16000E5833A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 63D90CB224EFD16100E5833A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 63D90CB424EFD16300E5833A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 63D90CA224EFD14600E5833A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 63D90C9C24EFD14600E5833A = { + isa = PBXGroup; + children = ( + 63D90CA724EFD14600E5833A /* skolehjem */, + 63D90CA624EFD14600E5833A /* Products */, + ); + sourceTree = ""; + }; + 63D90CA624EFD14600E5833A /* Products */ = { + isa = PBXGroup; + children = ( + 63D90CA524EFD14600E5833A /* skolehjem.app */, + ); + name = Products; + sourceTree = ""; + }; + 63D90CA724EFD14600E5833A /* skolehjem */ = { + isa = PBXGroup; + children = ( + 63D90CA824EFD14600E5833A /* AppDelegate.swift */, + 63D90CAA24EFD14600E5833A /* ViewController.swift */, + 63D90CAC24EFD14600E5833A /* Main.storyboard */, + 63D90CAF24EFD16000E5833A /* Assets.xcassets */, + 63D90CB124EFD16100E5833A /* LaunchScreen.storyboard */, + 63D90CB424EFD16300E5833A /* Info.plist */, + ); + path = skolehjem; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 63D90CA424EFD14600E5833A /* skolehjem */ = { + isa = PBXNativeTarget; + buildConfigurationList = 63D90CB724EFD16400E5833A /* Build configuration list for PBXNativeTarget "skolehjem" */; + buildPhases = ( + 63D90CA124EFD14600E5833A /* Sources */, + 63D90CA224EFD14600E5833A /* Frameworks */, + 63D90CA324EFD14600E5833A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = skolehjem; + productName = skolehjem; + productReference = 63D90CA524EFD14600E5833A /* skolehjem.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 63D90C9D24EFD14600E5833A /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1010; + LastUpgradeCheck = 1010; + TargetAttributes = { + 63D90CA424EFD14600E5833A = { + CreatedOnToolsVersion = 10.1; + }; + }; + }; + buildConfigurationList = 63D90CA024EFD14600E5833A /* Build configuration list for PBXProject "skolehjem" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 63D90C9C24EFD14600E5833A; + productRefGroup = 63D90CA624EFD14600E5833A /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 63D90CA424EFD14600E5833A /* skolehjem */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 63D90CA324EFD14600E5833A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 63D90CB324EFD16100E5833A /* LaunchScreen.storyboard in Resources */, + 63D90CB024EFD16000E5833A /* Assets.xcassets in Resources */, + 63D90CAE24EFD14600E5833A /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 63D90CA124EFD14600E5833A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 63D90CAB24EFD14600E5833A /* ViewController.swift in Sources */, + 63D90CA924EFD14600E5833A /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 63D90CAC24EFD14600E5833A /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 63D90CAD24EFD14600E5833A /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 63D90CB124EFD16100E5833A /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 63D90CB224EFD16100E5833A /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 63D90CB524EFD16300E5833A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.1; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 63D90CB624EFD16300E5833A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.1; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 63D90CB824EFD16400E5833A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3ZZXP29LWT; + INFOPLIST_FILE = skolehjem/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = sde.odense.skolehjem; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 63D90CB924EFD16400E5833A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3ZZXP29LWT; + INFOPLIST_FILE = skolehjem/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = sde.odense.skolehjem; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 63D90CA024EFD14600E5833A /* Build configuration list for PBXProject "skolehjem" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 63D90CB524EFD16300E5833A /* Debug */, + 63D90CB624EFD16300E5833A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 63D90CB724EFD16400E5833A /* Build configuration list for PBXNativeTarget "skolehjem" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 63D90CB824EFD16400E5833A /* Debug */, + 63D90CB924EFD16400E5833A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 63D90C9D24EFD14600E5833A /* Project object */; +} diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..62c3e07 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..0c67376 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,5 @@ + + + + + diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/UserInterfaceState.xcuserstate b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..c8f7138 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/WorkspaceSettings.xcsettings b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..f25782d --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/WorkspaceSettings.xcsettings @@ -0,0 +1,18 @@ + + + + + BuildLocationStyle + UseAppPreferences + CustomBuildLocationType + RelativeToDerivedData + DerivedDataLocationStyle + Default + EnabledFullIndexStoreVisibility + + IssueFilterStyle + ShowActiveSchemeOnly + LiveSourceIssuesEnabled + + + diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/xcschememanagement.plist b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..2c96ccb --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + skolehjem.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/mobileapp/ios/skolehjem/skolehjem/AppDelegate.swift b/mobileapp/ios/skolehjem/skolehjem/AppDelegate.swift new file mode 100644 index 0000000..5cf62ae --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/AppDelegate.swift @@ -0,0 +1,45 @@ +// +// AppDelegate.swift +// skolehjem +// +// Created by macuser on 21/08/2020. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/Contents.json b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..289a23e --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,116 @@ +{ + "images" : [ + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "ic_launcher.png", + "scale" : "2x" + }, + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "ic_launcher-1.png", + "scale" : "3x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "ic_launcher-2.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "ic_launcher-3.png", + "scale" : "3x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "ic_launcher-12.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "ic_launcher-13.png", + "scale" : "3x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "ic_launcher-4.png", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "ic_launcher-5.png", + "scale" : "3x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "ic_launcher-7.png", + "scale" : "1x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "ic_launcher-6.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "ic_launcher-8.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "ic_launcher-9.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "ic_launcher-10.png", + "scale" : "1x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "ic_launcher-11.png", + "scale" : "2x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "ic_launcher-16.png", + "scale" : "1x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "ic_launcher-15.png", + "scale" : "2x" + }, + { + "size" : "83.5x83.5", + "idiom" : "ipad", + "filename" : "ic_launcher-17.png", + "scale" : "2x" + }, + { + "size" : "1024x1024", + "idiom" : "ios-marketing", + "filename" : "ic_launcher-14.png", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-1.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-1.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-1.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-10.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-10.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-10.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-11.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-11.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-11.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-12.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-12.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-12.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-13.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-13.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-13.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-14.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-14.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-14.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-15.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-15.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-15.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-16.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-16.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-16.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-17.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-17.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-17.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-2.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-2.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-2.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-3.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-3.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-3.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-4.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-4.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-4.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-5.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-5.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-5.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-6.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-6.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-6.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-7.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-7.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-7.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-8.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-8.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-8.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-9.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-9.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-9.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/Contents.json b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/Contents.json b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/Contents.json new file mode 100644 index 0000000..a3af472 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/Contents.json @@ -0,0 +1,55 @@ +{ + "images" : [ + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "ic_launcher.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "ic_launcher-4.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "ic_launcher-1.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "ic_launcher-5.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "ic_launcher-2.png", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "ic_launcher-3.png", + "minimum-system-version" : "7.0", + "subtype" : "retina4", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-1.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-1.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-1.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-2.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-2.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-2.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-3.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-3.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-3.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-4.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-4.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-4.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-5.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-5.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-5.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/Contents.json b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/Contents.json new file mode 100644 index 0000000..efc0f77 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/Contents.json @@ -0,0 +1,55 @@ +{ + "images" : [ + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "ic_launcher-playstore-1.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "ic_launcher-playstore-2.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "ic_launcher-playstore.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "ic_launcher-playstore-3.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "ic_launcher-playstore-4.png", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "ic_launcher-playstore-5.png", + "minimum-system-version" : "7.0", + "subtype" : "retina4", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-1.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-1.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-1.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-2.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-2.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-2.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-3.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-3.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-3.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-4.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-4.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-4.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-5.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-5.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-5.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/Contents.json b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/Contents.json new file mode 100644 index 0000000..233b16a --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "ic_launcher-playstore.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/ic_launcher-playstore.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/ic_launcher-playstore.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/ic_launcher-playstore.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Base.lproj/LaunchScreen.storyboard b/mobileapp/ios/skolehjem/skolehjem/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..bfa3612 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mobileapp/ios/skolehjem/skolehjem/Base.lproj/Main.storyboard b/mobileapp/ios/skolehjem/skolehjem/Base.lproj/Main.storyboard new file mode 100644 index 0000000..7e65df7 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Base.lproj/Main.storyboard @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mobileapp/ios/skolehjem/skolehjem/Info.plist b/mobileapp/ios/skolehjem/skolehjem/Info.plist new file mode 100644 index 0000000..1b57cd5 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Info.plist @@ -0,0 +1,49 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + SDE Skolehjem + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIcons + + CFBundleIcons~ipad + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + Main + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/mobileapp/ios/skolehjem/skolehjem/ViewController.swift b/mobileapp/ios/skolehjem/skolehjem/ViewController.swift new file mode 100644 index 0000000..95a520b --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/ViewController.swift @@ -0,0 +1,27 @@ +// +// ViewController.swift +// skolehjem +// +// Created by macuser on 21/08/2020. +// + +import UIKit +import WebKit + + +class ViewController: UIViewController { + @IBOutlet weak var webview: WKWebView! + + override func viewDidLoad() { + super.viewDidLoad(); + + let url = URL(string: "https://ekapp.sde.dk"); + let request = URLRequest(url: url!); + + webview.scrollView.isMultipleTouchEnabled = false; + webview.load(request); + } + + +} + diff --git a/skolehjem/public/css/normalize.css b/skolehjem/public/css/normalize.css new file mode 100644 index 0000000..f1ba570 --- /dev/null +++ b/skolehjem/public/css/normalize.css @@ -0,0 +1,351 @@ + +IntelliJ IDEAPhpStormWebStorm +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers. + */ + +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ + +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Remove the gray background on active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10. + */ + +img { + border-style: none; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} diff --git a/skolehjem/resources/views/admin/events/index.blade.php b/skolehjem/resources/views/admin/events/index.blade.php index c566f53..63fef18 100644 --- a/skolehjem/resources/views/admin/events/index.blade.php +++ b/skolehjem/resources/views/admin/events/index.blade.php @@ -10,6 +10,9 @@ @endsection @section("content") +
CreateOpret Aktivitet @@ -29,20 +32,22 @@ Delete @foreach($events as $event) - - {{ $event->name }} - {{ $event->accountable }} - {{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($event->date))->format('d/m/Y \k\l\. H:i') }} - $event ]) }}">Show - $event ]) }}">Update -
$event ]) }}" class="w-100 nostyle"> - @csrf - @method("delete") + @if (date('Y-m-d H:i', strtotime('-1 day')) < date('Y-m-d H:i', strtotime($event->date))) + + {{ $event->name }} + {{ $event->accountable }} + {{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($event->date))->format('d/m/Y \k\l\. H:i') }} + $event ]) }}">Show + $event ]) }}">Update + $event ]) }}" class="w-100 nostyle"> + @csrf + @method("delete") - -
- - + + + + + @endif @endforeach diff --git a/skolehjem/resources/views/admin/events/signups.blade.php b/skolehjem/resources/views/admin/events/signups.blade.php index 3bf7443..53a77ae 100644 --- a/skolehjem/resources/views/admin/events/signups.blade.php +++ b/skolehjem/resources/views/admin/events/signups.blade.php @@ -10,15 +10,7 @@ @endsection @section("content") -
- -
- @csrf - -
- -
- +
diff --git a/skolehjem/resources/views/admin/layout/base.blade.php b/skolehjem/resources/views/admin/layout/base.blade.php index 5b4e417..000d004 100644 --- a/skolehjem/resources/views/admin/layout/base.blade.php +++ b/skolehjem/resources/views/admin/layout/base.blade.php @@ -4,13 +4,10 @@ @yield("title") - - - -@yield("header") -
+ + + +@yield("header") +
diff --git a/skolehjem/resources/views/app/layout/base.blade.php b/skolehjem/resources/views/app/layout/base.blade.php index 69a0773..86c6d70 100644 --- a/skolehjem/resources/views/app/layout/base.blade.php +++ b/skolehjem/resources/views/app/layout/base.blade.php @@ -3,6 +3,7 @@ @yield("title") + @if(request()->cookie("mode") == "dark") @else diff --git a/skolehjem/resources/views/user/layout/base.blade.php b/skolehjem/resources/views/user/layout/base.blade.php index ae72ff2..7405152 100644 --- a/skolehjem/resources/views/user/layout/base.blade.php +++ b/skolehjem/resources/views/user/layout/base.blade.php @@ -3,6 +3,7 @@ @yield("title") +
Tilmeldtes Fornavn Tilmeldtes Efternavn