diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css
--- a/kallithea/public/css/style.css
+++ b/kallithea/public/css/style.css
@@ -3169,11 +3169,11 @@ input[disabled].btn,
color: #999;
}
-.btn.btn-small {
+.btn.btn-sm {
padding: 2px 6px;
}
-.btn.btn-mini {
+.btn.btn-xs {
padding: 0px 4px;
}
diff --git a/kallithea/public/js/base.js b/kallithea/public/js/base.js
--- a/kallithea/public/js/base.js
+++ b/kallithea/public/js/base.js
@@ -671,7 +671,7 @@ function comment_div_state($comment_div,
// append an Add button to $comment_div and hook it up to show form
function _comment_div_append_add($comment_div, f_path, line_no) {
var addlabel = TRANSLATION_MAP['Add Another Comment'];
- var $add = $('
{0}
'.format(addlabel));
+ var $add = $('{0}
'.format(addlabel));
$comment_div.append($add);
$add.children('.add-button').click(function(e) {
comment_div_state($comment_div, f_path, line_no, true);
diff --git a/kallithea/templates/admin/admin.html b/kallithea/templates/admin/admin.html
--- a/kallithea/templates/admin/admin.html
+++ b/kallithea/templates/admin/admin.html
@@ -9,7 +9,7 @@
${h.end_form()}
diff --git a/kallithea/templates/admin/auth/auth_settings.html b/kallithea/templates/admin/auth/auth_settings.html
--- a/kallithea/templates/admin/auth/auth_settings.html
+++ b/kallithea/templates/admin/auth/auth_settings.html
@@ -36,7 +36,7 @@
%for plugin_path in c.available_plugins:
-
+
${_('Enabled') if plugin_path in c.enabled_plugins else _('Disabled')}${plugin_path}
@@ -98,7 +98,7 @@
%endfor
- ${h.submit('save',_('Save'),class_="btn")}
+ ${h.submit('save',_('Save'),class_="btn btn-default")}
diff --git a/kallithea/templates/admin/defaults/defaults.html b/kallithea/templates/admin/defaults/defaults.html
--- a/kallithea/templates/admin/defaults/defaults.html
+++ b/kallithea/templates/admin/defaults/defaults.html
@@ -79,7 +79,7 @@
- ${h.submit('save',_('Save'),class_="btn")}
+ ${h.submit('save',_('Save'),class_="btn btn-default")}
diff --git a/kallithea/templates/admin/gists/edit.html b/kallithea/templates/admin/gists/edit.html
--- a/kallithea/templates/admin/gists/edit.html
+++ b/kallithea/templates/admin/gists/edit.html
@@ -141,8 +141,8 @@
%endfor
- ${h.submit('update',_('Update Gist'),class_="btn btn-mini btn-success")}
-
${_('Cancel')}
+ ${h.submit('update',_('Update Gist'),class_="btn btn-success btn-xs")}
+
${_('Cancel')}
${h.end_form()}
diff --git a/kallithea/tests/functional/test_admin_gists.py b/kallithea/tests/functional/test_admin_gists.py
--- a/kallithea/tests/functional/test_admin_gists.py
+++ b/kallithea/tests/functional/test_admin_gists.py
@@ -73,7 +73,7 @@ class TestGistsController(TestController
response = response.follow()
response.mustcontain('added file: foo')
response.mustcontain('gist test')
- response.mustcontain('Public Gist
')
+ response.mustcontain('Public Gist
')
def test_create_with_path_with_dirs(self):
self.log_user()
@@ -106,7 +106,7 @@ class TestGistsController(TestController
response = response.follow()
response.mustcontain('added file: private-foo<')
response.mustcontain('private gist test')
- response.mustcontain('Private Gist
')
+ response.mustcontain('Private Gist
')
def test_create_with_description(self):
self.log_user()
@@ -122,7 +122,7 @@ class TestGistsController(TestController
response.mustcontain('added file: foo-desc')
response.mustcontain('gist test')
response.mustcontain('gist-desc')
- response.mustcontain('Public Gist
')
+ response.mustcontain('Public Gist
')
def test_new(self):
self.log_user()
@@ -152,7 +152,7 @@ class TestGistsController(TestController
response.mustcontain('added file: gist-show-me<')
response.mustcontain('%s - created' % TEST_USER_ADMIN_LOGIN)
response.mustcontain('gist-desc')
- response.mustcontain('Public Gist
')
+ response.mustcontain('Public Gist
')
def test_show_as_raw(self):
gist = _create_gist('gist-show-me', content='GIST CONTENT')
diff --git a/kallithea/tests/functional/test_compare.py b/kallithea/tests/functional/test_compare.py
--- a/kallithea/tests/functional/test_compare.py
+++ b/kallithea/tests/functional/test_compare.py
@@ -73,7 +73,7 @@ class TestCompareController(TestControll
## files
response.mustcontain("""file1""")
#swap
- response.mustcontain(""" Swap""" % (repo2.repo_name, rev1, rev2, repo1.repo_name))
+ response.mustcontain(""" Swap""" % (repo2.repo_name, rev1, rev2, repo1.repo_name))
def test_compare_forks_on_branch_extra_commits_git(self):
self.log_user()
@@ -124,7 +124,7 @@ class TestCompareController(TestControll
## files
response.mustcontain("""file1""")
#swap
- response.mustcontain(""" Swap""" % (repo2.repo_name, rev1, rev2, repo1.repo_name))
+ response.mustcontain(""" Swap""" % (repo2.repo_name, rev1, rev2, repo1.repo_name))
def test_compare_forks_on_branch_extra_commits_origin_has_incoming_hg(self):
self.log_user()
@@ -183,7 +183,7 @@ class TestCompareController(TestControll
## files
response.mustcontain("""file1""")
#swap
- response.mustcontain(""" Swap""" % (repo2.repo_name, rev1, rev2, repo1.repo_name))
+ response.mustcontain(""" Swap""" % (repo2.repo_name, rev1, rev2, repo1.repo_name))
def test_compare_forks_on_branch_extra_commits_origin_has_incoming_git(self):
self.log_user()
@@ -242,7 +242,7 @@ class TestCompareController(TestControll
## files
response.mustcontain("""file1""")
#swap
- response.mustcontain(""" Swap""" % (repo2.repo_name, rev1, rev2, repo1.repo_name))
+ response.mustcontain(""" Swap""" % (repo2.repo_name, rev1, rev2, repo1.repo_name))
def test_compare_cherry_pick_changesets_from_bottom(self):