new directories backend and frontend, skeleton for frontend
							parent
							
								
									bd70af8e78
								
							
						
					
					
						commit
						b625d49a25
					
				| @ -0,0 +1,6 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project version="4"> | ||||
|   <component name="NodePackageJsonFileManager"> | ||||
|     <packageJsonPaths /> | ||||
|   </component> | ||||
| </project> | ||||
| @ -0,0 +1,8 @@ | ||||
| # Default ignored files | ||||
| /shelf/ | ||||
| /workspace.xml | ||||
| # Datasource local storage ignored files | ||||
| /dataSources/ | ||||
| /dataSources.local.xml | ||||
| # Editor-based HTTP Client requests | ||||
| /httpRequests/ | ||||
| @ -0,0 +1,6 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project version="4"> | ||||
|   <component name="ClojureProjectResolveSettings"> | ||||
|     <currentScheme>IDE</currentScheme> | ||||
|   </component> | ||||
| </project> | ||||
| @ -0,0 +1,10 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project version="4"> | ||||
|   <component name="DepsProjectsManager"> | ||||
|     <option name="projectFiles"> | ||||
|       <list> | ||||
|         <option value="file://$PROJECT_DIR$/backend/deps.edn" /> | ||||
|       </list> | ||||
|     </option> | ||||
|   </component> | ||||
| </project> | ||||
| @ -0,0 +1,15 @@ | ||||
| <component name="InspectionProjectProfileManager"> | ||||
|   <profile version="1.0"> | ||||
|     <option name="myName" value="Project Default" /> | ||||
|     <inspection_tool class="AndroidLintAllCaps" enabled="false" level="WARNING" enabled_by_default="false" /> | ||||
|     <inspection_tool class="AndroidLintTypographyDashes" enabled="false" level="WARNING" enabled_by_default="false" /> | ||||
|     <inspection_tool class="AndroidLintTypographyEllipsis" enabled="false" level="WARNING" enabled_by_default="false" /> | ||||
|     <inspection_tool class="AndroidLintTypographyFractions" enabled="false" level="WARNING" enabled_by_default="false" /> | ||||
|     <inspection_tool class="AndroidLintTypographyOther" enabled="false" level="WARNING" enabled_by_default="false" /> | ||||
|     <inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false"> | ||||
|       <option name="processCode" value="true" /> | ||||
|       <option name="processLiterals" value="true" /> | ||||
|       <option name="processComments" value="true" /> | ||||
|     </inspection_tool> | ||||
|   </profile> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: borkdude/dynaload:0.2.2"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/borkdude/dynaload/0.2.2/dynaload-0.2.2.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: borkdude/edamame:0.0.11-alpha.13"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/borkdude/edamame/0.0.11-alpha.13/edamame-0.0.11-alpha.13.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: com.bhauman/spell-spec:0.1.2"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/com/bhauman/spell-spec/0.1.2/spell-spec-0.1.2.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: com.cognitect/transit-clj:1.0.324"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/com/cognitect/transit-clj/1.0.324/transit-clj-1.0.324.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: com.cognitect/transit-java:1.0.343"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/com/cognitect/transit-java/1.0.343/transit-java-1.0.343.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: com.fasterxml.jackson.core/jackson-annotations:2.11.2"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.11.2/jackson-annotations-2.11.2.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: com.fasterxml.jackson.core/jackson-core:2.11.2"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.11.2/jackson-core-2.11.2.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: com.fasterxml.jackson.core/jackson-databind:2.11.2"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.11.2/jackson-databind-2.11.2.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: com.fasterxml.jackson.datatype/jackson-datatype-jsr310:2.11.2"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.2/jackson-datatype-jsr310-2.11.2.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: com.googlecode.json-simple/json-simple:1.1.1"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: commons-codec:1.11"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.11/commons-codec-1.11.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: commons-fileupload:1.4"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/commons-fileupload/commons-fileupload/1.4/commons-fileupload-1.4.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: commons-io:2.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.6/commons-io-2.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: crypto-equality:1.0.0"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/crypto-equality/crypto-equality/1.0.0/crypto-equality-1.0.0.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: crypto-random:1.2.0"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/crypto-random/crypto-random/1.2.0/crypto-random-1.2.0.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: expound:0.8.5"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/expound/expound/0.8.5/expound-0.8.5.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: fipp:0.6.23"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/fipp/fipp/0.6.23/fipp-0.6.23.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: hiccup:1.0.5"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/hiccup/hiccup/1.0.5/hiccup-1.0.5.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: http-kit:2.3.0"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/http-kit/http-kit/2.3.0/http-kit-2.3.0.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: javax.servlet/javax.servlet-api:3.1.0"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: javax.xml.bind/jaxb-api:2.3.0"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: lambdaisland/deep-diff:0.0-47"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/lambdaisland/deep-diff/0.0-47/deep-diff-0.0-47.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: meta-merge:1.0.0"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/meta-merge/meta-merge/1.0.0/meta-merge-1.0.0.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/jsonista:0.2.7"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/jsonista/0.2.7/jsonista-0.2.7.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/malli:0.0.1-20200924.063109-27"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/malli/0.0.1-SNAPSHOT/malli-0.0.1-SNAPSHOT.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/muuntaja:0.6.7"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/muuntaja/0.6.7/muuntaja-0.6.7.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit/0.5.6/reitit-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-core:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-core/0.5.6/reitit-core-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-dev:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-dev/0.5.6/reitit-dev-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-frontend:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-frontend/0.5.6/reitit-frontend-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-http:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-http/0.5.6/reitit-http-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-interceptors:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-interceptors/0.5.6/reitit-interceptors-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-malli:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-malli/0.5.6/reitit-malli-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-middleware:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-middleware/0.5.6/reitit-middleware-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-ring:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-ring/0.5.6/reitit-ring-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-schema:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-schema/0.5.6/reitit-schema-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-sieppari:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-sieppari/0.5.6/reitit-sieppari-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-spec:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-spec/0.5.6/reitit-spec-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-swagger:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-swagger/0.5.6/reitit-swagger-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/reitit-swagger-ui:0.5.6"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/reitit-swagger-ui/0.5.6/reitit-swagger-ui-0.5.6.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/ring-swagger-ui:3.25.3"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/ring-swagger-ui/3.25.3/ring-swagger-ui-3.25.3.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/schema-tools:0.12.2"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/schema-tools/0.12.2/schema-tools-0.12.2.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/sieppari:0.0.0-alpha13"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/sieppari/0.0.0-alpha13/sieppari-0.0.0-alpha13.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: metosin/spec-tools:0.10.4"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/metosin/spec-tools/0.10.4/spec-tools-0.10.4.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: mvxcvi/arrangement:1.2.0"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/mvxcvi/arrangement/1.2.0/arrangement-1.2.0.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: mvxcvi/puget:1.1.2"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/mvxcvi/puget/1.1.2/puget-1.1.2.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: org.clojure/clojure:1.10.1"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/org/clojure/clojure/1.10.1/clojure-1.10.1.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: org.clojure/core.rrb-vector:0.0.14"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/org/clojure/core.rrb-vector/0.0.14/core.rrb-vector-0.0.14.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: org.clojure/core.specs.alpha:0.2.44"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/org/clojure/core.specs.alpha/0.2.44/core.specs.alpha-0.2.44.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: org.clojure/spec.alpha:0.2.187"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/org/clojure/spec.alpha/0.2.187/spec.alpha-0.2.187.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: org.clojure/test.check:1.0.0"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/org/clojure/test.check/1.0.0/test.check-1.0.0.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: org.clojure/tools.reader:1.3.2"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/org/clojure/tools.reader/1.3.2/tools.reader-1.3.2.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: org.javassist/javassist:3.18.1-GA"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: org.msgpack/msgpack:0.6.12"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/org/msgpack/msgpack/0.6.12/msgpack-0.6.12.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: prismatic/schema:1.1.12"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/prismatic/schema/1.1.12/schema-1.1.12.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: ring/ring-anti-forgery:1.3.0"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/ring/ring-anti-forgery/1.3.0/ring-anti-forgery-1.3.0.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: ring/ring-codec:1.1.2"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/ring/ring-codec/1.1.2/ring-codec-1.1.2.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: ring/ring-core:1.8.1"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/ring/ring-core/1.8.1/ring-core-1.8.1.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: ring/ring-defaults:0.3.2"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/ring/ring-defaults/0.3.2/ring-defaults-0.3.2.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: ring/ring-headers:0.3.0"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/ring/ring-headers/0.3.0/ring-headers-0.3.0.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: ring/ring-ssl:0.3.0"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/ring/ring-ssl/0.3.0/ring-ssl-0.3.0.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,9 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="Deps: tech.droit/clj-diff:1.0.1"> | ||||
|     <CLASSES> | ||||
|       <root url="jar://$MAVEN_REPOSITORY$/tech/droit/clj-diff/1.0.1/clj-diff-1.0.1.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|   </library> | ||||
| </component> | ||||
| @ -0,0 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project version="4"> | ||||
|   <component name="JavaScriptSettings"> | ||||
|     <option name="languageLevel" value="ES6" /> | ||||
|   </component> | ||||
|   <component name="ProjectRootManager" version="2" project-jdk-name="11" project-jdk-type="JavaSDK" /> | ||||
| </project> | ||||
| @ -0,0 +1,10 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project version="4"> | ||||
|   <component name="ProjectModuleManager"> | ||||
|     <modules> | ||||
|       <module fileurl="file://$PROJECT_DIR$/backend/backend.iml" filepath="$PROJECT_DIR$/backend/backend.iml" /> | ||||
|       <module fileurl="file://$PROJECT_DIR$/frontend/frontend.iml" filepath="$PROJECT_DIR$/frontend/frontend.iml" /> | ||||
|       <module fileurl="file://$PROJECT_DIR$/.idea/open-retro.iml" filepath="$PROJECT_DIR$/.idea/open-retro.iml" /> | ||||
|     </modules> | ||||
|   </component> | ||||
| </project> | ||||
| @ -0,0 +1,9 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <module type="JAVA_MODULE" version="4"> | ||||
|   <component name="NewModuleRootManager" inherit-compiler-output="true"> | ||||
|     <exclude-output /> | ||||
|     <content url="file://$MODULE_DIR$" /> | ||||
|     <orderEntry type="inheritedJdk" /> | ||||
|     <orderEntry type="sourceFolder" forTests="false" /> | ||||
|   </component> | ||||
| </module> | ||||
| @ -0,0 +1,6 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project version="4"> | ||||
|   <component name="VcsDirectoryMappings"> | ||||
|     <mapping directory="" vcs="Git" /> | ||||
|   </component> | ||||
| </project> | ||||
| @ -0,0 +1 @@ | ||||
| 38495 | ||||
| @ -0,0 +1,74 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <module cursive.leiningen.project.DepsProjectsManager.isLeinModule="true" cursive.leiningen.project.LeiningenProjectsManager.displayName="backend" type="JAVA_MODULE" version="4"> | ||||
|   <component name="NewModuleRootManager" inherit-compiler-output="true"> | ||||
|     <exclude-output /> | ||||
|     <content url="file://$MODULE_DIR$"> | ||||
|       <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||||
|       <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" /> | ||||
|     </content> | ||||
|     <orderEntry type="inheritedJdk" /> | ||||
|     <orderEntry type="sourceFolder" forTests="false" /> | ||||
|     <orderEntry type="library" name="Deps: com.cognitect/transit-java:1.0.343" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-middleware:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: org.clojure/clojure:1.10.1" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: commons-codec:1.11" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: org.clojure/core.specs.alpha:0.2.44" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/muuntaja:0.6.7" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/ring-swagger-ui:3.25.3" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: com.fasterxml.jackson.core/jackson-databind:2.11.2" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: expound:0.8.5" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: org.clojure/spec.alpha:0.2.187" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: mvxcvi/puget:1.1.2" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: commons-fileupload:1.4" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: ring/ring-ssl:0.3.0" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/spec-tools:0.10.4" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: lambdaisland/deep-diff:0.0-47" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: com.googlecode.json-simple/json-simple:1.1.1" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: ring/ring-defaults:0.3.2" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: commons-io:2.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: fipp:0.6.23" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-swagger:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: com.fasterxml.jackson.core/jackson-core:2.11.2" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-ring:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: mvxcvi/arrangement:1.2.0" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-core:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: ring/ring-headers:0.3.0" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: com.fasterxml.jackson.core/jackson-annotations:2.11.2" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: hiccup:1.0.5" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: org.javassist/javassist:3.18.1-GA" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-schema:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: borkdude/dynaload:0.2.2" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: org.msgpack/msgpack:0.6.12" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: borkdude/edamame:0.0.11-alpha.13" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/malli:0.0.1-20200924.063109-27" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: com.cognitect/transit-clj:1.0.324" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: crypto-random:1.2.0" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: ring/ring-codec:1.1.2" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-malli:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/schema-tools:0.12.2" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: org.clojure/core.rrb-vector:0.0.14" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: ring/ring-anti-forgery:1.3.0" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: prismatic/schema:1.1.12" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: com.bhauman/spell-spec:0.1.2" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: crypto-equality:1.0.0" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-sieppari:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: org.clojure/tools.reader:1.3.2" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: javax.servlet/javax.servlet-api:3.1.0" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-http:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: org.clojure/test.check:1.0.0" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-frontend:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-spec:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/jsonista:0.2.7" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-swagger-ui:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: tech.droit/clj-diff:1.0.1" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-dev:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: ring/ring-core:1.8.1" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: meta-merge:1.0.0" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: com.fasterxml.jackson.datatype/jackson-datatype-jsr310:2.11.2" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: javax.xml.bind/jaxb-api:2.3.0" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/sieppari:0.0.0-alpha13" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: metosin/reitit-interceptors:0.5.6" level="project" /> | ||||
|     <orderEntry type="library" name="Deps: http-kit:2.3.0" level="project" /> | ||||
|   </component> | ||||
| </module> | ||||
| @ -0,0 +1,27 @@ | ||||
| { | ||||
|     "type": "application", | ||||
|     "source-directories": [ | ||||
|         "src" | ||||
|     ], | ||||
|     "elm-version": "0.19.1", | ||||
|     "dependencies": { | ||||
|         "direct": { | ||||
|             "elm/browser": "1.0.1", | ||||
|             "elm/core": "1.0.2", | ||||
|             "elm/html": "1.0.0", | ||||
|             "elm/http": "2.0.0", | ||||
|             "elm/json": "1.1.2", | ||||
|             "elm/url": "1.0.0" | ||||
|         }, | ||||
|         "indirect": { | ||||
|             "elm/bytes": "1.0.8", | ||||
|             "elm/file": "1.0.5", | ||||
|             "elm/time": "1.0.0", | ||||
|             "elm/virtual-dom": "1.0.2" | ||||
|         } | ||||
|     }, | ||||
|     "test-dependencies": { | ||||
|         "direct": {}, | ||||
|         "indirect": {} | ||||
|     } | ||||
| } | ||||
| @ -0,0 +1,9 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <module type="WEB_MODULE" version="4"> | ||||
|   <component name="NewModuleRootManager" inherit-compiler-output="true"> | ||||
|     <exclude-output /> | ||||
|     <content url="file://$MODULE_DIR$" /> | ||||
|     <orderEntry type="inheritedJdk" /> | ||||
|     <orderEntry type="sourceFolder" forTests="false" /> | ||||
|   </component> | ||||
| </module> | ||||
| @ -0,0 +1,103 @@ | ||||
| module Main exposing (main) | ||||
| 
 | ||||
| import Browser | ||||
| import Browser.Navigation as Nav | ||||
| import Html exposing (..) | ||||
| import Html.Attributes exposing (..) | ||||
| import Model exposing (Model) | ||||
| import Navigation | ||||
| import Url | ||||
| import Url.Parser | ||||
| 
 | ||||
| 
 | ||||
| main = | ||||
|     Browser.application | ||||
|         { init = init | ||||
|         , onUrlChange = UrlChanged | ||||
|         , onUrlRequest = LinkClicked | ||||
|         , subscriptions = subscriptions | ||||
|         , update = update | ||||
|         , view = view | ||||
|         } | ||||
| 
 | ||||
| 
 | ||||
| {-| currently no flags are needed | ||||
| that's the reason for the generic type and \_ as param name | ||||
| -} | ||||
| init : () -> Url.Url -> Nav.Key -> ( Model, Cmd Msg ) | ||||
| init _ url key = | ||||
|     let | ||||
|         route : Navigation.Route | ||||
|         route = | ||||
|             Url.Parser.parse Navigation.routeParser url | ||||
|                 |> Maybe.withDefault Navigation.Home | ||||
| 
 | ||||
|         model : Model | ||||
|         model = | ||||
|             Model.initialModel key route url | ||||
|     in | ||||
|     routeChanged route model | ||||
| 
 | ||||
