Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
filter by name style
Browse files Browse the repository at this point in the history
  • Loading branch information
francescou committed Feb 12, 2017
1 parent 61a7727 commit c06f01d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/index.html
Expand Up @@ -28,8 +28,8 @@ <h3>Projects</h3>
<div class="vertical-margin" ng-hide="isEmpty(projects.projects)">
<form class="form-inline">
<div class="form-group">
<label for="project-filter">filter by name:</label>
<input name="project-filter" type="text" ng-model="query" ng-change="page = 0" class="form-control">
<label for="project-filter">filter:</label>
<input name="project-filter" type="text" ng-model="query" ng-change="page = 0" class="query form-control">
<button ng-click="active = !active; page = 0" class="btn btn-default" ng-class="{active: active}">active only</button>
</div>
</form>
Expand Down
6 changes: 6 additions & 0 deletions static/styles/main.css
Expand Up @@ -159,3 +159,9 @@ header {
background-image: linear-gradient(to bottom, #fff 0%, #E8E8E8 100%);
}


@media (min-width: 768px){
.form-inline .query {
width: 140px
}
}

0 comments on commit c06f01d

Please sign in to comment.