From 68ecf52594e76f3f5ac40846359fb774cd366989 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 6 Mar 2021 20:03:36 +0300 Subject: some small layout fixes, remove a few inline styles --- js/PrefHelpers.js | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'js/PrefHelpers.js') diff --git a/js/PrefHelpers.js b/js/PrefHelpers.js index 296028f44..eed55f229 100644 --- a/js/PrefHelpers.js +++ b/js/PrefHelpers.js @@ -183,7 +183,7 @@ const Helpers = { ${reply.map((profile) => ` -
+ ${App.FormFields.checkbox_tag("", false, "", {onclick: 'Tables.onRowChecked(this)'})} @@ -533,17 +533,15 @@ const Helpers = { disabled: is_installed, onclick: `App.dialogOf(this).performInstall("${App.escapeHtml(plugin.name)}")`})} -

${plugin.name} +

${plugin.name} ${App.FormFields.icon("open_in_new_window")}

-
${__("Updated: %s").replace("%s", plugin.last_update)}
+
${__("Updated: %s").replace("%s", plugin.last_update)}
-

${plugin.description}

- -
+
${plugin.description}
` } @@ -626,13 +624,14 @@ const Helpers = { container.innerHTML += ` -
  • ${p.plugin}

    +
  • +

    ${p.plugin}

    ${p.rv.e ? `
    ${p.rv.e}
    ` : ''} ${p.rv.o ? `
    ${p.rv.o}
    ` : ''} -

    +

    ${p.rv.s ? App.FormFields.icon("error_outline") + " " + __("Exited with RC: %d").replace("%d", p.rv.s) : App.FormFields.icon("check") + " " + __("Update done.")} -

    +
  • ` }); @@ -642,7 +641,7 @@ const Helpers = { }); }, content: ` -
      +
      • ${__("Looking for changes...")}
      @@ -681,13 +680,13 @@ const Helpers = { container.innerHTML += ` -
    • ${p.plugin}

      +
    • ${p.plugin}

      ${p.rv.e ? `
      ${p.rv.e}
      ` : ''} ${p.rv.o ? `
      ${p.rv.o}
      ` : ''} -

      +

      ${p.rv.s ? App.FormFields.icon("error_outline") + " " + __("Exited with RC: %d").replace("%d", p.rv.s) : App.FormFields.icon("check") + " " + __("Ready to update")} -

      +
    • ` }); -- cgit v1.2.3