Changeset - 2e306e71aa21
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-06-28 23:30:47
dominikruf@gmail.com
files sources: add some space between buttons and panel with form-group

Also remove old classes:
- pull-left is not necessary
- file_author is already set on the parent element
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/files/files_history_box.html
Show inline comments
 
<div class="file_author">
 
<div class="form-group">
 
    <div class="item">${h.literal(ungettext(u'%s author',u'%s authors',len(c.authors)) % ('<b>%s</b>' % len(c.authors))) }</div>
 
    %for email, user in c.authors:
 
      <span data-toggle="tooltip" title="${user}">
 
        ${h.gravatar_div(email, size=20)}
 
      </span>
 
    %endfor
 
</div>
kallithea/templates/files/files_source.html
Show inline comments
 
<div id="node_history" class="clearfix">
 
    <div class="pull-left">
 
    <div class="form-group">
 
        ${h.form(h.url('files_diff_home',repo_name=c.repo_name,f_path=c.f_path),method='get')}
 
        ${h.hidden('diff2',c.changeset.raw_id)}
 
        ${h.hidden('diff1')}
 
        ${h.submit('diff',_('Diff to Revision'),class_="btn btn-default btn-sm")}
 
        ${h.submit('show_rev',_('Show at Revision'),class_="btn btn-default btn-sm")}
 
        ${h.hidden('annotate', c.annotate)}
 
        ${h.link_to(_('Show Full History'),h.url('changelog_file_home',repo_name=c.repo_name, revision=c.changeset.raw_id, f_path=c.f_path),class_="btn btn-default btn-sm")}
 
        ${h.link_to(_('Show Authors'),'#',class_="btn btn-default btn-sm" ,id="show_authors")}
 
        ${h.end_form()}
 
    </div>
 
    <div id="file_authors" class="file_author" style="display: none"></div>
 
</div>
0 comments (0 inline, 0 general)