4 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
5 a#mainLink(href="/#/variants/list")
6 | {{ st.tr["View alphabetical variants list"] }}
11 import { store } from "@/store";
21 // (AJAX) Request to get rules content (plain text, HTML)
23 require("raw-loader!@/translations/variants/" + this.st.lang + ".pug")
24 // Next two lines fix a weird issue after last update (2019-11)
27 .replace('module.exports = "', "")
33 // oninput listener, required for smartphones:
34 setCurPrefix: function(e) {
35 this.curPrefix = e.target.value;
37 getLink: function(vname) {
38 return "/variants/" + vname;
40 getVclasses: function(varray, idx) {
41 const idxMod2 = idx % 2;
43 'col-md-offset-1': idxMod2 == 0,
44 'col-lg-offset-2': idxMod2 == 0,
45 'last-noneighb': idxMod2 == 0 && idx == varray.length - 1
52 <style lang="sass" scoped>