-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #161 from elixir-luxembourg/25-compact-editor-forms
closes: 25 compact editor forms
- Loading branch information
Showing
37 changed files
with
198 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,36 @@ | ||
<div class="row"> | ||
<h1 class="display-4">Search {{title}}</h1> | ||
<h1 class="display-4"> | ||
Browse {{title}} | ||
</h1> | ||
</div> | ||
<div class="row"> | ||
<div class="col"> | ||
<form class="form-inline" method="get" action="{% url url %}"> | ||
<div class="form-group"> | ||
<label for="query" class="bmd-label-floating"> | ||
<i class="material-icons">search</i> Query | ||
</label> | ||
<input type='text' class="form-control border border-top-0 bg-white" name='query' value='{{ query }}'/> | ||
<div class="col-md-12 col-lg-11"> | ||
<div class="row"> | ||
<div class="col-xl-5 col-lg-12"> | ||
<form class="form-inline" method="get" action="{% url url %}"> | ||
<div class="form-group"> | ||
<label for="query" class="bmd-label-floating"> | ||
<i class="material-icons">search</i> Query | ||
</label> | ||
<input type='text' class="form-control border border-top-0 bg-white" name='query' value='{{ query }}'/> | ||
</div> | ||
<span class="form-group bmd-form-group"> <!-- needed to match padding for floating labels --> | ||
<button type="submit" class="btn btn-primary">Search</button> | ||
</span> | ||
</form> | ||
</div> | ||
|
||
<div class="col-xl-7 col-lg-12 mt-4 mb-2"> | ||
{% if order_by_fields %} | ||
<div class="mr-auto float-right"> | ||
<div class="btn-group-sm" role="group"> | ||
{% for field in order_by_fields %} | ||
{% orderbylink search_url field %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> | ||
<span class="form-group bmd-form-group"> <!-- needed to match padding for floating labels --> | ||
<button type="submit" class="btn btn-primary">Search</button> | ||
</span> | ||
</form> | ||
</div> | ||
{% if order_by_fields %} | ||
<div class="col mr-auto"> | ||
<div class="btn-group" role="group"> | ||
{% for field in order_by_fields %} | ||
{% orderbylink search_url field %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{% extends 'cohorts/cohort_form.html' %} | ||
|
||
{% block title %}Cohort - Edit{% endblock %} | ||
{% block card_title %}Edit cohort{% endblock %} | ||
{% block content_title %}Cohort "<strong>{{ cohort.title }}</strong>"{% endblock %} | ||
{% block title %}{% endblock %} | ||
{% block card_title %}Edit cohort - <strong>{{ cohort.title }}</strong>{% endblock %} | ||
{% block jumbotron_class %}d-none{% endblock %} | ||
{% block content_title %}Cohort {{ cohort.title }}{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{% extends 'contacts/contact_form.html' %} | ||
|
||
{% block title %}Contact - Edit - {{ contact.full_name }}{% endblock %} | ||
{% block card_title %}Edit contact{% endblock %} | ||
{% block content_title %}{{ contact.full_name }}{% endblock %} | ||
{% block title %}{% endblock %} | ||
{% block jumbotron_class %}d-none{% endblock %} | ||
{% block card_title %}Edit contact - <strong>{{ contact.full_name }}</strong>{% endblock %} | ||
{% block content_title %}{{ contact.full_name }}{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{% extends 'contracts/contract_form.html' %} | ||
|
||
{% block title %}Contract - Edit{% endblock %} | ||
{% block card_title %}Edit contract{% endblock %} | ||
{% block content_title %}{{ contract }}{% endblock %} | ||
{% block title %}{% endblock %} | ||
{% block jumbotron_class %}d-none{% endblock %} | ||
{% block card_title %}Edit - <strong>{{ contract }}</strong>{% endblock %} | ||
{% block content_title %}{{ contract }}{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{% extends 'datasets/dataset_form.html' %} | ||
|
||
{% block title %}Dataset - Edit - {{ dataset.title }}{% endblock %} | ||
{% block card_title %}Edit dataset - {{ dataset.title }}{% endblock %} | ||
{% block content_title %}{{ dataset.title }}{% endblock %} | ||
{% block title %}{% endblock %} | ||
{% block jumbotron_class %}d-none{% endblock %} | ||
{% block card_title %}Edit dataset - <strong>{{ dataset.title }}</strong>{% endblock %} | ||
{% block content_title %}{{ dataset.title }}{% endblock %} |
Oops, something went wrong.