X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FVariants.vue;h=8de335e6af5d7f23201067eed8feda8787322caa;hb=7a0c1b7e33a346195caebfdfa6489e7c6d0457e6;hp=e5d02856f5ade3bdcb2de8e47ecca8cabf5ba1c1;hpb=58bf4670c6bf01d94fe1f798cd5d63493d15e196;p=vchess.git
diff --git a/client/src/views/Variants.vue b/client/src/views/Variants.vue
index e5d02856..8de335e6 100644
--- a/client/src/views/Variants.vue
+++ b/client/src/views/Variants.vue
@@ -2,61 +2,72 @@
main
.row
.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- input#prefixFilter(
- v-model="curPrefix"
- @input="setCurPrefix($event)"
- :placeholder="st.tr['Prefix?']"
- )
- .variant.col-sm-12.col-md-5.col-lg-4(
- v-for="(v,idx) in filteredVariants"
- :class="getVclasses(filteredVariants, idx)"
- )
- router-link(:to="getLink(v.name)")
- h4.boxtitle.text-center {{ v.name }}
- p.description.text-center {{ st.tr[v.desc] }}
+ a#mainLink(href="/#/variants/list")
+ | {{ st.tr["View alphabetical variants list"] }}
+ p.text-center
+ a.leftLink(href="https://www.chessvariants.com/what.html")
+ | {{ st.tr["What is a chess variant?"] }}
+ a(href="https://www.chessvariants.com/why.html")
+ | {{ st.tr["Why play chess variants?"] }}
+ p
+ a(href="/#/variants/Chess960") Chess960
+ | {{ st.tr["chess960_v"] }}
+ div(v-for="g of sortedGroups")
+ h3 {{ st.tr["vt" + g] }}
+ p {{ st.tr["vg" + g] }}
+ ul
+ li(v-for="v of sortVariants(variantGroup.get(g))")
+ a(:href="getLink(v)") {{ v.display }}
+ |  –
+ | {{ st.tr[v.description] }}