| 
 | ||||
| subscriptions : Model -> Sub Msg | ||||
| subscriptions _ = | ||||
|     Sub.none | ||||
| 
 | ||||
| 
 | ||||
| type Msg | ||||
|     = UrlChanged Url.Url | ||||
|     | LinkClicked Browser.UrlRequest | ||||
| 
 | ||||
| 
 | ||||
| update : Msg -> Model -> ( Model, Cmd Msg ) | ||||
| update msg model = | ||||
|     case msg of | ||||
|         -- Navigation based messages | ||||
|         LinkClicked urlRequest -> | ||||
|             Navigation.linkClicked urlRequest model.key model | ||||
| 
 | ||||
|         UrlChanged url -> | ||||
|             case Url.Parser.parse Navigation.routeParser url of | ||||
|                 Just route -> | ||||
|                     routeChanged route model | ||||
| 
 | ||||
|                 Nothing -> | ||||
|                     -- TODO error reporting | ||||
|                     ( { model | route = Navigation.Home }, Cmd.none ) | ||||
| 
 | ||||
| 
 | ||||
| routeChanged : Navigation.Route -> Model -> ( Model, Cmd Msg ) | ||||
| routeChanged route model = | ||||
|     case route of | ||||
|         Navigation.Home -> | ||||
|             ( { model | route = route } | ||||
|             , Cmd.none | ||||
|             ) | ||||
| 
 | ||||
