# HG changeset patch # User domruf # Date 2017-06-27 22:32:20 # Node ID 3a65e48d81fee3045c848d7877cd2992e796fd44 # Parent b89511f1aa2438515d336da12ef8b71c3a4f5363 templates: make gist edit and new page look more similar - remove gravatar from edit page - add no-padding to edit page - use the same order and alignment of the mimetype and filename elements on both pages 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 @@ -3274,17 +3274,6 @@ ul.user_group_member li { clear: both; } -select.pull-right-auto-width { - float: right; - width: auto; -} - -span.expand-available { - display: block; - overflow: hidden; - padding-right: 15px; -} - #content div.panel .changelog-panel > .changelog-heading, #content div.panel .changelog-panel > ul.pagination { margin-left: 100px; 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 @@ -45,7 +45,6 @@
${h.form(h.url('edit_gist', gist_id=c.gist.gist_access_id), method='post', id='eform')}
- ${h.gravatar_div(request.authuser.email, size=32)}
diff --git a/kallithea/templates/admin/gists/new.html b/kallithea/templates/admin/gists/new.html --- a/kallithea/templates/admin/gists/new.html +++ b/kallithea/templates/admin/gists/new.html @@ -40,12 +40,10 @@
-
+
- - - ${h.text('filename', size=30, placeholder=_('Name this gist ...'), class_='form-control auto-width')} - + ${h.text('filename', size=30, placeholder=_('Name this gist ...'), class_='form-control')} +