diff --git a/integrations/auth_ldap_test.go b/integrations/auth_ldap_test.go index 1569458418..a3ed172ba9 100644 --- a/integrations/auth_ldap_test.go +++ b/integrations/auth_ldap_test.go @@ -172,14 +172,14 @@ func TestLDAPUserSync(t *testing.T) { assert.Equal(t, u.UserName, strings.TrimSpace(tds.Find("td:nth-child(2) a").Text())) assert.Equal(t, u.Email, strings.TrimSpace(tds.Find("td:nth-child(3) span").Text())) if u.IsAdmin { - assert.True(t, tds.Find("td:nth-child(5) i").HasClass("fa-check-square-o")) + assert.True(t, tds.Find("td:nth-child(5) svg").HasClass("octicon-check")) } else { - assert.True(t, tds.Find("td:nth-child(5) i").HasClass("fa-square-o")) + assert.True(t, tds.Find("td:nth-child(5) svg").HasClass("octicon-x")) } if u.IsRestricted { - assert.True(t, tds.Find("td:nth-child(6) i").HasClass("fa-check-square-o")) + assert.True(t, tds.Find("td:nth-child(6) svg").HasClass("octicon-check")) } else { - assert.True(t, tds.Find("td:nth-child(6) i").HasClass("fa-square-o")) + assert.True(t, tds.Find("td:nth-child(6) svg").HasClass("octicon-x")) } } diff --git a/public/img/svg/gitea-double-chevron-left.svg b/public/img/svg/gitea-double-chevron-left.svg new file mode 100644 index 0000000000..68d2d99784 --- /dev/null +++ b/public/img/svg/gitea-double-chevron-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/svg/gitea-double-chevron-right.svg b/public/img/svg/gitea-double-chevron-right.svg new file mode 100644 index 0000000000..06ff40fd50 --- /dev/null +++ b/public/img/svg/gitea-double-chevron-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/admin/auth/list.tmpl b/templates/admin/auth/list.tmpl index 851254c09b..d5d8aadb56 100644 --- a/templates/admin/auth/list.tmpl +++ b/templates/admin/auth/list.tmpl @@ -28,10 +28,10 @@