| 
 | ||||
| view : Model -> Browser.Document Msg | ||||
| view model = | ||||
|     { title = "OpenAgile" | ||||
|     , body = | ||||
|         [ h1 [] [ text "OpenAgile" ] | ||||
|         , div [ class "content" ] | ||||
|             [ nav [] [ Navigation.navTree ] | ||||
|             , main_ [] (appContent model) | ||||
|             ] | ||||
|         , node "link" [ rel "stylesheet", href "/assets/style.css" ] [] | ||||
|         ] | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
| appContent : Model -> List (Html Msg) | ||||
| appContent model = | ||||
|     case model.route of | ||||
|         Navigation.Home -> | ||||
|             homePage model | ||||
| 
 | ||||
| 
 | ||||
| homePage : Model -> List (Html Msg) | ||||
| homePage model = | ||||
|     [ h2 [] [ text "Home" ] | ||||
|     ] | ||||
| 
 | ||||
| @ -0,0 +1,45 @@ | ||||
| module Model exposing (Model, initialModel) | ||||
| 
 | ||||
| import Browser.Navigation as Nav | ||||
| import Http | ||||
| import Navigation | ||||
| import Url exposing (Url) | ||||
| 
 | ||||
| 
 | ||||
| type alias Model = | ||||
|     { key : Nav.Key | ||||
|     , apiHost : String | ||||
|     , route : Navigation.Route | ||||
|     , httpError : Maybe Http.Error | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
| initialModel : Nav.Key -> Navigation.Route -> Url -> Model | ||||
| initialModel key route url = | ||||
|     Model | ||||
|         key | ||||
|         ("//" ++ url.host ++ urlToPort url) | ||||
|         route | ||||
|         -- httpError | ||||
|         Maybe.Nothing | ||||
| 
 | ||||
| 
 | ||||
| urlToPort : Url -> String | ||||
| urlToPort url = | ||||
|     case url.port_ of | ||||
|         Just p -> | ||||
|             let | ||||
|                 isDebug = | ||||
|                     p == 8000 | ||||
| 
 | ||||
|                 portToUse = | ||||
|                     if isDebug then | ||||
|                         8080 | ||||
| 
 | ||||
|                     else | ||||
|                         p | ||||
|             in | ||||
|             ":" ++ String.fromInt portToUse | ||||
| 
 | ||||
|         Nothing -> | ||||
|             "" | ||||
| @ -0,0 +1,45 @@ | ||||
| module Navigation exposing (Route(..), linkClicked, navTree, routeParser) | ||||
| 
 | ||||
| import Browser | ||||
| import Browser.Navigation as Nav | ||||
| import Html exposing (Html, a, details, li, summary, text, ul) | ||||
| import Html.Attributes as Attr exposing (href) | ||||
| import Url | ||||
| import Url.Parser exposing ((</>), Parser, map, oneOf, s, top) | ||||
| 
 | ||||
| 
 | ||||
| linkClicked : Browser.UrlRequest -> Nav.Key -> model -> ( model, Cmd msg ) | ||||
| linkClicked urlRequest key model = | ||||
|     case urlRequest of | ||||
|         Browser.Internal url -> | ||||
|             ( model, Nav.pushUrl key (Url.toString url) ) | ||||
| 
 | ||||
|         Browser.External href -> | ||||
|             ( model, Nav.load href ) | ||||
| 
 | ||||
| 
 | ||||
| type Route | ||||
|     = Home | ||||
| 
 | ||||
| 
 | ||||
| routeParser : Parser (Route -> Route) Route | ||||
| routeParser = | ||||
|     oneOf | ||||
|         [ map Home top | ||||
|         --, map ShowTicket (s "tickets" </> Url.Parser.int) | ||||
|         ] | ||||
| 
 | ||||
| 
 | ||||
| navTree : Html msg | ||||
| navTree = | ||||
|     ul [] | ||||
|         [ li [] [ a [ href "/" ] [ text "Home" ] ] | ||||
|         , li [] [ a [ href "/projects" ] [ text "Projects" ] ] | ||||
|         , li [] | ||||
|             [ details [ Attr.attribute "open" "open" ] | ||||
|                 [ summary [] [ a [ href "/tickets" ] [ text "Tickets" ] ] | ||||
|                 , ul [] | ||||
|                     [ li [] [ a [ href "/tickets/new" ] [ text "New Ticket" ] ] ] | ||||
|                 ] | ||||
|             ] | ||||
|         ] | ||||
					Loading…
					
					
				
		Reference in New Issue
	
	 Josha von Gizycki
						Josha von Gizycki