Fixed the traffic reporting, tidied the display

This commit is contained in:
martin 2018-04-19 17:13:16 +01:00
parent 34e5a42ea5
commit 113a003098
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
const CACHE_VERSION = { 'version': '0.0.691' };
const CACHE_VERSION = { 'version': '0.0.695' };
const dataCacheName = 'jubileeData-v1';
const cacheName = 'jubilee-final-1';
const filesToCache = [

View File

@ -138,8 +138,8 @@ const TrafficView = Backbone.View.extend({
},
'template': _.template(`
<div class="">
<div><i class="small fa <%= "fa-" + dest.toLowerCase() %> mui--align-middle "></i> <%=readable%> to <%= dest.toLowerCase() %></div>
<div class="<%= className %>"><%=traffic %></div>
<div class="itemRow mui--align-middle"><i class=" fa <%= "fa-" + dest.toLowerCase() %> fa-2x mui--align-middle <%= className %>"></i> <%=readable%> to <%= dest.toLowerCase() %> <span class="<%= className %>"><%=traffic %></span></div>
</div>
`),