From version 1.1
edited by Quentin Conner
on 02/03/2018
To version 2.1
edited by Quentin Conner
on 02/03/2018
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,5 @@
1 -==Enter your birthday as MM/DD/YYYY==
1 +== Enter your birthday as MM/DD/YYYY ==
2 +
2 2  {{html}}
3 3   <form action="" id="newdoc" method="post">
4 4   <div>
... ... @@ -12,8 +12,7 @@
12 12   </form>
13 13  {{/html}}
14 14  
15 -{{groovy}}
16 -import java.net.InetAddress
16 +{{groovy}}import java.net.InetAddress
17 17  import java.util.Date
18 18  import java.util.Calendar
19 19  import java.util.GregorianCalendar
... ... @@ -92,11 +92,8 @@
92 92  //println(birth.getTime().toGMTString())
93 93  //println(birth.getTimeInMillis())
94 94  
95 -//println("days from birth until start of this month: " + xcontext.get("daysElapsedStartOfMonth"))
96 -
97 -{{/groovy}}
98 -{{python}}
99 -import os
95 +//println("days from birth until start of this month: " + xcontext.get("daysElapsedStartOfMonth")){{/groovy}}
96 +{{python}}import os
100 100  import random, math
101 101  import datetime
102 102  
... ... @@ -165,9 +165,7 @@
165 165   print "|" + str(this_month) + "/" + str(i+1) + "|" + "%6.4f" % physical + "|" + "%6.4f" % intellectual + "|" + "%6.4f" % emotional + "|" + "%6.4f" % intuition + "|" + "%6.4f" % composite
166 166  print ""
167 167  
168 -print "{{chart type=\"xy_line_and_shape\" params=\"document:Web-O-Rhythm.MonthlyBiorhythm;table=composite;range:B2-F%d;series:columns;dataset:timetable_xy;domain_axis_type:date;domain_axis_date_format:MM/dd;date_format:MM/dd;time_period:day; colors:FF0000,00FF00,0000FF,FF00FF,000000\" title=\"Composite\" height=\"400\" width=\"800\"/}}" % last_day_this_month
165 +print "{{chart type=\"xy_line_and_shape\" params=\"document:Web-O-Rhythm.MonthlyBiorhythm;table=composite;range:B2-F%d;series:columns;dataset:timetable_xy;domain_axis_type:date;domain_axis_date_format:MM/dd;date_format:MM/dd;time_period:day; colors:FF0000,00FF00,0000FF,FF00FF,000000\" title=\"Composite\" height=\"500\" width=\"900\"/}}" % last_day_this_month{{/python}}
169 169  
170 -{{/python}}
171 171  
172 -
173 -===Please visit again soon!===
168 +=== Please visit again soon! ===
This website content is not licensed to you. All rights reserved.
XWiki Enterprise 9.11.1 - Documentation