tommy tomson 7 years ago
parent
commit
c26787ab94

+ 0
- 0
.gitmodules View File


+ 0
- 1
view/theme/diabook

@@ -1 +0,0 @@
1
-Subproject commit e29c43c4e78e42f448cbd84dc51a3a346bdab01f

+ 25
- 0
view/theme/diabook/contact_template.tpl View File

@@ -0,0 +1,25 @@
1
+
2
+<div class="contact-entry-wrapper" id="contact-entry-wrapper-$contact.id" >
3
+	<div class="contact-entry-photo-wrapper" >
4
+		<div class="contact-entry-photo mframe" id="contact-entry-photo-$contact.id"
5
+		onmouseover="if (typeof t$contact.id != 'undefined') clearTimeout(t$contact.id); openMenu('contact-photo-menu-button-$contact.id')" 
6
+		onmouseout="t$contact.id=setTimeout('closeMenu(\'contact-photo-menu-button-$contact.id\'); closeMenu(\'contact-photo-menu-$contact.id\');',200)" >
7
+
8
+			<a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" $contact.sparkle alt="$contact.name" /></a>
9
+
10
+			{{ if $contact.photo_menu }}
11
+			<span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>
12
+                <div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
13
+                    <ul>
14
+                        $contact.photo_menu
15
+                    </ul>
16
+                </div>
17
+			{{ endif }}
18
+		</div>
19
+			
20
+	</div>
21
+	<div class="contact-entry-photo-end" ></div>
22
+		<div class="contact-entry-name" id="contact-entry-name-$contact.id" >$contact.name</div>
23
+
24
+	<div class="contact-entry-end" ></div>
25
+</div>

+ 0
- 0
view/theme/diabook/experimental View File


BIN
view/theme/diabook/icons/contacts.png View File


BIN
view/theme/diabook/icons/contacts2.png View File


BIN
view/theme/diabook/icons/dislike.png View File


BIN
view/theme/diabook/icons/drop.png View File


BIN
view/theme/diabook/icons/head.jpg View File


BIN
view/theme/diabook/icons/like.png View File


BIN
view/theme/diabook/icons/messages.png View File


BIN
view/theme/diabook/icons/notifications.png View File


BIN
view/theme/diabook/icons/notify.png View File


BIN
view/theme/diabook/icons/pencil.png View File


BIN
view/theme/diabook/icons/recycle.png View File


BIN
view/theme/diabook/icons/remote.png View File


BIN
view/theme/diabook/icons/selected.png View File


BIN
view/theme/diabook/icons/star.png View File


BIN
view/theme/diabook/icons/tagged.png View File


BIN
view/theme/diabook/icons/unstarred.png View File


+ 162
- 0
view/theme/diabook/nav.tpl View File

