Skip to content

Commit

Permalink
input search style
Browse files Browse the repository at this point in the history
  • Loading branch information
aramirez-es committed Aug 16, 2011
1 parent acc33fb commit 235b611
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
16 changes: 13 additions & 3 deletions public/css/main.css
Expand Up @@ -45,14 +45,19 @@ body {
background-color: #CCC; background-color: #CCC;
border: 2px solid #898989; border: 2px solid #898989;
border-radius: 15px; border-radius: 15px;
width: 140px; width: 160px;
text-align: center; text-align: center;
padding: 10px 0; padding: 10px 0;
float: left; float: left;
} }
.users_figure em { .users_figure em {
font-size: 0.65em; font-size: 0.65em;
} }
.users_figure input {
width: 85%;
border: 1px solid #898989;
padding: 2px;
}
#searcher { #searcher {
clear: both; clear: both;
} }
Expand All @@ -62,16 +67,21 @@ body {
*/ */
#compare_results { #compare_results {
padding: 10px 20px; padding: 10px 20px;
margin: 20px 0;
} }
.onefriend { .onefriend {
float: left; float: left;
width: 200px; width: 200px;
height: 75px; height: 75px;
padding: 10px 0; padding-bottom: 40px;
}
.onefriend img {
display: block;
border: 0;
} }
.onefriend a { .onefriend a {
display: block; display: block;
color: #455432;
text-decoration: none;
} }


footer { footer {
Expand Down
2 changes: 1 addition & 1 deletion public/js/compareModule.js
Expand Up @@ -67,7 +67,7 @@ ManipulateCompare =
$(oCompare).attr("href", "#"); $(oCompare).attr("href", "#");
$(oCompare).addClass("comparethis"); $(oCompare).addClass("comparethis");
$(oCompare).attr("value", nIndex); $(oCompare).attr("value", nIndex);
$(oCompare).append("Compare it"); $(oCompare).append("Compare!");


return oCompare; return oCompare;
}, },
Expand Down
2 changes: 0 additions & 2 deletions views/user.twig
Expand Up @@ -3,10 +3,8 @@
{% set picture = '/images/default-user.png' %} {% set picture = '/images/default-user.png' %}
<img src="{{ user.picture|default( app.request.getBasePath ~ picture ) }}" <img src="{{ user.picture|default( app.request.getBasePath ~ picture ) }}"
width="48" heigth="48" alt="{{ user.name|default('user name') }}" /> width="48" heigth="48" alt="{{ user.name|default('user name') }}" />
<p>
<figcaption>{{ user.name|default('user name') }}</figcaption> <figcaption>{{ user.name|default('user name') }}</figcaption>
<em>Followers: {{ user.followers|default(0) }} / Followings: {{ user.followings|default(0) }}</em> <em>Followers: {{ user.followers|default(0) }} / Followings: {{ user.followings|default(0) }}</em>
</p>
<form action="{{ app.request.getBasePath }}/search-user" method="post" class="ajax_request"> <form action="{{ app.request.getBasePath }}/search-user" method="post" class="ajax_request">
<input type="hidden" name="action" value="search" /> <input type="hidden" name="action" value="search" />
<input type="hidden" name="search[box]" value="{{ loop.index }}" /> <input type="hidden" name="search[box]" value="{{ loop.index }}" />
Expand Down

0 comments on commit 235b611

Please sign in to comment.