view kallithea/templates/admin/repos/repo_edit_remote.html @ 6411:302ce4a23e57

style: drop dead 'fields' class references The last references to the class do not match anything essential, and all css styles can thus also be removed. Based on work by Dominik Ruf.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 24 Dec 2016 17:26:48 +0100
parents b7654d1675da
children 41dd3c2f820c
line wrap: on
line source

%if c.repo_info.clone_uri:
<div style="font-size: 20px; padding: 0px 0px 10px 0px">
   ${_('Remote repository URL')}: <a href="${c.repo_info.clone_uri}">${c.repo_info.clone_uri_hidden}</a></li>
</div>
${h.form(url('edit_repo_remote_update', repo_name=c.repo_name))}
<div class="form">
    <div>
        ${h.submit('remote_pull_%s' % c.repo_info.repo_name,
            _('Pull Changes from Remote Repository'),
            class_="btn btn-default btn-sm",
            onclick="return confirm('"+_('Confirm to pull changes from remote repository.')+"');")}
    </div>
</div>
${h.end_form()}
%else:
  <div style="font-size: 20px">
    ${_('This repository does not have a remote repository URL.')}
  </div>
%endif