aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-25 20:03:26 -0700
committerzotlabs <mike@macgirvin.com>2017-06-25 20:03:26 -0700
commit7f982a07781f09756d852f423bba37dc11abf2a5 (patch)
tree62afac66af7dcffcc01aded704a6711e5f86fa19 /view
parent28a1be4d36bf0ec54d053bb9decbe619361682cb (diff)
downloadvolse-hubzilla-7f982a07781f09756d852f423bba37dc11abf2a5.tar.gz
volse-hubzilla-7f982a07781f09756d852f423bba37dc11abf2a5.tar.bz2
volse-hubzilla-7f982a07781f09756d852f423bba37dc11abf2a5.zip
minor usability enhancements with the connections list - label the edit icon so it's more obvious; the intuitive action is to click the photo or name which isn't what we usually want. Also move the Delete button over just a bit more so it's harder to accidentally click on small screens with big thumbs.
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css4
-rwxr-xr-xview/tpl/connection_template.tpl4
2 files changed, 6 insertions, 2 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 07dfd938d..0dee7dead 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -427,6 +427,10 @@ footer {
right: 5px;
}
+.contact-delete-btn {
+ margin-right: 32px;
+}
+
#contact-block {
width: 100%;
}
diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl
index 16915abda..8e49c9e27 100755
--- a/view/tpl/connection_template.tpl
+++ b/view/tpl/connection_template.tpl
@@ -8,8 +8,8 @@
<a href="connedit/{{$contact.id}}/ignore" class="btn btn-warning btn-sm" title="{{$contact.ignore_hover}}"><i class="fa fa-ban"></i> {{$contact.ignore}}</a>
{{/if}}
- <a href="#" class="btn btn-danger btn-sm" title="{{$contact.delete_hover}}" onclick="dropItem('{{$contact.deletelink}}', '#contact-entry-wrapper-{{$contact.id}}'); return false;"><i class="fa fa-trash-o"></i> {{$contact.delete}}</a>
- <a href="{{$contact.link}}" class="btn btn-outline-secondary btn-sm" title="{{$contact.edit_hover}}"><i class="fa fa-pencil"></i></a>
+ <a href="#" class="btn btn-danger btn-sm contact-delete-btn" title="{{$contact.delete_hover}}" onclick="dropItem('{{$contact.deletelink}}', '#contact-entry-wrapper-{{$contact.id}}'); return false;"><i class="fa fa-trash-o"></i> {{$contact.delete}}</a>
+ <a href="{{$contact.link}}" class="btn btn-outline-secondary btn-sm" title="{{$contact.edit_hover}}"><i class="fa fa-pencil"></i> {{$contact.edit}}</a>
{{if $contact.approve}}
</form>
{{/if}}