Use classes instead of ids

This commit is contained in:
Tor Hveem 2013-10-12 11:49:14 +02:00
parent 8057c0639c
commit 9969c826b8
2 changed files with 5 additions and 5 deletions

View File

@ -24,11 +24,11 @@ input#sendMessage {
width: 100%; width: 100%;
} }
td#time { td.time {
padding-right: 5px; padding-right: 5px;
} }
td#nickname { td.prefix {
text-align: right; text-align: right;
vertical-align: middle; vertical-align: middle;
padding-right: 5px; padding-right: 5px;

View File

@ -110,15 +110,15 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
<table> <table>
<tbody> <tbody>
<tr class="bufferline" ng-repeat="bufferline in activeBuffer().lines"> <tr class="bufferline" ng-repeat="bufferline in activeBuffer().lines">
<td id="time"> <td class="time">
<span class="date text-muted"> <span class="date text-muted">
{{ bufferline.date | date:'HH:mm' }} {{ bufferline.date | date:'HH:mm' }}
</span> </span>
</td> </td>
<td id="nickname"> <td class="prefix">
<span ng-repeat="part in bufferline.prefix" class="text" style="{{ part.fg }}">{{ part.text }}</span> <span ng-repeat="part in bufferline.prefix" class="text" style="{{ part.fg }}">{{ part.text }}</span>
</td> </td>
<td id="content"> <td class="message">
<span ng-repeat="part in bufferline.content" class="text" style="{{ part.fg }}">{{ part.text }} </span> <span ng-repeat="part in bufferline.content" class="text" style="{{ part.fg }}">{{ part.text }} </span>
<div ng-repeat="metadata in bufferline.metadata"> <div ng-repeat="metadata in bufferline.metadata">