From c3a98fda15c707f3718e30cf1abb30c1ea042df8 Mon Sep 17 00:00:00 2001 From: Scott Ostler Date: Wed, 24 Feb 2010 09:55:06 -0500 Subject: Added edit-toggle to profile --- template/profile.st | 99 +++++++++++++++++++++++++++-------------------------- 1 file changed, 50 insertions(+), 49 deletions(-) (limited to 'template/profile.st') diff --git a/template/profile.st b/template/profile.st index b5d3f38..52b745c 100755 --- a/template/profile.st +++ b/template/profile.st @@ -34,59 +34,60 @@ $dumps:{ d | $logged_dump(dump=d)$ }$ -
- -

$nick$

- - $if(avatar)$ - - $else$ - - $endif$ - - $if(is_home)$ -
$avatar$
- - - $endif$ - - - $if(is_home)$ -

contact info

-
$contact$
- $elseif(contact)$ -

contact info

-
$contact$
- $else$ -

-
- $endif$ - - -
- - $if(is_home)$ -

bio

-
$bio$
- $elseif(bio)$ -

bio

-
$bio$
- $else$ -
- $endif$ - - -
-
-
-
+
+ +

$nick$

+ $if(avatar)$ + + $else$ + + $endif$ + + $if(is_home)$ + + $endif$ + + $endif$ + +

contact info

+ $if(contact)$ +
$contact$
+ $else$ +

+
+ $endif$ +
+ +

bio

+ $if(bio)$ +
$bio$
+ $else$ +
+ $endif$ + + $if(is_home)$ +
+ + $endif$ + + +
+
+
+
$else$

 

 

-

 

 

 

-

 

-

☺✌ Welcome to dump.fm ✌☺

+

 

+

 

+

 

+
+

☺✌ Welcome to dump.fm ✌☺



-- cgit v1.2.3-70-g09d2 From 09adb55a01f9c752cf843dd4dc7163a2ea51cfb8 Mon Sep 17 00:00:00 2001 From: Scott Ostler Date: Thu, 25 Feb 2010 08:21:38 -0500 Subject: Added new templates --- template/about_us.st | 7 +++++ template/goodies.st | 8 ++++++ template/head.st | 4 +-- template/help.st | 7 +++++ template/privacy.st | 7 +++++ template/profile.st | 76 +++++++++++++++++++++++++--------------------------- template/terms.st | 7 +++++ 7 files changed, 75 insertions(+), 41 deletions(-) create mode 100644 template/about_us.st create mode 100644 template/goodies.st create mode 100644 template/help.st create mode 100644 template/privacy.st create mode 100644 template/terms.st (limited to 'template/profile.st') diff --git a/template/about_us.st b/template/about_us.st new file mode 100644 index 0000000..b8ee9f9 --- /dev/null +++ b/template/about_us.st @@ -0,0 +1,7 @@ + + + About Us + $head()$ + + + diff --git a/template/goodies.st b/template/goodies.st new file mode 100644 index 0000000..a7c0824 --- /dev/null +++ b/template/goodies.st @@ -0,0 +1,8 @@ + + + Goodies + $head()$ + + + + \ No newline at end of file diff --git a/template/head.st b/template/head.st index 46ce6a5..e83e687 100755 --- a/template/head.st +++ b/template/head.st @@ -1,7 +1,7 @@ - - + + diff --git a/template/help.st b/template/help.st new file mode 100644 index 0000000..0d41e21 --- /dev/null +++ b/template/help.st @@ -0,0 +1,7 @@ + + + Help + $head()$ + + + diff --git a/template/privacy.st b/template/privacy.st new file mode 100644 index 0000000..513eca3 --- /dev/null +++ b/template/privacy.st @@ -0,0 +1,7 @@ + + + Privacy + $head()$ + + + \ No newline at end of file diff --git a/template/profile.st b/template/profile.st index 52b745c..26cb5a1 100755 --- a/template/profile.st +++ b/template/profile.st @@ -88,55 +88,53 @@

 

☺✌ Welcome to dump.fm ✌☺

- -

- -

Step ❶

-

☟ Find a sweet image for your avatar, paste the URL below ☟

- $if(avatar)$ - - $else$ - - $endif$ - - $if(is_home)$ -
$avatar$
- $endif$ - -

Step ❷

-

☟ Enter some contact info below ☟

-
$contact$
-
- -

Step ❸

-

☟ Enter some personal info below ☟

-
$bio$
-
-

Step ❹

- -

Join the ♣ and start posting pictures!

-

 

+

+ +

Step ❶

+

☟ Find a sweet image for your avatar, paste the URL below ☟

+ $if(avatar)$ + + $else$ + + $endif$ + + $if(is_home)$ +
$avatar$
+ $endif$ + +

Step ❷

+

☟ Enter some contact info below ☟

+
$contact$
+
+ +

Step ❸

+

☟ Enter some personal info below ☟

+
$bio$
+
+

Step ❹

+ +

Join the ♣ and start posting pictures!

+

 

 

 

 

 

 

$endif$ - +

 

- $if(next)$ - - $endif$ - -   - $if(prev)$ - - $endif$ - + $if(next)$ + + $endif$ -

+   + $if(prev)$ + + $endif$ + +

$users: { u | -
+ diff --git a/template/log.st b/template/log.st index 7281e11..65f149e 100755 --- a/template/log.st +++ b/template/log.st @@ -2,7 +2,7 @@ dump.fm log $head()$ - + @@ -20,6 +20,9 @@
+
+ +
$if(dumps)$ $dumps: { d | $logged_dump(dump=d)$ }$ $else$ diff --git a/template/logged_dump.st b/template/logged_dump.st index c7cbbd2..86465e3 100755 --- a/template/logged_dump.st +++ b/template/logged_dump.st @@ -32,7 +32,7 @@ img{
$dump.created_on$ -- by $dump.nick$
- +
$dump.content$

diff --git a/template/profile.st b/template/profile.st index b5d3f38..9f085c6 100755 --- a/template/profile.st +++ b/template/profile.st @@ -32,8 +32,9 @@ $if(dumps)$ $dumps:{ d | $logged_dump(dump=d)$ }$ - - +
+ +

$nick$

@@ -45,8 +46,8 @@ $endif$ $if(is_home)$ -
$avatar$
- + + $endif$ -- cgit v1.2.3-70-g09d2 From 3c0aa312a9cb6dce05ec20b93191700e17b1a170 Mon Sep 17 00:00:00 2001 From: Scott Ostler Date: Thu, 25 Feb 2010 20:15:28 -0500 Subject: Fixed new-user profile --- template/profile.st | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'template/profile.st') diff --git a/template/profile.st b/template/profile.st index e3f59ae..46e8cb4 100755 --- a/template/profile.st +++ b/template/profile.st @@ -11,12 +11,9 @@ - + jQuery(document).ready(initProfile); + @@ -28,7 +25,8 @@

-
+
+
$if(dumps)$ $dumps:{ d | $logged_dump(dump=d)$ }$ @@ -48,8 +46,6 @@
$endif$ - - $endif$

contact info

$if(contact)$ @@ -72,7 +68,6 @@ $endif$ -
@@ -98,7 +93,11 @@ $endif$ $if(is_home)$ -
$avatar$
+
+
$avatar$
+ + +
$endif$

Step ❷

-- cgit v1.2.3-70-g09d2