WIP reorganization

This commit is contained in:
Erik Ziegler committed 2018-12-12 09:10:39 +01:00
1 parent 6706dfe634
commit 054e37dfb7
266 files changed
+98 -620

No files matched your search

@@ -0,0 +1,26 @@
<template name="hipaaLogPage">
<div id="hipaaLogPage" class="page">
<div class="hipaaHeader clearfix">
<div class="header pull-left">
Audit Log
</div>
<div class="pull-right">
{{> hipaaCloseButton header="true" }}
</div>
</div>
{{> hipaaRibbon }}
<div class="container">
<div class="row">
{{> hipaaAuditLog}}
</div>
</div>
{{#if hasCloseButtons}}
{{> hipaaCloseButton }}
{{/if}}
</div>
</template>
@@ -0,0 +1,17 @@
Router.route("/audit", {
name:"hipaaAuditLogRoute",
template:"hipaaLogPage"
});
Template.hipaaLogPage.helpers({
hasCloseButtons: function() {
var hipaaAuditLog = Session.get('HipaaAuditLogConfig');
return hipaaAuditLog && hipaaAuditLog.closeButton;
}
});
// We probably don't need this, but the subscription in subscriptions.js doesn't seem to be working?
Template.hipaaLogPage.onCreated(function() {
this.subscribe('HipaaLog');
})
@@ -0,0 +1,52 @@
@tableTextSecondaryColor: #91b9cd;
@hipaaHeaderHeight: 75px;
@hipaaHeaderBgColor: #151a1f;
#hipaaLogPage {
background-color: #000;
.hipaaHeader {
background-color: @hipaaHeaderBgColor;
height: @hipaaHeaderHeight;
margin-bottom: 2px;
padding: 0 20px;
& > div {
display: inline-block;
}
.header {
font-size: 22px;
font-weight: 300;
color: @tableTextSecondaryColor;
line-height: @hipaaHeaderHeight;
}
}
.container {
margin: 0;
padding: 0 5%;
width: 100%;
& > div.row {
margin: 0;
}
}
}
@media only screen and (max-width: 1161px) {
#hipaaLogPage {
.container {
padding: 0 3%;
}
}
}
@media only screen and (max-width: 991px) {
#hipaaLogPage {
.container {
padding: 0 1%;
}
}
}