Commit graph

16 commits

Author SHA1 Message Date
Ilja
8fa8d17a83 Code review fixes
* The v-for for the reasons now have an actual unique key so it doesn't throw errors any more
* Some small touch ups on the css. Most importantly the "vertical-align: text-top;"
2020-12-13 15:50:17 +01:00
Ilja
dddfadacd1 Improve transaltion
* I chose a better label for the N/A
* I added Dutch translations, I don't feel comfortable enough for other languages
2020-11-28 14:08:41 +01:00
Ilja
a5fac743f2 Add css
* I added an .scss file and moved the css from the vue file to there
* I added new css obviously
* the tables have a smal padding left
* the first column is 180px wide
  * This should be more than enough for an instance with 26 characters in it's name, which is already starting to get rare when I check my DB
2020-11-28 13:53:49 +01:00
Ilja
6cf98da91e Fix for code review
* js object keys aren't quoted any more
* when no reason is given, it will be shown in the FE (and is localised)
* the js function I wrote
  * is now of the form `const name = (e) => {}` instead of `function name(e) {}`
  * doesn't use an extra `else` nesting any more
2020-11-28 11:59:40 +01:00
Ilja
c3ddd0c832 Make reasons show
* If BE nodeinfo sends a mrf_simple_info and/or quarantined_instances_info, we'll try to get the reason for each instance for each policy and show it in the about page
2020-11-22 12:05:10 +01:00
Ilja
56d85654b1 Make it work with English translations 2020-10-25 10:50:41 +01:00
Ilja
8f966a7122 Make minter happy 2020-10-24 22:05:08 +02:00
Ilja
916f61014f Add backwards compat as poc for quarantined instances 2020-10-24 21:34:33 +02:00
Ilja
8ef93aedda First poc for quarantined instances
* I made a table instead of a list
* I'm pretty sure I need to extract the css to somewhere else, but unsure where atm
* All the other lists also need to be done in the same way obviously
* I'm not sure yet what would happen when it gets strings instead of tuples (the way old be's will give) but I'm pretty sure it will give some sort of error and wont display properly
  * Does it need backwards compatibility for older BE's?
2020-10-23 15:37:32 +02:00
Hakaba Hitoyo
4aeba026e6 Refactor i18n messages for MRF policy disclosure 2020-02-13 09:43:56 +00:00
Hakaba Hitoyo
dafced3a86 MRF Keyword Policy Disclosure 2020-02-10 08:04:58 +00:00
Shpuld Shpludson
fa38a41e42 fix "can't find property of undefined" errors in mrf transparency panel 2019-12-02 12:20:24 +00:00
Ariadne Conill
c24f95b498 mrf transparency panel: refactor to use vuex mapState 2019-11-09 11:32:18 -06:00
Ariadne Conill
6d6b5f3dbb mrf transparency panel: remove unneeded components{} 2019-11-09 11:16:19 -06:00
Ariadne Conill
6dfe3cc911 lint 2019-11-09 00:23:22 -06:00
Ariadne Conill
90f764224d about: add MRF transparency panel 2019-11-09 00:09:32 -06:00