Table-to-div: how to build a layout in table-form

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Table-to-div: how to build a layout in table-form

roland.asmann
Hi all,

I created issue 65109 because of an incompatibility with the table-to-div update. Now, since several of my users really need this plugin and I don't want to run my jenkins on 2.263.4 forever (am still there with an instance on 2.46.3!), I figured I might try fixing it myself.
Simply changing all table-related tags, made the plugin work, however there is a part in the plugin where a table-layout simply just makes sense. I can't however figure out how to get this part to render as a table.
Can anybody give me hint on how to layout a table using divs? Or maybe somehow create a block around that table that is just rendered as-is?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/21c57727-2c40-43bc-8563-8dc9fb02b6c0n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Table-to-div: how to build a layout in table-form

Tim Jacomb
Could you be more specific on what looks better with a table?

Table is fine for displaying data but it shouldn’t be used for layout of a form

Generally things look fine if you change them to the standard controls rather than just trying to make it look the same.

Otherwise you can use css to lay it out how you want, bootstrap classes are available for a grid layout 

Thanks
Tim

On Sun, 21 Mar 2021 at 15:11, Roland Asmann <[hidden email]> wrote:
Hi all,

I created issue 65109 because of an incompatibility with the table-to-div update. Now, since several of my users really need this plugin and I don't want to run my jenkins on 2.263.4 forever (am still there with an instance on 2.46.3!), I figured I might try fixing it myself.
Simply changing all table-related tags, made the plugin work, however there is a part in the plugin where a table-layout simply just makes sense. I can't however figure out how to get this part to render as a table.
Can anybody give me hint on how to layout a table using divs? Or maybe somehow create a block around that table that is just rendered as-is?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/21c57727-2c40-43bc-8563-8dc9fb02b6c0n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3BifW84Vvk8HjeCAG15QB1_8J5T1jLdf_PLM1ZiYr%2BwyESA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Table-to-div: how to build a layout in table-form

roland.asmann
Just look at the screenshot. These are 2 tables that imho just make sense to be rendered as such.

Screenshot_2021-03-21 JMETER Config [Jenkins].png

Seeing it is not my plugin, I don't want to completely redesign the layout -- that would be up to the actual devs. But I just feel that this layout just makes sense.

I'll take a look at the bootstrap classes, thanks.

Roland

On Sunday, March 21, 2021 at 4:36:22 PM UTC+1 [hidden email] wrote:
Could you be more specific on what looks better with a table?

Table is fine for displaying data but it shouldn’t be used for layout of a form

Generally things look fine if you change them to the standard controls rather than just trying to make it look the same.

Otherwise you can use css to lay it out how you want, bootstrap classes are available for a grid layout 

Thanks
Tim

On Sun, 21 Mar 2021 at 15:11, Roland Asmann <[hidden email]> wrote:
Hi all,

I created issue 65109 because of an incompatibility with the table-to-div update. Now, since several of my users really need this plugin and I don't want to run my jenkins on 2.263.4 forever (am still there with an instance on 2.46.3!), I figured I might try fixing it myself.
Simply changing all table-related tags, made the plugin work, however there is a part in the plugin where a table-layout simply just makes sense. I can't however figure out how to get this part to render as a table.
Can anybody give me hint on how to layout a table using divs? Or maybe somehow create a block around that table that is just rendered as-is?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/21c57727-2c40-43bc-8563-8dc9fb02b6c0n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/58f9f2b8-6efb-4f89-a1ea-580cac2cff6an%40googlegroups.com.