-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
107 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% comment %} | ||
A generic dark blue cancel button with a cross icon | ||
{% endcomment %} | ||
|
||
{% load i18n %} | ||
|
||
<a | ||
href="{{ href }}" | ||
class="button secondary {{ size|default:'normal' }} no-bottom-margin"> | ||
<span class="fa fa-close"></span> | ||
{% trans "Cancel" %} | ||
</a> |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% comment %} | ||
A generic green create button with a plus icon | ||
{% endcomment %} | ||
|
||
{% load i18n %} | ||
|
||
<a | ||
href="{{ href }}" | ||
class="button success {{ size|default:'normal' }} no-bottom-margin"> | ||
<span class="fa fa-plus"></span> | ||
{% if label %} | ||
{{ label }} | ||
{% else %} | ||
{% trans "Create" %} | ||
{% endif %} | ||
</a> |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% comment %} | ||
A generic red delete button with rubbish icon | ||
{% endcomment %} | ||
|
||
{% load i18n %} | ||
|
||
<a | ||
href="{{ href }}" | ||
class="button alert {{ size|default:'normal' }} no-bottom-margin"> | ||
<span class="fa fa-trash"></span> | ||
{% trans "Delete" %} | ||
</a> |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% comment %} | ||
A generic light blue edit button with a pencil icon | ||
{% endcomment %} | ||
|
||
{% load i18n %} | ||
|
||
<a | ||
href="{{ href }}" | ||
class="button {{ size|default:'normal' }} no-bottom-margin"> | ||
<span class="fa fa-edit"></span> | ||
{% trans "Edit" %} | ||
</a> |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% comment %} | ||
A generic dark blue cancel / go-back button with a cross icon | ||
{% endcomment %} | ||
|
||
{% load i18n %} | ||
|
||
<a | ||
href="{{ href }}" | ||
class="button secondary {{ size|default:'normal' }} no-bottom-margin"> | ||
<span class="fa fa-close"></span> | ||
{% trans "No, go back" %} | ||
</a> |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% comment %} | ||
A generic green save button with floppy disk icon | ||
{% endcomment %} | ||
|
||
{% load i18n %} | ||
|
||
<button | ||
name="{{ name|default:'save' }}" | ||
class="button success {{ size|default:'normal' }} no-bottom-margin" | ||
type="submit"> | ||
<span class="fa fa-save"></span> | ||
{% trans "Save" %} | ||
</button> |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% comment %} | ||
A generic yellow submit button with a forward arrow icon | ||
{% endcomment %} | ||
|
||
{% load i18n %} | ||
|
||
<button | ||
name="{{ name|default:'submit' }}" | ||
class="button warning {{ size|default:'normal' }} no-bottom-margin"> | ||
<span class="fa fa-arrow-right"></span> | ||
{% if label %} | ||
{{ label }} | ||
{% else %} | ||
{% trans "Submit" %} | ||
{% endif %} | ||
</button> |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% comment %} | ||
A generic red confirm delete button with a rubbish icon | ||
{% endcomment %} | ||
|
||
{% load i18n %} | ||
|
||
<button | ||
name="{{ name|default:'yes_delete' }}" | ||
class="button alert {{ size|default:'normal' }} no-bottom-margin" | ||
type="submit"> | ||
<span class="fa fa-trash"></span> | ||
{% trans "Yes, delete" %} | ||
</button> |
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