X-Git-Url: https://git.auder.net/doc/current/git-logo.png?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FVariants.vue;h=3fccae59be564e29f516de1db9fc2eadb38179a2;hb=e71161fbfffe53b0f4b174e0467cdd98cc70b7b0;hp=f521429673c53cd4adfffedbf7a5deccce73ef5f;hpb=85e5b5c1e6192a134fa69182e8c077605fdb969f;p=vchess.git
diff --git a/client/src/views/Variants.vue b/client/src/views/Variants.vue
index f5214296..3fccae59 100644
--- a/client/src/views/Variants.vue
+++ b/client/src/views/Variants.vue
@@ -1,68 +1,82 @@
-div
- .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- label(for="prefixFilter") Type first letters...
- input#prefixFilter(v-model="curPrefix")
- .variant.col-sm-12.col-md-5.col-lg-4(
- v-for="(v,idx) in filteredVariants"
- :class="{'col-md-offset-1': idx%2==0, 'col-lg-offset-2': idx%2==0}"
- )
- router-link(:to="getLink(v.name)")
- h4.boxtitle.text-center {{ v.name }}
- p.description.text-center {{ st.tr[v.desc] }}
+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="{'col-md-offset-1': idx%2==0, 'col-lg-offset-2': idx%2==0}"
+ )
+ router-link(:to="getLink(v.name)")
+ h4.boxtitle.text-center {{ v.name }}
+ p.description.text-center {{ st.tr[v.desc] }}
-
-