Skip to content

Commit

Permalink
Make Pull the primary button in project administration section.
Browse files Browse the repository at this point in the history
  • Loading branch information
jankeromnes committed Aug 4, 2017
1 parent 87a3800 commit 548d914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/admin-projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<img class="project-icon" src={{= project.icon in json}} alt="{{= project.name in xmlattr}} Logo">
<h4 class="project-title">{{= project.name in html}}</h4>
<div class="project-actions">
<button data-action="update" data-project={{= id in json}} class="btn btn-default">Update</button>
<form action="/api/projects/{{= id in xmlattr}}/pull" class="ajax-form has-feedback is-submit" method="post">
<button class="btn btn-default" type="submit">Pull</button>
<button class="btn btn-primary" type="submit">Pull</button>
</form>
<button data-action="update" data-project={{= id in json}} class="btn btn-primary">Update</button>
</div>
</div>
<div class="panel-body">
Expand Down

0 comments on commit 548d914

Please sign in to comment.