The usage of template(s) for the same table

43 views
Skip to first unread message

Dean D. Babic

unread,
Jan 20, 2025, 3:14:51 AMJan 20
to Jam.py Users Mailing List
Hi all,

I modified  this app to demonstrate completely different template for some table:


Click on Catalogs/Categories View #2

There is absolutely no code to achieve this.

In V7, simply click on copy table, set View/Edit as usual and just chuck this in html template

<div class="categories2-view">
....
    <div class="card-body form-body">
    <div class="container">
        <div class="row">
            <div class="col-lg-3">                
                <div class="view-table"></div>
            </div>
            <div class="col-lg-8">                        
                <div class="view-detail"></div>                            
            </div>
        </div>
    </div>
    </div>   

The dots ... are header for the buttons.

This idea comes from an v5 app which displays multiple details like below.
"Server Name" is NOT the Journal, it is the separate table. The journal is "Share Name", etc.
with the Detail "Valid Group".
This was somewhat complicated App since only Admin Users would have access to all servers.
It was almost a  multi-tenancy app.
template_view2.png 
Regards

D.

Drazen Babic

unread,
Jan 20, 2025, 11:39:16 PMJan 20
to Jam.py Users Mailing List
Hi all,
Added navigation buttons on the same view.
Very useful to view all details!
nav_buttons.png

--
You received this message because you are subscribed to a topic in the Google Groups "Jam.py Users Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jam-py/U4uFYWtdqsQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jam-py+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jam-py/cc90152a-03bb-4b2b-933c-06581ab61e50n%40googlegroups.com.

Zoi Moravec

unread,
Dec 11, 2025, 8:36:30 AM (5 days ago) Dec 11
to Jam.py Users Mailing List
yes, I can also implement the same in v7, but only a bunch of Servers-ShareNames.
But now I need to add details Groups to the ShareNames table of the help side, as it is implemented in the picture below.
But how to do it in v7?
template_view2.png

вторник, 21 января 2025 г. в 07:39:16 UTC+3, Drazen Babic:

Dean D. Babic

unread,
Dec 11, 2025, 9:10:29 PM (5 days ago) Dec 11
to Jam.py Users Mailing List
Sorry, I do not understand this "ShareNames table of the help side"?
The v5 project is here: https://github.com/platipusica/SambaShares
You'll need to change the template for Bootstrap 5.

Dean D. Babic

unread,
Dec 11, 2025, 9:58:54 PM (5 days ago) Dec 11
to Jam.py Users Mailing List

Zoi Moravec

unread,
Dec 12, 2025, 4:43:54 AM (5 days ago) Dec 12
to Jam.py Users Mailing List
Yes. It's works!
Thank you, Dean. Your samba_1.0.6_7.0.78_2025-12-12_10-57-21.zip helped me.
пятница, 12 декабря 2025 г. в 05:58:54 UTC+3, Dean D. Babic:

Dean D. Babic

unread,
Dec 13, 2025, 12:01:04 AM (4 days ago) Dec 13
to Jam.py Users Mailing List
I updated this project for v7.
Reply all
Reply to author
Forward
0 new messages