Last active
August 16, 2018 17:03
-
-
Save inakianduaga/1a4f41e12528b04dc0e5adebcb10477c to your computer and use it in GitHub Desktop.
Redux for vanillaJS Medium.com article - Scala Play backend view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@() | |
<div id="some-dom-id" class="gallery"> | |
<h5>Redux Example </h5> | |
<div class="image-wrapper"> | |
@* Generate list of random images for demo purposes *@ | |
@for(i <- 1 to 5) { | |
<img src="https://source.unsplash.com/random/300x300?sig=@{i}" /> | |
} | |
</div> | |
<div> | |
<div class="filter-selection"> | |
<label for="filter-selection">Choose a filter</label> | |
<select id="filter-selection" disabled> | |
<option value="none" selected>-- None --</option> | |
@for(filter <- List("greyscale", "sepia", "invert", "tint", "saturation")) { | |
<option value="@{filter}">@{filter}</option> | |
} | |
</select> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment