Permalink
Browse files

client side: garage sale link and css

  • Loading branch information...
1 parent 774aa81 commit 73d6bf877a3a9895dcd5c9aa09073a737770bf2c @Martikos Martikos committed Apr 24, 2013
Showing with 23 additions and 8 deletions.
  1. +10 −2 Views/Layout.master
  2. +4 −0 Views/Layout.master.cs
  3. +4 −1 Views/Search.aspx.cs
  4. +5 −5 public/css/style.css
View
@@ -63,7 +63,7 @@
</LoggedInTemplate>
</asp:LoginView>
</div>
-
+
<nav id="navbar" runat="server">
<ul class="menu" id="menu" runat="server">
<li>
@@ -77,7 +77,14 @@
<asp:LinkButton ID="nav_post" runat="server" OnClick="go_post">
<span class="nav_icon">â</span>
<span class="nav_text">Post</span>
- </asp:LinkButton></li>
+ </asp:LinkButton>
+ </li>
+ <li>
+ <asp:LinkButton ID="nav_garage" runat="server" OnClick="go_garage">
+ <span class="nav_icon">Ç</span>
+ <span class="nav_text">Garage Sale</span>
+ </asp:LinkButton>
+ </li>
<li>
<asp:LinkButton ID="nav_profile" runat="server" OnClick="go_profile">
<span class="nav_icon">l</span>
@@ -95,6 +102,7 @@
<span class="nav_text">Networks</span>
</asp:LinkButton>
</li>
+
</ul>
</nav>
</div>
View
@@ -29,6 +29,10 @@ protected void go_search(object sender, EventArgs e)
protected void go_networks(object sender, EventArgs e)
{
Response.Redirect("~/Views/Private/Networks.aspx");
+ }
+ protected void go_garage(object sender, EventArgs e)
+ {
+ Response.Redirect("~/Views/Private/GarageSale.aspx");
}
protected void go_post(object sender, EventArgs e)
{
View
@@ -186,7 +186,10 @@ private void getFeatured()
featured3_header.Text = "In Your Network";
networks.Visible = true;
networks_button.Visible = true;
- getNetworkListings(networks.SelectedItem.Text);
+ if (networks.Items.Count > 0)
+ {
+ getNetworkListings(networks.SelectedItem.Text);
+ }
}
else
{
View
@@ -401,13 +401,13 @@ nav .menu {
//height: 40px;
}
-#nav_test {
-
+#navbar {
+ margin-top: 60px;
}
nav .menu li span.nav_icon {
font-family: 'sosa';
- font-size: 30px;
+ font-size: 25px;
}
nav .menu li {
@@ -426,16 +426,16 @@ nav .menu li {
text-decoration: none;
text-shadow: 0px 1px 1px #000;
- font-size: 30px;
+ font-size: 20px;
// color: #333;
color: #fff;
+ line-height: 5px;
}
nav .menu li a:hover {
// color: #ff6a00;
// text-shadow: 0px 0px 10px #ffd303 ;
color: #ffd303;
- font-size: 30px;
//text-shadow: 0px 0px 2px rgba(33,33,33,0.2);
}
#search_icon {

0 comments on commit 73d6bf8

Please sign in to comment.