Commit Graph

31 Commits

Author SHA1 Message Date
jeremystretch 3f766ffea8 Fixes #7474: Fix AttributeError exception when rendering a report or custom script 2021-10-07 09:37:21 -04:00
jeremystretch de58f53f9f Closes #7208: Add navigation breadcrumbs for custom scripts & reports 2021-09-15 15:14:24 -04:00
jeremystretch 9813f3b696 Clean up custom script templates 2021-08-26 15:04:24 -04:00
jeremystretch a72e23eddf Fix custom script layout 2021-08-13 09:43:23 -04:00
jeremystretch 856956afce Standardize object breadcrumbs 2021-07-20 12:14:01 -04:00
Jeremy Stretch 805892f623 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 460a203c29 Add basic support for smaller screens 2021-04-30 15:55:37 -07:00
checktheroads 4b0d5815c0 migrate script job checking to typescript & update templates for bootstrap 5 2021-04-18 14:17:13 -07:00
checktheroads 3c0f4278c7 update extras templates 2021-04-16 14:58:44 -07:00
jeremystretch 46e144f647 Clean up object header 2021-04-13 16:03:07 -04:00
Martin Rødvand d58291d119 Closes #5953: Adds Markdown rendering of Custom Scripts' descriptions 2021-03-11 22:27:43 +01:00
Jeremy Stretch 867f308027 Replace Font Awesome icons with Material Design 2020-11-06 14:33:20 -05:00
John Anderson 3777fbccc3 Implements #2006 - run reports and scripts in the background 2020-06-29 03:50:05 -04:00
Jeremy Stretch 19a10cee82 Rename base template 2020-04-10 10:21:02 -04:00
Jeremy Stretch 16d3cebf3e Update markdown filter name 2020-03-09 10:42:32 -04:00
Jeremy Stretch 1423fd9024 Rename gfm filter to render_markdown 2020-03-09 10:31:29 -04:00
Jeremy Stretch 3e8799b5c7 Fix script form rendering 2019-08-28 09:20:19 -04:00
Jeremy Stretch a3d9e633c1 Always include 'commit' option 2019-08-26 17:04:04 -04:00
Jeremy Stretch 456621695a Wrap script form inside a panel 2019-08-26 13:53:30 -04:00
Jeremy Stretch de770faf6a Add FileVar for file uploads 2019-08-16 15:27:58 -04:00
Jeremy Stretch f8326ef6df Add markdown rendering for log mesages 2019-08-14 14:38:11 -04:00
Jeremy Stretch 11e5e1c490 Show script log when an exception occurs 2019-08-14 12:19:36 -04:00
Jeremy Stretch 9c079ead4c Fix notice when form does not require user input 2019-08-14 10:18:25 -04:00
Jeremy Stretch c562af3a13 Record script execution time 2019-08-14 10:12:30 -04:00
Jeremy Stretch 30e14db881 Tweak form display (cosmetic) 2019-08-14 09:40:23 -04:00
Jeremy Stretch 0d289d660d Add option to commit database changes 2019-08-12 14:28:06 -04:00
Jeremy Stretch 19eb4c510c Move script attributes under a Meta class 2019-08-12 13:16:18 -04:00
Jeremy Stretch ab504439fb Implemented permissions for scripts 2019-08-12 11:39:36 -04:00
Jeremy Stretch 3f7f3f88f3 Fix form field ordering 2019-08-12 11:13:16 -04:00
Jeremy Stretch 9d054fb345 Add options for script vars; include script output 2019-08-12 11:13:16 -04:00
Jeremy Stretch a25a27f31f Initial work on custom scripts (#3415) 2019-08-12 11:13:16 -04:00