diff options
| -rwxr-xr-x | template/profile.st | 42 |
1 files changed, 29 insertions, 13 deletions
diff --git a/template/profile.st b/template/profile.st index f2c5723..20ba72c 100755 --- a/template/profile.st +++ b/template/profile.st @@ -41,6 +41,7 @@ <div id="profile"> + <h2>$nick$</h2> $if(avatar)$ @@ -53,12 +54,31 @@ <div id="avatar" class="editable">$avatar$</div> $endif$ - <h3>contact info</h3> - <div id="contact" class="$if(is_home)$editable$else$linkify$endif$">$contact$</div> - <br> - <h3>personal info</h3> - <div id="bio" class="$if(is_home)$editable$else$linkify$endif$">$bio$</div> + $if(is_home)$ + <h3>contact info</h3> + <div id="contact" class="editable">$contact$</div> + $elseif(contact)$ + <h3>contact info</h3> + <div id="contact" class="linkify">$contact$</div> + $else$ + <div>No contact info</div> + $endif$ + + + <br> + + $if(is_home)$ + <h3>biography</h3> + <div id="bio" class="editable">$bio$</div> + $elseif(contact)$ + <h3>biography</h3> + <div id="bio" class="linkify">$bio$</div> + $else$ + <div>No bio</div> + $endif$ + + <br> <div id="date"> <div type="text" id="datepicker"></div></div> @@ -69,9 +89,9 @@ <h3> </h3> <h3> </h3> <h3> </h3> <h3> </h3><div id="newuser"> -<h2>Welcome to dump.fm! ✌</h2> +<h2>☺✌ Welcome to dump.fm ✌☺</h2> -<br> +<br><br><br> <h1>❶ Find a cool image you want as your avatar</h1> To get started <a href="/chat">join in</a> and post a few pictures.</h3> @@ -86,15 +106,11 @@ $endif$ <h3>contact info</h3> - <div id="contact" class="$if(is_home)$editable$else$linkify$endif$"> - $contact$ - </div> + <div id="contact" class="$if(is_home)$editable$else$linkify$endif$">$contact$</div> <br> <h3>personal info</h3> - <div id="bio" class="$if(is_home)$editable$else$linkify$endif$"> - $bio$ - </div> + <div id="bio" class="$if(is_home)$editable$else$linkify$endif$">$bio$</div> <br> <h3> </h3></div> <h3> </h3> |
