# HG changeset patch # User Mads Kiilerich # Date 1477004465 -7200 # Node ID 9cbf386ea529324de3e0d2d45da9880c0dd7f994 # Parent 20830dfe3ed8e2379196892bae2488df91770c42 style: use Bootstrap compatible btn-danger instead of red ... and similar for other button types Based on work by Dominik Ruf. diff -r 20830dfe3ed8 -r 9cbf386ea529 kallithea/public/css/style.css --- a/kallithea/public/css/style.css Thu Oct 20 20:04:28 2016 +0200 +++ b/kallithea/public/css/style.css Fri Oct 21 01:01:05 2016 +0200 @@ -3191,7 +3191,7 @@ box-shadow: none !important; } -.btn.red { +.btn.btn-danger { color: #fff; background-color: #c43c35; background-repeat: repeat-x; @@ -3200,8 +3200,7 @@ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); } - -.btn.blue { +.btn.btn-primary { color: #fff; background-color: #339bb9; background-repeat: repeat-x; @@ -3210,7 +3209,7 @@ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); } -.btn.green { +.btn.btn-success { color: #fff; background-color: #57a957; background-repeat: repeat-x; @@ -3219,7 +3218,7 @@ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); } -.btn.yellow { +.btn.btn-warning { color: #fff; background-color: #faa732; background-repeat: repeat-x; diff -r 20830dfe3ed8 -r 9cbf386ea529 kallithea/templates/admin/repo_groups/repo_group_edit_settings.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html Thu Oct 20 20:04:28 2016 +0200 +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html Fri Oct 21 01:01:05 2016 +0200 @@ -50,7 +50,7 @@
- ${h.submit('remove_%s' % c.repo_group.group_name,_('Remove this group'),class_="btn red",onclick="return confirm('"+_('Confirm to delete this group')+"');")} + ${h.submit('remove_%s' % c.repo_group.group_name,_('Remove this group'),class_="btn btn-danger",onclick="return confirm('"+_('Confirm to delete this group')+"');")}
diff -r 20830dfe3ed8 -r 9cbf386ea529 kallithea/templates/search/search.html --- a/kallithea/templates/search/search.html Thu Oct 20 20:04:28 2016 +0200 +++ b/kallithea/templates/search/search.html Fri Oct 21 01:01:05 2016 +0200 @@ -51,7 +51,7 @@
${h.text('q',c.cur_query,class_="small")}
- +
${c.runtime}