Example CSV lines:
+name,email,site,grade,fte +Alice,alice@example.com,exeter,2,1.0 +Bob,bob@example.com,plymouth,1,0.8+
diff --git a/djangorota/djangorota/templates/rota/partials/worker_import_modal.html b/djangorota/djangorota/templates/rota/partials/worker_import_modal.html new file mode 100644 index 0000000..68b34a8 --- /dev/null +++ b/djangorota/djangorota/templates/rota/partials/worker_import_modal.html @@ -0,0 +1,43 @@ +
Import workers
+ +Example CSV lines:
+name,email,site,grade,fte +Alice,alice@example.com,exeter,2,1.0 +Bob,bob@example.com,plymouth,1,0.8+
- + + All leave requests
{% include 'rota/partials/worker_list.html' %} diff --git a/djangorota/rota/urls.py b/djangorota/rota/urls.py index 3255787..dab9593 100644 --- a/djangorota/rota/urls.py +++ b/djangorota/rota/urls.py @@ -13,6 +13,7 @@ urlpatterns = [ path("rota/