Skip to content

Commit

Permalink
Change dir tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte Schütze committed Jul 23, 2019
1 parent 02a00a0 commit f17bd03
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.idea
build
web
deploy
sunrise.iml
gradle
.gradle
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,17 @@ task assembleWeb(type: Sync) {
}
})
}

into "${projectDir}/deploy"
from compileKotlin2Js.destinationDir
into "${projectDir}/web"
from "${projectDir}/html"

into('resources') {
from "${projectDir}/resources"
}

dependsOn classes
}

assemble.dependsOn assembleWeb

assemble.dependsOn assembleWeb
10 changes: 5 additions & 5 deletions credits.html → html/credits.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@
<body>
<div id="content">
<span class="credit-line">
<img src="resources/energy.svg" alt="Energy" class="resource-icon"/>
<img src="../resources/energy.svg" alt="Energy" class="resource-icon"/>
<span class="credit-text">"Energy" is CCBY Caitlin George (<a href="https://thenounproject.com/cgeorge1028">https://thenounproject.com/cgeorge1028</a>)</span>
</span>
<span class="credit-line">
<img src="resources/direct.svg" alt="No Nonsense" class="resource-icon"/>
<img src="../resources/direct.svg" alt="No Nonsense" class="resource-icon"/>
<span class="credit-text">"through" is CCBY luca fruzza (<a href="https://thenounproject.com/lucafruzza">https://thenounproject.com/lucafruzza</a>)</span>
</span>
<span class="credit-line">
<img src="resources/indirect.svg" alt="Thinking Outside The Box" class="resource-icon"/>
<img src="../resources/indirect.svg" alt="Thinking Outside The Box" class="resource-icon"/>
<span class="credit-text">"Detour Around" is CCBY Ben Davis (<a href="https://thenounproject.com/smashicons">https://thenounproject.com/smashicons</a>)</span>
</span>
<span class="credit-line">
<img src="resources/explosives.svg" alt="Explosives" class="resource-icon"/>
<img src="../resources/explosives.svg" alt="Explosives" class="resource-icon"/>
<span class="credit-text">"explosion" is CCBY Louis Hesse (<a href="https://thenounproject.com/louishesse">https://thenounproject.com/louishesse</a>)</span>
</span>
<span class="credit-line">
<img src="resources/door_broken.svg" alt="A Broken Door" class="resource-icon"/>
<img src="../resources/door_broken.svg" alt="A Broken Door" class="resource-icon"/>
<span class="credit-text">is based on "gate", CCBY Deemak Dasina (<a href="https://thenounproject.com/deemakdaksina">https://thenounproject.com/deemakdaksina</a>)</span>
</span>
</div>
Expand Down
11 changes: 8 additions & 3 deletions index.html → html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
<div class="interactions"></div>
</div>

<div id="inside" class="tab" style="display: none">
<div class="description"></div>
<div class="interactions"></div>
</div>

<div id="log" class="tab" style="display: none">
<div class="description"></div>
<div class="interactions"></div>
Expand All @@ -54,9 +59,9 @@
<a href="credits.html">Credits</a>
</div>

<script src="web/kotlin.js"></script>
<script src="web/kotlinx-html-js.js"></script>
<script src="web/sunrise.js"></script>
<script src="../scripts/kotlin.js"></script>
<script src="../scripts/kotlinx-html-js.js"></script>
<script src="../scripts/sunrise.js"></script>

</body>
</html>
File renamed without changes.

0 comments on commit f17bd03

Please sign in to comment.