forked from allegro/ralph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes: - changed autocomplete widget height, - changed form spacing.
- Loading branch information
Showing
19 changed files
with
159 additions
and
78 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
54 changes: 28 additions & 26 deletions
54
src/ralph/admin/templates/admin/related_widget_wrapper.html
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,29 +1,31 @@ | ||
{% load i18n admin_static %} | ||
<div class="related-widget-wrapper row"> | ||
<div class="large-12 columns"> | ||
{{ widget }} | ||
{% block links %} | ||
{% if can_change_related %} | ||
<a class="related-widget-wrapper-link change-related" id="change_id_{{ name }}" | ||
data-href-template="{{ change_related_template_url }}?{{ url_params }}" | ||
title="{% blocktrans %}Change selected {{ model }}{% endblocktrans %}"> | ||
<i class="fa fa-pencil fa-lg"></i> | ||
</a> | ||
{% endif %} | ||
{% if can_add_related %} | ||
<a class="related-widget-wrapper-link add-related" id="add_id_{{ name }}" | ||
href="{{ add_related_url }}?{{ url_params }}" | ||
title="{% blocktrans %}Add another {{ model }}{% endblocktrans %}"> | ||
<i class="fa fa-plus-circle fa-lg"></i> | ||
</a> | ||
{% endif %} | ||
{% if can_delete_related %} | ||
<a class="related-widget-wrapper-link delete-related" id="delete_id_{{ name }}" | ||
data-href-template="{{ delete_related_template_url }}?{{ url_params }}" | ||
title="{% blocktrans %}Delete selected {{ model }}{% endblocktrans %}"> | ||
<i class="fa fa-trash fa-lg"></i> | ||
</a> | ||
{% endif %} | ||
{% endblock %} | ||
</div> | ||
<div class="widget"> | ||
{{ widget }} | ||
</div> | ||
<div class="links"> | ||
{% block links %} | ||
{% if can_change_related %} | ||
<a class="related-widget-wrapper-link change-related" id="change_id_{{ name }}" | ||
data-href-template="{{ change_related_template_url }}?{{ url_params }}" | ||
title="{% blocktrans %}Change selected {{ model }}{% endblocktrans %}"> | ||
<i class="fa fa-pencil fa-lg"></i> | ||
</a> | ||
{% endif %} | ||
{% if can_add_related %} | ||
<a class="related-widget-wrapper-link add-related" id="add_id_{{ name }}" | ||
href="{{ add_related_url }}?{{ url_params }}" | ||
title="{% blocktrans %}Add another {{ model }}{% endblocktrans %}"> | ||
<i class="fa fa-plus-circle fa-lg"></i> | ||
</a> | ||
{% endif %} | ||
{% if can_delete_related %} | ||
<a class="related-widget-wrapper-link delete-related" id="delete_id_{{ name }}" | ||
data-href-template="{{ delete_related_template_url }}?{{ url_params }}" | ||
title="{% blocktrans %}Delete selected {{ model }}{% endblocktrans %}"> | ||
<i class="fa fa-trash fa-lg"></i> | ||
</a> | ||
{% endif %} | ||
{% endblock %} | ||
</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
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 |
---|---|---|
|
@@ -14,5 +14,5 @@ fieldset { | |
.help-text { | ||
position: absolute; | ||
right: -13px; | ||
top: 5px; | ||
top: 11px; | ||
} |
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,9 @@ | ||
form .row .related-widget-wrapper.row { | ||
margin-left: 0; | ||
.links { | ||
position: absolute; | ||
left: 100%; | ||
top: 10px; | ||
width: 60px; | ||
} | ||
} |
Oops, something went wrong.