aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorAdrián Oliva <adrian.oliva@cimat.mx>2023-05-19 15:19:11 -0600
committerAdrián Oliva <adrian.oliva@cimat.mx>2023-05-19 15:19:11 -0600
commitff4cc46041251972634a28c1f780541fd105aadc (patch)
tree10ac8ed59e3729781604257830a3ce71c7f90dcc /index.html
parent8e274132e60b21277506df3c7b47e5f75518fb32 (diff)
downloadToDo-App-FE-ff4cc46041251972634a28c1f780541fd105aadc.tar.gz
ToDo-App-FE-ff4cc46041251972634a28c1f780541fd105aadc.zip
Edit button almost done.
Noticed some bugs. Will patch on later commits.
Diffstat (limited to '')
-rw-r--r--index.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/index.html b/index.html
index 13bc1aa..f69b7bc 100644
--- a/index.html
+++ b/index.html
@@ -30,6 +30,20 @@
})
})
</script>
+ <script>
+ $(document).ready(function(){
+ var date_input=$('input[name="edit-todo-due-date"]');
+ var container=$('.bootstrap-iso form').length>0 ? $('.bootstrap-iso form').parent() : "body";
+ date_input.datepicker({
+ format: 'mm/dd/yyyy',
+ container: container,
+ todayHighlight: true,
+ autoclose: true,
+ maxViewMode: 3,
+ todayBtn: "linked"
+ })
+ })
+ </script>
</head>
<body>
<div id="root"></div>