add basic export button
This commit is contained in:
parent
a4c146a725
commit
354279182a
@ -285,7 +285,7 @@ input, textarea {
|
|||||||
transition: box-shadow 0.2s ease;
|
transition: box-shadow 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa-university, .fa-calendar {
|
.fa-university, .fa-calendar, .fa-download {
|
||||||
font-size: 175%;
|
font-size: 175%;
|
||||||
width: 12%;
|
width: 12%;
|
||||||
padding: 10%;
|
padding: 10%;
|
||||||
@ -302,6 +302,14 @@ input, textarea {
|
|||||||
filter: drop-shadow(2px 2px 5px #666);
|
filter: drop-shadow(2px 2px 5px #666);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#exportText {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
#exportDiv {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#functions {
|
#functions {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 7%;
|
margin-top: 7%;
|
||||||
|
|||||||
@ -57,6 +57,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="optionsContainer" style="right:{{optionsStatus}};background-color:{{divColor 'sidebar'}}">
|
<div id="optionsContainer" style="right:{{optionsStatus}};background-color:{{divColor 'sidebar'}}">
|
||||||
<h3>Preferences</h3>
|
<h3>Preferences</h3>
|
||||||
|
|
||||||
<div id="prefCont">
|
<div id="prefCont">
|
||||||
<div>
|
<div>
|
||||||
<div class="inputRadioPref">
|
<div class="inputRadioPref">
|
||||||
@ -111,6 +112,10 @@
|
|||||||
<p class="prefOptionText" style="background-color:{{divColor 'header'}}">No</p>
|
<p class="prefOptionText" style="background-color:{{divColor 'header'}}">No</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="exportDiv" class="sideFilter">
|
||||||
|
<i id="export" class="fa fa-download" aria-hidden="true"></i>
|
||||||
|
<h4 id="exportText" class="prefTitle">Export</h4>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<img id="bg" src={{bgSrc}} style="min-width:{{screen}}">
|
<img id="bg" src={{bgSrc}} style="min-width:{{screen}}">
|
||||||
|
|||||||
@ -769,7 +769,7 @@ Template.main.events({
|
|||||||
text.style.display = "initial";
|
text.style.display = "initial";
|
||||||
text.style.color = "#7E7E7E";
|
text.style.color = "#7E7E7E";
|
||||||
},
|
},
|
||||||
'click #export' (event) {
|
'click #exportDiv' (event) {
|
||||||
var events = [];
|
var events = [];
|
||||||
var userClasses = Session.get("calendarClasses");
|
var userClasses = Session.get("calendarClasses");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user