Add version history view for timer functions
- Implement `/history/<function_id>` route in timer routes to fetch and display function versions - Create new Mithril `DiffView` component for comparing script versions - Add new history template for timer functions with version comparison - Include version diff functionality using AceDiff library - Update header and edit templates to include history URL for timer functions
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<script src="/static/js/mithril/editor.js"></script>
|
||||
<script src="/static/js/mithril/responseView.js"></script>
|
||||
<script src="/static/js/mithril/alert.js"></script>
|
||||
|
||||
<script src="/static/js/mithril/diffView.js"></script>
|
||||
|
||||
<script src="https://unpkg.com/ace-diff@^2"></script>
|
||||
<link href="https://unpkg.com/ace-diff@^2/dist/ace-diff.min.css" rel="stylesheet">
|
||||
|
||||
Reference in New Issue
Block a user