Difference between revisions of "Team:UCLA/Journal Formatter"

 
Line 34: Line 34:
 
var team = $('input[name=team]:checked').val();
 
var team = $('input[name=team]:checked').val();
  
var output = '<div class="week-entry">\n  <div class="row week-header" id="' + team +'-week-' + weekNum + '-header">\n    <div class="columns small-2 week-number">\n      <span>Week</span>\n      <p>' + weekNum + '</p>\n    </div>\n    <div class="columns small-10">\n      <h4>' + title + '</h4>\n      <p>' + description + '</p>\n    </div>\n  </div>\n  <div class="row week-content" id="' + team + '-week-' + weekNum + '-header">\n  </div>\n</div>'
+
var output = '<div class="week-entry">\n  <div class="row week-header" id="' + team +'-week-' + weekNum + '-header">\n    <div class="columns small-2 week-number">\n      <span>Week</span>\n      <p>' + weekNum + '</p>\n    </div>\n    <div class="columns small-10">\n      <h4>' + title + '</h4>\n      <p>' + description + '</p>\n    </div>\n  </div>\n  <div class="row week-content" id="' + team + '-week-' + weekNum + '-header">\n<!-- ' + team.toUpperCase() + ' NEW DAY BEFORE THIS LINE --!>\n  </div>\n</div>'
  
 
   $('#output').val(output);
 
   $('#output').val(output);

Latest revision as of 19:10, 10 August 2016

Day Entry: Week Entry:

Input of day entry in here:
CDI Team: PCage Team:

Title of day or week entry here:

Description of week entry here:

Week Number:

Month: Day Number:

Copy and Paste This: