aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/abook_edit.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-02 19:20:52 -0800
committerfriendica <info@friendica.com>2015-01-02 19:20:52 -0800
commit31648d65c8c5c3a54fc36b83871dcc09a9ac982f (patch)
tree6b1738e0e514d16bfeaf00935edcb5e352322ac6 /view/tpl/abook_edit.tpl
parented2917118dd97df6b97c6ee34fe77b7f1818ffcd (diff)
downloadvolse-hubzilla-31648d65c8c5c3a54fc36b83871dcc09a9ac982f.tar.gz
volse-hubzilla-31648d65c8c5c3a54fc36b83871dcc09a9ac982f.tar.bz2
volse-hubzilla-31648d65c8c5c3a54fc36b83871dcc09a9ac982f.zip
some work on the edit connection workflow explanation and connedit page. This needs a lot more attention, but it was screaming for any improvement in documenting why we tell you that the permissions have been changed but not saved.
Diffstat (limited to 'view/tpl/abook_edit.tpl')
-rwxr-xr-xview/tpl/abook_edit.tpl32
1 files changed, 17 insertions, 15 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl
index c2c11e4b1..bb20312fa 100755
--- a/view/tpl/abook_edit.tpl
+++ b/view/tpl/abook_edit.tpl
@@ -7,11 +7,27 @@
<div id="connection-flag-tabs">
{{$tabs}}
</div>
+<div id="connection-edit-buttons">
+{{foreach $buttons as $b }}
+<button class="btn btn-sm btn-default" title="{{$b.title}}" onclick="window.location.href='{{$b.url}}'; return false;">{{$b.label}}</button>
+{{/foreach}}
{{/if}}
-
<div id="contact-edit-wrapper">
+<form id="abook-edit-form" action="connedit/{{$contact_id}}" method="post" >
+
+<div class="abook-permschange" style="display: none;">
+<div class="abook-perms-steps"><i class="icon-check"></i><br />{{$perms_step1}}</div>
+<div class="abook-perms-steps"><i class="icon-check-empty"></i><br />{{$perms_step2}}</div>
+<div class="abook-perms-steps"><i class="icon-check-empty"></i><br />{{$perms_step3}}</div>
+</div>
+
+<div class="abook-permssave" style="display: none;">
+<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" />
+</div>
+
+
{{if $last_update}}
{{$lastupdtext}} {{$last_update}}
@@ -27,7 +43,6 @@
{{/if}}
-<form id="abook-edit-form" action="connedit/{{$contact_id}}" method="post" >
{{if $self}}
<div class="abook-autotext">
@@ -40,10 +55,6 @@
<input type="hidden" name="contact_id" value="{{$contact_id}}">
<input id="contact-closeness-mirror" type="hidden" name="closeness" value="{{$close}}" />
-<div class="abook-permschange" style="display: none;"></div>
-<div class="abook-permssave" style="display: none;">
-<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" />
-</div>
{{if $is_pending}}
@@ -63,15 +74,6 @@
<h3>{{$permlbl}}</h3>
<div id="perm-desc" class="descriptive-text">{{$permnote}}</div>
-
-<br />
-
-<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" />
-
-<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">{{$advanced}}</div>
-
-<div id="abook-advanced-panel" style="display: block;">
-
<table>
<tr><td></td><td class="abook-them">{{$them}}</td><td colspan="2" class="abook-me">{{$me}}</td><td></td></tr>
<tr><td colspan="5"><hr /></td></tr>