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/CommonDialogs.js | 2 +- js/PrefFeedTree.js | 2 +- js/PrefHelpers.js | 25 ++++++++++++------------- 3 files changed, 14 insertions(+), 15 deletions(-) (limited to 'js') diff --git a/js/CommonDialogs.js b/js/CommonDialogs.js index b9b053a5a..15c2021b6 100644 --- a/js/CommonDialogs.js +++ b/js/CommonDialogs.js @@ -248,7 +248,7 @@ const CommonDialogs = { ${reply.map((row) => ` - + diff --git a/js/PrefFeedTree.js b/js/PrefFeedTree.js index 0e89e1978..013c01262 100644 --- a/js/PrefFeedTree.js +++ b/js/PrefFeedTree.js @@ -513,7 +513,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dojo/_b
${reply.map((row) => ` -
+ 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-54-g00ecf