aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-17 12:56:55 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-17 12:56:55 +0100
commit40162cd6b712f45ecd21f41d7793b2a6be6ac021 (patch)
treefa4f234f4deb22a868e08a194dfaace1da55c190 /view/tpl
parenta41a05e6c0b0fa5f9497f0880a2db9d8d7374092 (diff)
downloadvolse-hubzilla-40162cd6b712f45ecd21f41d7793b2a6be6ac021.tar.gz
volse-hubzilla-40162cd6b712f45ecd21f41d7793b2a6be6ac021.tar.bz2
volse-hubzilla-40162cd6b712f45ecd21f41d7793b2a6be6ac021.zip
some work on profile listing
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/profile_edit.tpl16
-rwxr-xr-xview/tpl/profile_entry.tpl20
-rwxr-xr-xview/tpl/profile_listing_header.tpl21
3 files changed, 30 insertions, 27 deletions
diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl
index c7da20f81..a02323e45 100755
--- a/view/tpl/profile_edit.tpl
+++ b/view/tpl/profile_edit.tpl
@@ -6,24 +6,26 @@
</button>
<ul class="dropdown-menu">
<li class="nav-item">
- <a class="nav-link" href="profile_photo" id="profile-photo_upload-link" title="{{$profpic}}">{{$profpic}}</a>
+ <a class="nav-link" href="profile_photo" id="profile-photo_upload-link" title="{{$profpic}}"><i class="icon-user"></i>&nbsp;{{$profpic}}</a>
</li>
{{if $is_default}}
<li class="nav-item">
- <a href="cover_photo" id="cover-photo_upload-link" title="{{$coverpic}}">{{$coverpic}}</a>
+ <a href="cover_photo" id="cover-photo_upload-link" title="{{$coverpic}}"><i class="icon-picture"></i>&nbsp;{{$coverpic}}</a>
</li>
{{/if}}
+ {{if ! $is_default}}
<li class="nav-item">
- <a href="thing" id="profile-edit-thing-link" title="{{$addthing}}">{{$addthing}}</a>
+ <a href="profperm/{{$profile_id}}" id="profile-edit-visibility-link" title="{{$editvis}}"><i class="icon-pencil"></i>&nbsp;{{$editvis}}</a>
</li>
+ {{/if}}
<li class="nav-item">
- <a href="profile/{{$profile_id}}/view" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a>
+ <a href="thing" id="profile-edit-thing-link" title="{{$addthing}}"><i class="icon-plus-sign"></i>&nbsp;{{$addthing}}</a>
</li>
- {{if ! $is_default}}
+ <li class="divider"></li>
<li class="nav-item">
- <a href="profperm/{{$profile_id}}" id="profile-edit-visibility-link" title="{{$editvis}}">{{$editvis}}</a>
+ <a href="profile/{{$profile_id}}/view" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a>
</li>
- {{/if}}
+
{{if $profile_clone_link}}
<li class="divider"></li>
<li class="nav-item">
diff --git a/view/tpl/profile_entry.tpl b/view/tpl/profile_entry.tpl
index ab81a7fbc..9ae870738 100755
--- a/view/tpl/profile_entry.tpl
+++ b/view/tpl/profile_entry.tpl
@@ -1,11 +1,11 @@
-<div class="generic-content-wrapper-styled">
-<div class="profile-listing" >
-<div class="profile-listing-photo-wrapper" >
-<a href="profiles/{{$id}}" class="profile-listing-edit-link"><img class="profile-listing-photo" id="profile-listing-photo-{{$id}}" src="{{$photo}}" alt="{{$alt}}" /></a>
-</div>
-<div class="profile-listing-photo-end"></div>
-<div class="profile-listing-name" id="profile-listing-name-{{$id}}"><a href="profiles/{{$id}}" class="profile-listing-edit-link" >{{$profile_name}}</a></div>
-<div class="profile-listing-visible">{{$visible}}</div>
-</div>
-<div class="profile-listing-end"></div>
+<div class="profile-listing-row">
+ <div class="profile-listing-cell" >
+ <a href="profiles/{{$id}}"><img class="profile-listing-photo" id="profile-listing-photo-{{$id}}" src="{{$photo}}" alt="{{$alt}}" /></a>
+ </div>
+ <div class="profile-listing-cell" id="profile-listing-name-{{$id}}">
+ <a href="profiles/{{$id}}" class="profile-listing-edit-link" >{{$profile_name}}</a>
+ </div>
+ <div class="profile-listing-cell">
+ {{$visible}}
+ </div>
</div>
diff --git a/view/tpl/profile_listing_header.tpl b/view/tpl/profile_listing_header.tpl
index 09d00f982..2f39f0903 100755
--- a/view/tpl/profile_listing_header.tpl
+++ b/view/tpl/profile_listing_header.tpl
@@ -1,11 +1,12 @@
-<div class="generic-content-wrapper-styled">
-<h1>{{$header}}</h1>
-<p id="profile-listing-desc" class="btn btn-default" >
-<a href="profile_photo" >{{$chg_photo}}</a>
-</p>
-<p id="profile-stuff-link" class="btn btn-default">
-<a href="thing" title="{{$stuff_desc}}">{{$addstuff}}</a>
-</p>
-<p id="profile-listing-new-link-wrapper" class="btn btn-default" >
-<a href="{{$cr_new_link}}" id="profile-listing-new-link" title="{{$cr_new}}" >{{$cr_new}}</a>
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ <a class="btn btn-success btn-xs pull-right" href="{{$cr_new_link}}" id="profile-listing-new-link" title="{{$cr_new}}" ><i class="icon-plus-sign"></i>&nbsp;{{$cr_new}}</a>
+ <h2>{{$header}}</h2>
+ </div>
+ <div class="section-content-wrapper">
+ <div class="profile-listing-table">
+ {{$profiles}}
+ </div>
+ </div>
+
</div>