Commit Graph

22 Commits

Author SHA1 Message Date
Abhimanyu Saharan
a8c024fca5 Adds generic object children template (#13388)
* adds generic tab view template #12110

* Rename view_tab.html and move to generic/

* Fix console ports template

* Move bulk operations view resolution to template

* Avoid setting default template_name on ObjectChildrenView

* Move base_template and table_config context vars to base context

* removed bulk_delete_control from templates

* refactored bulk_controls view

* fixed table_config

* renamed object_tab.html to objectchildren_list.html

* removed unused import

* Refactor template blocks for bulk operation buttons

* Rename object children generic template

* Move disconnect bulk action into a separate template for device components

* Fix cluster devices & VM interfaces views

* minor button label change

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-08-09 14:16:03 -04:00
Jeremy Stretch
f603c1fb9e Closes #8184: Enable HTMX for embedded tables (#11518)
* Enable HTMX rendering for embedded tables

* Start converting embedded tables to use HTMX (WIP)

* Additional table conversions (WIP)

* Standardize HTMX usage for nested group models

* Enable HTMX for additional emebedded tables

* Fix HTMX table rendering for ObjectChildrenView

* Standardize usage of inc/panel_table.html

* Hide selection boxes in embedded tables
2023-02-19 20:09:51 -05:00
jeremystretch
0a8d83cec1 Wrap model detail views with register_model_view() 2022-10-07 11:36:14 -04:00
jeremystretch
c93d6e33af Update templates for subclasses of ObjectChildrenView 2022-06-29 14:21:57 -04:00
kkthxbye
54f99fc244 Prevent searching when pressing enter in Quick Search 2022-04-28 07:47:04 +02:00
jeremystretch
2077e12a7e Fixes #8692: Restore misisng tabs under cluster, VM views 2022-02-22 09:35:21 -05:00
jeremystretch
0d535423b3 Fixes #8301: Fix delete button for various object children views 2022-01-10 09:30:50 -05:00
jeremystretch
537b34e284 Introduce modals template block 2022-01-05 09:21:48 -05:00
jeremystretch
5e02d4d3dd Enable HTMX for all ObjectChildrenViews 2021-12-14 15:31:42 -05:00
jeremystretch
1ef3b9c118 Update cluster VM/device views to use ObjectChildrenView 2021-12-14 14:08:44 -05:00
jeremystretch
2197fafb4d Remove obsolete responsive_table.html template 2021-09-15 12:41:21 -04:00
jeremystretch
a940c5acb3 Misc UI cleanup ahead of v3.0 release 2021-08-25 13:50:59 -04:00
Matt
a6d6e4df52 #6797: Improve controls & custom link styling 2021-08-03 10:21:06 -07:00
jeremystretch
6fd0a731ea Use button role names instead of color shades 2021-07-20 21:21:03 -04:00
jeremystretch
8ec96c776a Standardize button colors 2021-07-20 13:46:59 -04:00
jeremystretch
eec456ea55 Standardize object breadcrumbs 2021-07-20 12:14:01 -04:00
Jeremy Stretch
cb7cde2a6b Template cleanup (#6421)
* Clean up & comment base templates

* Clean up login template & form

* Use SVG file for NetBox logo

* Simplify breadcrumbs

* Merge changelog.html into home.html

* Rename title_container block to header

* Move breadcrumbs block to object.html

* Attach names to endblock template tags

* Reorganize root-level templates into base/ and inc/

* Remove obsolete reference to Bootstrap 3.4.1
2021-05-17 16:27:27 -04:00
checktheroads
1ec4ee84a1 Add basic support for smaller screens 2021-04-30 15:55:37 -07:00
checktheroads
beaa01b76e fix custom link rendering 2021-04-23 09:31:16 -07:00
checktheroads
392f4027a9 migrate cluster templates to bootstrap 5 2021-04-17 18:35:09 -07:00
checktheroads
ccc44abb79 Merge branch 'feature' of https://github.com/netbox-community/netbox into feature
# Conflicts:
#	netbox/dcim/tables/template_code.py
#	netbox/netbox/views/__init__.py
#	netbox/project-static/css/base.css
#	netbox/templates/base.html
#	netbox/templates/circuits/circuit.html
#	netbox/templates/circuits/circuittermination_edit.html
#	netbox/templates/circuits/inc/circuit_termination.html
#	netbox/templates/circuits/provider.html
#	netbox/templates/dcim/device.html
#	netbox/templates/dcim/device/base.html
#	netbox/templates/dcim/device_component.html
#	netbox/templates/dcim/devicetype.html
#	netbox/templates/dcim/inc/device_napalm_tabs.html
#	netbox/templates/dcim/rack.html
#	netbox/templates/dcim/site.html
#	netbox/templates/dcim/virtualchassis.html
#	netbox/templates/extras/configcontext.html
#	netbox/templates/extras/object_journal.html
#	netbox/templates/extras/tag.html
#	netbox/templates/generic/object.html
#	netbox/templates/generic/object_list.html
#	netbox/templates/home.html
#	netbox/templates/inc/nav_menu.html
#	netbox/templates/ipam/aggregate.html
#	netbox/templates/ipam/ipaddress.html
#	netbox/templates/ipam/prefix.html
#	netbox/templates/ipam/vlan.html
#	netbox/templates/ipam/vlangroup_edit.html
#	netbox/templates/ipam/vlangroup_vlans.html
#	netbox/templates/secrets/secret.html
#	netbox/templates/tenancy/tenant.html
#	netbox/templates/users/api_tokens.html
#	netbox/templates/virtualization/cluster.html
#	netbox/templates/virtualization/vminterface_edit.html
#	netbox/utilities/forms/fields.py
#	netbox/utilities/templates/buttons/export.html
2021-04-14 11:30:15 -07:00
Jeremy Stretch
cd4d26e520 Closes #5425: Create separate tabs for VMs and devices under the cluster view 2021-03-29 14:55:17 -04:00