diff --git a/www/application/views/home.php b/www/application/views/home.php index 1c945f9..d4198af 100644 --- a/www/application/views/home.php +++ b/www/application/views/home.php @@ -8,8 +8,8 @@
-

All Tweets

- +

My Feed

+ load->library('form_validation'); ?>
@@ -24,7 +24,6 @@
No tweets found"; ?> -
@@ -47,7 +46,6 @@
" . $row['first_name'] . " " . $row['last_name'] . " " . "" . "@" . $row['username'] . "" . ""; ?> -
-
- diff --git a/www/application/views/user.php b/www/application/views/user.php index ccb1167..08a478b 100644 --- a/www/application/views/user.php +++ b/www/application/views/user.php @@ -1,14 +1,28 @@ - +
-

My Tweets

+

My Profile

load->library('form_validation'); ?>
- " . $this->session->userdata('first_name') . " " . $this->session->userdata('last_name') . ""; ?> +
+ session->userdata('username') === "mona") echo "\"user\""; + else if($this->session->userdata('username') === "chris") echo "\"user\""; + else echo "\"user\""; + ?> +
+
+ " . $this->session->userdata('first_name') . " " . $this->session->userdata('last_name') . " " . "" . "@" . $this->session->userdata('username') . "" . ""; + echo "

" . "" . " " . $this->session->userdata('location') . "

"; + ?> +
-
+
diff --git a/www/css/styles.css b/www/css/styles.css index 91380c4..97fbb0d 100644 --- a/www/css/styles.css +++ b/www/css/styles.css @@ -42,12 +42,32 @@ img.icon.reg { .user-content{ background-color:#ffffff; - border-radius: 50px; - border:1px solid #eeeeee; + border-radius: 4px; + padding-left:0; + text-align:center } -.tweet-container{ +.user-content h3{ + margin-top:10px +} +.user-content img{ + float:none; + margin: auto; + display: block; + width:80px; + padding-top:15px +} + +.user-content .location{ + font-size:16px; +} + +.tweet-submit .form-control { + height: 121px!important; +} + +.tweet-container{ margin-bottom:15px; margin-top: 15px; max-width:100%; diff --git a/www/img/mona.png b/www/img/mona.png index f9323f9..3dccd84 100644 Binary files a/www/img/mona.png and b/www/img/mona.png differ