Fixing up UI for long names in uders list

This commit is contained in:
perroned 2014-08-15 13:25:28 -07:00
parent 6064671a5b
commit a86c84bb08
3 changed files with 20 additions and 12 deletions

View File

@ -55,6 +55,7 @@
height:40px;
width: 80%;
margin-top:6px;
padding:5px;
}
.optionsBar{
padding-top:15px;

View File

@ -11,8 +11,14 @@
height:20px;
overflow:hidden;
width:90px;
word-wrap:break-word;
word-break:break-all;
padding:0px;
}
.user-entry tr:nth-child(even) {background-color: rgb(245,245,245);}
.user-entry tr:hover {font-weight: bold;}
.userListSettingIcon {}
.userNameContainer{
border-right: 1px solid #ccc;
padding-right:0px;
}

View File

@ -18,21 +18,22 @@
</template>
<template name="displayStandardUserControls">
<td>{{#if user.presenter}}<span class="userListSettingIcon glyphicon glyphicon-picture"></span>{{/if}}</td>
<td>{{#if user.presenter}}<span class="userListSettingIcon glyphicon glyphicon-picture"></span>{{/if}}</td>
</template>
<template name="usernameEntry"> <!-- A template now because more information be added/styled -->
<td><p class="userNameEntry">
{{#if isCurrentUser userId}}
<strong>{{user.name}} (you)</strong>
{{else}}
{{user.name}}
{{/if}}
</p></td>
<td class="userNameContainer">
<p class="userNameEntry">
{{#if isCurrentUser userId}}
<strong>{{user.name}} (you)</strong>
{{else}}
{{user.name}}
{{/if}}</p>
</td>
</template>
<template name="userItem">
{{> usernameEntry}}
{{> displayOwnControls}}
{{> displayStandardUserControls}}
{{> usernameEntry}}
{{> displayOwnControls}}
{{> displayStandardUserControls}}
</template>