Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/views/default/friends.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/friends.html')
-rw-r--r--views/default/friends.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/views/default/friends.html b/views/default/friends.html
new file mode 100644
index 0000000..4dacbaa
--- /dev/null
+++ b/views/default/friends.html
@@ -0,0 +1,27 @@
+{{extend 'default/_base.html'}}
+{{=username+"'s Friends List:"}}
+<center>
+<table>
+{{for user in friends:}}
+ <tr>
+ <td>{{=user.username}}</td>
+ <td><a href={{= 'profile?profile=' +str(user.username)}}>view profile</a></td>
+ {{if auth.is_logged_in():}}
+ {{if username == auth.user.username:}}
+ <td><a href={{= 'remove_friends?user=' +str(user.username)}}>remove friend</a></td>
+ {{pass}}
+ {{pass}}
+ </tr>
+ {{pass}}
+</table>
+<ul id="navlist">
+{{for count in range(pages):}}
+ {{if count+1 == page:}}
+ <li>{{=str(page)}}</li>
+ {{pass}}
+ {{if count+1 != page:}}
+ <li><a href = {{="admin.html?page="+str(count+1)}}>{{ = str(count+1)}}</a></li>
+ {{pass}}
+ {{pass}}
+</ul>
+</center>