Backend Functions

mail@pastecode.io avatar
unknown
javascript
3 years ago
2.4 kB
42
Indexable
Never
function useDataRange() {

  var data = [['Lady Gita' ,null , 'June 19 -26' , '#176BEF', "2021, 6, 19" , "2021, 6, 26"], ['Lady Gita' ,null , 'Jun 27 - Jul 11' , '#FF3E30', "2021, 6, 27" , "2021, 7, 11"], ['Lady Gita' ,null , 'Jul 12 -19' , '#176BEF', "2021, 7, 12" , "2021, 7, 19"], ['Lady Gita' ,null , 'Jul 20 - 27' , '#FF3E31', "2021, 7, 20" , "2021, 7, 27"], ['Lady Gita' ,null , 'Jul 28 - Aug 4' , '#176BEF', "2021, 7, 28" , "2021, 8, 4"], ['Lady Gita' ,null , 'Aug 5 -12' , '#FF3E32', "2021, 8, 5" , "2021, 8, 12"], ['Lady Gita' ,null , 'Aug 13 - 20' , '#176BEF', "2021, 8, 13" , "2021, 8, 20"], ['Lady Gita' ,null , 'Aug 20 - 25' , '#FF3E33', "2021, 8, 20" , "2021, 8, 25"], ['Lady Gita' ,null , 'Aug 26 - 31' , '#176BEF', "2021, 8, 26" , "2021, 8, 31"], ['Lady Gita' ,null , 'Sep 2 - 11' , '#FF3E34', "2021, 9, 2" , "2021, 9, 11"], ['Lady Gita' ,null , 'Sep 12 - 19' , '#176BEF', "2021, 9, 12" , "2021, 9, 19"], ['Lady Gita' ,null , 'Sep 20 - 27' , '#FF3E35', "2021, 9, 20" , "2021, 9, 27"], ['Lady Gita' ,null , 'Sep 28 - Oct 5' , '#176BEF', "2021, 9, 28" , "2021, 10, 5"], ['Ardura' ,null , 'May 16 - 23' , '#FF3E36', "2021, 5, 16" , "2021, 5, 23"], ['Ardura' ,null , 'May 23 - 30' , '#176BEF', "2021, 5, 23" , "2021, 5, 30"], ['Ardura' ,null , 'Jul 3 - 10' , '#FF3E37', "2021, 7, 3" , "2021, 7, 10"], ['Ardura' ,null , 'Sep 5 - 12' , '#176BEF', "2021, 9, 5" , "2021, 9, 12"], ['Son de Mar' ,null , 'Jul 11 - 18' , '#FF3E38', "2021, 7, 11" , "2021, 7, 18"], ['Son de Mar' ,null , 'Jul 18 - 25' , '#176BEF', "2021, 7, 18" , "2021, 7, 25"], ['Son de Mar' ,null , 'Jul 25 - Aug 1' , '#FF3E39', "2021, 7, 25" , "2021, 8, 1"], ['Son de Mar' ,null , 'Aug 1 - 8' , '#176BEF', "2021, 8, 1" , "2021, 8, 8"], ['Son de Mar' ,null , 'Aug 8 - 15' , '#FF3E40', "2021, 8, 8" , "2021, 8, 15"], ['Son de Mar' ,null , 'Aug 15 - 22' , '#176BEF', "2021, 8, 15" , "2021, 8, 22"], ['Son de Mar' ,null , 'Aug 22 - 29' , '#FF3E41', "2021, 8, 22" , "2021, 8, 29"], ['Son de Mar' ,null , 'Aug 29 - Sep 5' , '#176BEF', "2021, 8, 29" , "2021, 9, 5"], ['Son de Mar' ,null , 'Sep 5 - 12' , '#FF3E42', "2021, 9, 5" , "2021, 9, 12"], ['Son de Mar' ,null , 'Sep 20 - 27' , '#176BEF', "2021, 9, 20" , "2021, 9, 27"], ['Test' ,null , 'Sep 20 - 28' , '#176BEF', "2021, 9, 21" , "2021, 9, 28"]];
  
  return data; 
}

function doGet() {
return HtmlService.createTemplateFromFile('timeline3').evaluate()
.setSandboxMode(HtmlService.SandboxMode.IFRAME);;
}