~edwargix/git.sr.ht

d59914780a84214a4d5990df62f1d6fd67c0e44a — Drew DeVault 6 years ago a81d3b4
Apply redesign to repo settings pages
M gitsrht/templates/settings_access.html => gitsrht/templates/settings_access.html +5 -2
@@ 29,7 29,7 @@
                repo.name
              }}/settings/access/revoke/{{ grant.id }}"
            >
              <button type="submit" class="btn btn-default btn-fill">Revoke</button>
              <button type="submit" class="btn btn-danger btn-fill">Revoke</button>
            </form>
          </td>
        </tr>


@@ 54,7 54,10 @@
      <fieldset class="form-group">
        <legend>Access</legend>
        <!-- This is in a weird spot cause it looks better over here -->
        <button type="submit" class="btn btn-default pull-right">Grant access</button>
        <button type="submit" class="btn btn-primary pull-right">
          Grant access
          <i class="fa fa-caret-right"></i>
        </button>
        <div class="form-check form-check-inline">
          <label
            class="form-check-label"

M gitsrht/templates/settings_delete.html => gitsrht/templates/settings_delete.html +1 -0
@@ 10,6 10,7 @@
    <form method="POST">
      <button type="submit" class="btn btn-danger">
        Proceed and delete 
        <i class="fa fa-caret-right"></i>
      </button>
      <a
        href="/{{ owner.canonical_name }}/{{ repo.name }}"

M gitsrht/templates/settings_info.html => gitsrht/templates/settings_info.html +4 -1
@@ 73,7 73,10 @@
          </label>
        </div>
      </fieldset>
      <button type="submit" class="btn btn-default pull-right">Save</button>
      <button type="submit" class="btn btn-primary pull-right">
        Save
        <i class="fa fa-caret-right"></i>
      </button>
    </form>
  </div>
</div>

M gitsrht/templates/settings_rename.html => gitsrht/templates/settings_rename.html +2 -1
@@ 21,8 21,9 @@
        the old URL to the new one will be in place until you create another
        repository with the same name.
      </p>
      <button type="submit" class="btn btn-default pull-right">
      <button type="submit" class="btn btn-primary pull-right">
        Rename repository
        <i class="fa fa-caret-right"></i>
      </button>
    </form>
  </div>

M gitsrht/templates/tabs.html => gitsrht/templates/tabs.html +4 -1
@@ 9,7 9,10 @@
  <a
    class="nav-link"
    href="/{{ owner.canonical_name }}/{{ repo.name }}"
  >« back</a>
  >
    <i class="fa fa-caret-left"></i>
    back
  </a>
</li>
{% if request.path.endswith("/rename") %}
<li class="nav-item">