Private
Public Access
1
0

removed button green class from workout comment button

This commit is contained in:
Sander Roosendaal
2019-02-05 08:54:26 +01:00
parent 72e1083a2d
commit 4c65dcb53f
3 changed files with 62 additions and 3 deletions

View File

@@ -61,7 +61,7 @@
{{ form.as_table }}
</table>
{% csrf_token %}
<input class="button green" type="submit" value="Save">
<input type="submit" value="Save">
</form>
</li>
{% for graph in graphs %}

View File

@@ -1192,10 +1192,69 @@ class PlannedSessionsView(TestCase):
self.assertTrue(login)
url = '/rowers/sessions/{id}/clone/'.format(id=self.ps_trimp.id)
today = datetime.date.today()
b = datetime.date.today()-timezone.timedelta(today.weekday())
e = b+timezone.timedelta(days=6)
expected_url = '/rowers/sessions/5/edit/user/1/?when={b}/{e}'.format(
b=b,
e=e
)
response = self.c.get(url,follow=True)
self.assertEqual(response.status_code,200)
self.assertRedirects(response,
expected_url='/rowers/session/5/edit/user/1/?when=2019-02-04/2019-02-10',
expected_url=expected_url,
status_code=302,target_status_code=200)
def test_multiclone_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)
def test_multicreate_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)
# post something
def test_teamcreate_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)
def test_teamedit_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)
def test_coach_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)
def test_plannedsessions_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)
def test_plannedsessions_print_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)
def plannedsession_manage_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)
def plannedsession_edit_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)
def plannedsession_detach_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)
def plannedsession_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)
def plannedsession_delete_view(self):
login = self.c.login(username=self.u.username, password=self.password)
self.assertTrue(login)

Binary file not shown.