@@ -0,0 +1,162 @@
1
+<header>
2
+	{# $langselector #}
3
+
4
+	<div id="site-location">$sitelocation</div>
5
+	<div id="banner">$banner</div>
6
+</header>
7
+<nav>
8
+			
9
+			
10
+	<ul>
11
+			
12
+			
13
+			{{ if $nav.network }}
14
+			<li id="nav-network-link" class="nav-menu-icon">
15
+				<a class="$nav.network.2" href="$nav.network.0" title="$nav.network.3" >
16
+				<span class="icon notifications">Benachrichtigungen</span></a>
17
+				<span id="net-update" class="nav-notify"></span>
18
+			</li>
19
+		    {{ endif }}
20
+	
21
+
22
+			<li class="nav-menu-icon" id="nav-contacts-linkmenu">
23
+				<a href="$nav.contacts.0" rel="#nav-contacts-menu" title="$nav.contacts.1">
24
+				<span class="icon contacts">$nav.contacts.1</span></a>
25
+				<span id="intro-update" class="nav-notify"></span>
26
+				<ul id="nav-contacts-menu" class="menu-popup">
27
+					<li id="nav-contacts-see-intro"><a href="$nav.notifications.0">Kontaktanfragen</a><span id="intro-update" class="nav-notify"></span></li>
28
+					<li id="nav-contacts-all"><a href="contacts">$nav.contacts.1</a></li> 
29
+				</ul>
30
+			</li>	
31
+			
32
+			
33
+			
34
+			<li  id="nav-messages-linkmenu" class="nav-menu-icon">
35
+			  <a href="$nav.messages.0" rel="#nav-messages-menu" title="$nav.messages.1">
36
+			  <span class="icon messages">$nav.messages.1</span></a>
37
+				<span id="mail-update" class="nav-notify"></span>
38
+				<ul id="nav-messages-menu" class="menu-popup">
39
+					<li id="nav-messages-see-all"><a href="$nav.messages.0">$nav.messages.1</a></li>
40
+					<li id="nav-messages-inbox"><a href="$nav.messages.0">Eingang</a></li>
41
+					<li id="nav-messages-outbox"><a href="message/sent">Ausgang</a></li>
42
+					<li id="nav-messages-new"><a href="message/new">Neue Nachricht</a></li>
43
+				</ul>
44
+			</li>		
45
+		
46
+		
47
+      
48
+      {{ if $nav.notifications }}
49
+			<li  id="nav-notifications-linkmenu" class="nav-menu-icon"><a href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1"><span class="icon notify">$nav.notifications.1</span></a>
50
+				<span id="notify-update" class="nav-notify"></span>
51
+				<ul id="nav-notifications-menu" class="menu-popup">
52
+					<li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">$nav.notifications.mark.1</a></li>
53
+					<li id="nav-notifications-see-all"><a href="$nav.notifications.all.0">$nav.notifications.all.1</a></li>
54
+					<li class="empty">$emptynotifications</li>
55
+				</ul>
56
+			</li>		
57
+		{{ endif }}			
58
+		
59
+				
60
+		
61
+		<li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear">Site</span></a>
62
+			<ul id="nav-site-menu" class="menu-popup">
63
+				{{ if $nav.manage }}<li><a class="$nav.manage.2" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a></li>{{ endif }}				
64
+
65
+				{{ if $nav.help }} <li><a class="$nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a></li>{{ endif }}
66
+
67
+										 <li><a class="$nav.search.2" href="$nav.search.0" title="$nav.search.3" >$nav.search.1</a></li>
68
+
69
+				{{ if $nav.settings }}<li><a class="menu-sep $nav.settings.2" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a></li>{{ endif }}
70
+				{{ if $nav.admin }}<li><a class="$nav.admin.2" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a></li>{{ endif }}
71
+
72
+				{{ if $nav.logout }}<li><a class="menu-sep $nav.logout.2" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a></li>{{ endif }}
73
+				{{ if $nav.login }}<li><a class="$nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a><li>{{ endif }}
74
+				
75
+			</ul>		
76
+		</li>
77
+		
78
+		
79
+
80
+		<li id="nav-directory-link" class="nav-menu $sel.directory">
81
+			<a class="$nav.directory.2" href="$nav.directory.0" title="$nav.directory.3" >$nav.directory.1</a>
82
+		</li>
83
+		
84
+		{{ if $nav.apps }}
85
+			<li id="nav-apps-link" class="nav-menu $sel.apps">
86
+				<a class=" $nav.apps.2" href="#" rel="#nav-apps-menu" title="$nav.apps.3" >$nav.apps.1</a>
87
+				<ul id="nav-apps-menu" class="menu-popup">
88
+					{{ for $apps as $ap }}
89
+					<li>$ap</li>
90
+					{{ endfor }}
91
+				</ul>
92
+			</li>
93
+		{{ endif }}		
94
+		
95
+      {{ if $nav.home }}
96
+			<li id="nav-home-link" class="nav-menu $sel.home">
97
+				<a class="$nav.home.2" href="$nav.home.0" title="$nav.home.3" >$nav.home.1</a>
98
+				<span id="home-update" class="nav-notify"></span>
99
+			</li>
100
+		{{ endif }}		
101
+		
102
+		{{ if $userinfo }}
103
+			<li id="nav-user-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-user-menu" title="$sitelocation"><img src="$userinfo.icon" alt="$userinfo.name"></a>
104
+				<ul id="nav-user-menu" class="menu-popup">
105
+					{{ for $nav.usermenu as $usermenu }}
106
+						<li><a class="$usermenu.2" href="$usermenu.0" title="$usermenu.3">$usermenu.1</a></li>
107
+					{{ endfor }}
108
+					
109
+					{{ if $nav.notifications }}<li><a class="menu-sep $nav.notifications.2" href="$nav.notifications.0" title="$nav.notifications.3" >$nav.notifications.1</a></li>{{ endif }}
110
+					{{ if $nav.messages }}<li><a class="$nav.messages.2" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1</a></li>{{ endif }}
111
+					{{ if $nav.contacts }}<li><a class="$nav.contacts.2" href="$nav.contacts.0" title="$nav.contacts.3" >$nav.contacts.1</a></li>{{ endif }}	
112
+				</ul>
113
+			</li>
114
+		{{ endif }}
115
+		
116
+		
117
+		
118
+	</ul>
119
+	</div>	
120
+
121
+</nav>
122
+<ul id="nav-notifications-template" style="display:none;" rel="template">
123
+	<li><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li>
124
+</ul>
125
+
126
+{#
127
+
128
+{{ if $nav.logout }}<a id="nav-logout-link" class="nav-link $nav.logout.2" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a> {{ endif }}
129
+{{ if $nav.login }}<a id="nav-login-link" class="nav-login-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a> {{ endif }}
130
+
131
+<span id="nav-link-wrapper" >
132
+
133
+{{ if $nav.register }}<a id="nav-register-link" class="nav-commlink $nav.register.2" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>{{ endif }}
134
+	
135
+<a id="nav-help-link" class="nav-link $nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a>
136
+	
137
+{{ if $nav.apps }}<a id="nav-apps-link" class="nav-link $nav.apps.2" href="$nav.apps.0" title="$nav.apps.3" >$nav.apps.1</a>{{ endif }}
138
+
139
+<a id="nav-search-link" class="nav-link $nav.search.2" href="$nav.search.0" title="$nav.search.3" >$nav.search.1</a>
140
+<a id="nav-directory-link" class="nav-link $nav.directory.2" href="$nav.directory.0" title="$nav.directory.3" >$nav.directory.1</a>
141
+
142
+{{ if $nav.admin }}<a id="nav-admin-link" class="nav-link $nav.admin.2" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a>{{ endif }}
143
+
144
+{{ if $nav.notifications }}
145
+<a id="nav-notify-link" class="nav-commlink $nav.notifications.2" href="$nav.notifications.0" title="$nav.notifications.3" >$nav.notifications.1</a>
146
+<span id="notify-update" class="nav-ajax-left"></span>
147
+{{ endif }}
148
+{{ if $nav.messages }}
149
+<a id="nav-messages-link" class="nav-commlink $nav.messages.2" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1</a>
150
+<span id="mail-update" class="nav-ajax-left"></span>
151
+{{ endif }}
152
+
153
+{{ if $nav.manage }}<a id="nav-manage-link" class="nav-commlink $nav.manage.2" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>{{ endif }}
154
+
155
+{{ if $nav.settings }}<a id="nav-settings-link" class="nav-link $nav.settings.2" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a>{{ endif }}
156
+{{ if $nav.profiles }}<a id="nav-profiles-link" class="nav-link $nav.profiles.2" href="$nav.profiles.0" title="$nav.profiles.3" >$nav.profiles.1</a>{{ endif }}
157
+
158
+
159
+</span>
160
+<span id="nav-end"></span>
161
+<span id="banner">$banner</span>
162
+#}

+ 2052
- 0
view/theme/diabook/style.css
File diff suppressed because it is too large
View File


+ 92
- 0
view/theme/diabook/wall_item.tpl View File

@@ -0,0 +1,92 @@
1
+{{ if $item.indent }}{{ else }}
2
+<div class="wall-item-decor">
3
+	<span class="icon star $item.isstarred" id="starred-$item.id" title="$item.star.starred">$item.star.starred</span>
4
+	{{ if $item.lock }}<span class="icon lock fakelink" onclick="lockview(event,$item.id);" title="$item.lock">$item.lock</span>{{ endif }}	
5
+	<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
6
+</div>
7
+{{ endif }}
8
+<div class="wall-item-container $item.indent">
9
+	<div class="wall-item-item">
10
+		<div class="wall-item-info">
11
+			<div class="contact-photo-wrapper"
12
+				onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" 
13
+				onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
14
+				<a href="$item.profile_url" target="redir" title="$item.linktitle" class="contact-photo-link" id="wall-item-photo-link-$item.id">
15
+					<img src="$item.thumb" class="contact-photo$item.sparkle" id="wall-item-photo-$item.id" alt="$item.name" />
16
+				</a>
17
+				<a href="#" rel="#wall-item-photo-menu-$item.id" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-$item.id">menu</a>
18
+				<ul class="contact-menu menu-popup" id="wall-item-photo-menu-$item.id">
19
+				$item.item_photo_menu
20
+				</ul>
21
+				
22
+			</div>
23
+		</div>
24
+			<div class="wall-item-actions-author">
25
+				<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle">$item.name</span></a> 
26
+			<span class="wall-item-ago">-
27
+			{{ if $item.plink }}<a class="link" title="$item.plink.title" href="$item.plink.href" style="color: #999">$item.ago</a>{{ else }} $item.ago {{ endif }}
28
+			{{ if $item.lock }} - <span class="fakelink" style="color: #999" onclick="lockview(event,$item.id);">$item.lock</span> {{ endif }}
29
+			</span>
30
+			</div>
31
+		<div class="wall-item-content">
32
+
33
+			{{ if $item.title }}<h2><a href="$item.plink.href">$item.title</a></h2>{{ endif }}
34
+			$item.body
35
+		</div>
36
+	</div>
37
+	<div class="wall-item-bottom">
38
+		<div class="wall-item-links">
39
+		</div>
40
+		<div class="wall-item-tags">
41
+			{{ for $item.tags as $item.tag }}
42
+				<span class='tag'>$item.tag</span>
43
+			{{ endfor }}
44
+		</div>
45
+	</div>
46
+	<div class="wall-item-bottom">
47
+		<div class="">
48
+			{{ if $item.plink }}<a class="icon s16 link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
49
+		</div>
50
+		<div class="wall-item-actions">
51
+			<div class="wall-item-location">$item.location&nbsp;</div>
52
+			<div class="wall-item-actions-social">
53
+		
54
+		{{ if $item.star }}
55
+				<a href="#" id="star-$item.id" class="icon unstarred" onclick="dostar($item.id); return false;"  class="$item.star.classdo" title="$item.star.do">$item.star.do</a>
56
+				<a href="#" id="unstar-$item.id" class="icon star" onclick="dostar($item.id); return false;"  class="$item.star.classundo"  title="$item.star.undo">$item.star.undo</a>
57
+				<a href="#" id="tagger-$item.id" class="icon tagged" onclick="itemTag($item.id); return false;" class="$item.star.classtagger" title="$item.star.tagger">$item.star.tagger</a>
58
+			{{ endif }}
59
+				
60
+			{{ if $item.vote }}
61
+				<a href="#" id="like-$item.id" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false">$item.vote.like.1</a>
62
+				<a href="#" id="dislike-$item.id" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
63
+			{{ endif }}
64
+						
65
+			{{ if $item.vote.share }}
66
+				<a href="#" id="share-$item.id" class="icon recycle" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>
67
+			{{ endif }}				
68
+			</div>
69
+			
70
+			<div class="wall-item-actions-tools">
71
+
72
+				{{ if $item.drop.dropping }}
73
+					<input type="checkbox" title="$item.drop.select" name="itemselected[]" class="item-select" value="$item.id" />
74
+					<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drop" title="$item.drop.delete">$item.drop.delete</a>
75
+				{{ endif }}
76
+				{{ if $item.edpost }}
77
+					<a class="icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
78
+				{{ endif }}
79
+			</div>
80
+			
81
+		</div>
82
+	</div>
83
+	<div class="wall-item-bottom">
84
+		<div class="wall-item-links"></div>
85
+		<div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
86
+		<div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>	
87
+	</div>
88
+</div>
89
+
90
+<div class="wall-item-comment-wrapper" >
91
+	$item.comment
92
+</div>

Loading…
Cancel
Save