style sidebar search mapper stats

This commit is contained in:
Shai Mor 2014-10-01 18:07:05 -04:00
parent a382e0c35d
commit 4ba9a26c2b
3 changed files with 27 additions and 2 deletions

View file

@ -346,6 +346,10 @@
.sidebarSearch .tt-dataset-mappers .tt-suggestion .icon {
margin: 4px 9px 4px 4px;
}
.sidebarSearch .tt-dataset-mappers .resultText {
width: 150px;
}
.sidebarSearch .resultText {
width: 260px;
display: table-cell;
@ -381,6 +385,9 @@
.tt-dataset-maps div.autoOptions {
width: 84px;
}
.sidebarSearch .tt-dataset-mappers .autoOptions {
width: 235px;
}
.sidebarSearch .tt-is-under-cursor .autoOptions,
.sidebarSearch .tt-is-under-mouse-cursor .autoOptions {
display: block;
@ -514,7 +521,24 @@
.sidebarSearch .tt-dataset-mappers div.mapCount {
top: 8px;
left: 170px;
}
.sidebarSearch .tt-dataset-mappers div.mapperCreated {
left: 0px;
padding-left: 0px;
font-size: 12px;
font-family: 'din-medium', helvetica, sans-serif;
line-height: 24px;
}
.sidebarSearch .tt-dataset-mappers div.mapperGeneration {
top: 20px;
left: 0px;
padding-left: 0px;
font-size: 12px;
font-family: 'din-medium', helvetica, sans-serif;
line-height: 24px;
}
/* end search */
/* end upperLeftUI */

View file

@ -10,6 +10,7 @@ module UsersHelper
user['value'] = u.name
user['profile'] = u.image.url(:thumb)
user['mapCount'] = u.maps.count
user['created_at'] = u.created_at.strftime("%m/%d/%Y")
user['rtype'] = "mapper"
temp.push user

View file

@ -137,10 +137,10 @@
</div>
<div class="autoOptions">
<div class="mapperCreated">
<span>Mapping since: {{created_at}}</span>
<p>Mapping since: {{created_at}}</p>
</div>
<div class="mapperGeneration">
<span>Generation {{generation}}</span>
<p>Generation: 1</p>
</div>
<div class="mapCount">
{{mapCount}}