diff --git a/teamsnap/templates/teamsnap/lineup.html b/teamsnap/templates/teamsnap/lineup.html index 5528f0f..5337426 100644 --- a/teamsnap/templates/teamsnap/lineup.html +++ b/teamsnap/templates/teamsnap/lineup.html @@ -2,7 +2,7 @@ {% block content %}
-

{{ event.formatted_title }}

+

<{{ event.formatted_title }}>

{{ event.start_date|date:"l, F j, Y g:i A" }}
{{ event.location.name }}

@@ -12,10 +12,10 @@ {% csrf_token %} {{ formset.management_form }}
- -
+{# #} +
-
Lineup
+
Lineup
{% include 'teamsnap/player-table-header.html' %} @@ -27,7 +27,19 @@ {% endfor %}
-
+
+
+
+
+
Subs
+
+ + {% include 'teamsnap/player-table-header.html' %} + + + +
+
@@ -79,6 +91,16 @@ form_element_sequence.value = parseInt(member_rows[i].dataset.sequence) } } + var lineup = new Sortable.create( + document.getElementById('planned-subs'), { + animation: 150, + ghostClass: "ghost", + {#handle: ".bars-move",#} + group: { + put: 'clone', + pull: true + } + }) var lineup = new Sortable.create( document.getElementById('lineup'), { animation: 150,