yacy_search_server/htroot/ViewProfile.html
Michael Peter Christen 92655c7fd9 - added bootstrap css framework
- adopted all YaCy administration pages to new framework
- created new search page layout (working, but still work in progress)
- old skin files are fully appliable! (and looking good)
- target is a new style based on bootstrap examples, see /test.html
- icons in YaCy may be replaced by glyphicons (to be done)
2014-03-18 13:42:31 +01:00

82 lines
3.3 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>YaCy '#[clientname]#': Remote Peer Profile</title>
<link rel="alternate" type="text/x-vcard" title="vCard" href="ViewProfile.vcf?hash=#[hash]#" />
<link rel="meta" type="application/rdf+xml" title="rdf:foaf" href="ViewProfile.rdf?hash=#[hash]#" />
#%env/templates/metas.template%#
</head>
<body id="ViewProfile">
#(display)#
#%env/templates/simpleheader.template%#
<script type="text/javascript">
document.getElementById("header_profile").className += " active";
//document.getElementById("greeting").innerHTML="#[promoteSearchPageGreeting]#";
document.getElementById("greeting-icon").src="#[promoteSearchPageGreeting.smallImage]#";
document.getElementById("navbar-brand").href="#[promoteSearchPageGreeting.homepage]#";
</script>
::
#%env/templates/header.template%#
#(/display)#
#(localremotepeer)#
<h2>Local Peer Profile:</h2>
::
<h2>Remote Peer Profile:</h2>
#(/localremotepeer)#
#(success)#
<p class="error">Wrong access of this page</p>
::
<p class="error">The requested peer is unknown or a potential peer.<br />
The profile can't be fetched.</p>
::
<p class="error">The peer #[peername]# is not online.</p>
::
<h3>This is the Profile of #[peername]#:</h3>
<fieldset>
<dl class="pairs">
<dt>Name</dt>
<dd>#(name)#&nbsp;::#[value]##(/name)#</dd>
<dt>Nick Name</dt>
<dd>#(nickname)#&nbsp;::#[value]##(/nickname)#</dd>
<dt>Homepage</dt>
<dd>#(homepage)#&nbsp;::<a href="#[value]#">#[value]#</a>#(/homepage)#</dd>
<dt>eMail</dt>
<dd>#(email)#&nbsp;::<a href="mailto:#[value]#">#[value]#</a>#(/email)#</dd>
</dl>
<dl class="pairs">
<dt>ICQ</dt>
<dd>#(icq)#&nbsp;::<a href="http://www.icq.com/people/#[value]#/" target="_blank">#[value]#</a> <img src="http://status.icq.com/online.gif?icq=#[value]#&amp;img=5" alt="Onlinestatus" />#(/icq)#</dd>
<dt>Jabber</dt>
<dd>#(jabber)#&nbsp;::#[value]##(/jabber)#</dd>
<dt>Yahoo!</dt>
<dd>#(yahoo)#&nbsp;::#[value]# <img src="http://opi.yahoo.com/online?u=#[value]#&amp;m=g&amp;t=0&amp;zzz=.png" alt="Onlinestatus" />#(/yahoo)#</dd>
<dt>MSN</dt>
<dd>#(msn)#&nbsp;::#[value]##(/msn)#</dd>
<dt>Skype</dt>
<dd>#(skype)#&nbsp;::#[value]##(/skype)#</dd>
</dl>
<dl class="pairs">
<dt>Comment</dt>
<dd>#(comment)#&nbsp;::#[value]##(/comment)#</dd>
#{other}#
<dt>#[key]#</dt>
<dd>#[value]#&nbsp;</dd>
#{/other}#
</dl>
</fieldset>
#(/success)#
<p>View this profile as <a rel="meta" type="application/rdf+xml" title="rdf:foaf" href="ViewProfile.rdf?hash=#[hash]#">rdf:foaf</a> or
<a rel="alternate" type="text/x-vcard" title="vCard" href="ViewProfile.vcf?hash=#[hash]#">vCard</a></p>
#(edit)#::
<p>You can edit your profile <a href="ConfigProfile_p.html">here</a></p>
#(/edit)#
#(display)#
#%env/templates/simplefooter.template%#
::
#%env/templates/footer.template%#
#(/display)#
</body>
</html>