polyrex-calendar 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb2795297af9c4bc240d1b67681aca4bc63f093a73dcf363fab4be22ba7dea42
4
- data.tar.gz: c6c9f62974d4a115d46c9089ea3919bcfaeef6cedb770e0e1f963118de0dbf00
3
+ metadata.gz: 413046909eff21c72b96697d591560aa382f7f78d013587d14b848c7b7af0657
4
+ data.tar.gz: b8f46a54eea819bd5701aee20fc173a71825c86f621100626e3e7ef558098769
5
5
  SHA512:
6
- metadata.gz: 8dcbff3df45ba1c73cf968f3aeb5b135388d66a0162333f26e1e7e9e07d6c24c213d56ebc4a2e6fafdb8602b45cb23c60e870fda5c4788bf0b11332f00d1ffb9
7
- data.tar.gz: 187e2cb775e4aca8bbb8c85cdbb1a08ae78f5fbac903f397566b8e0a81a225c3c12742b1fd978895c08a3b353ae43afaf68c4aa68000041f81f568d7092bd3b0
6
+ metadata.gz: 98e2cd57adfd77cae09091a95ec2e4226be0cbf9f4ca47d31502630b402cad8e0bf652e2b1fed029b16f391776c9c69e63b102a639dcab86b1ae030ff0ba2a71
7
+ data.tar.gz: c9fb44657fe1084c072cc1c8b5d058c1e3597dac9f6e4da8d12cca6ef5e54df2761b7b0e13676e449c8bb09ed1a9ae88bafb84d83d800fa27ceb1d65fff1cb79
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -0,0 +1,58 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
+ <xsl:output method="xml" indent="yes" />
4
+
5
+ <xsl:template match="calendar">
6
+
7
+ <html lang="en">
8
+
9
+ <head>
10
+ <title><xsl:value-of select="summary/year"/> Calendar | generated by Polyrex-Calendar</title>
11
+ <link rel="stylesheet" href="xlayout.css"/>
12
+ </head>
13
+
14
+ <body>
15
+ <div id="wrap">
16
+ <h1><xsl:value-of select="summary/year"/></h1>
17
+ <xsl:apply-templates select="records"/>
18
+ </div>
19
+ </body>
20
+ </html>
21
+
22
+ </xsl:template>
23
+
24
+ <xsl:template match="records/month">
25
+ <div class="table">
26
+ <table border="1">
27
+ <xsl:apply-templates select="summary"/>
28
+ <tr><th>S</th><th>M</th><th>T</th><th>W</th><th>T</th><th>F</th><th>S</th></tr>
29
+ <xsl:apply-templates select="records"/>
30
+ </table>
31
+ </div>
32
+ </xsl:template>
33
+
34
+ <xsl:template match="month/summary">
35
+ <caption><xsl:value-of select="name"/></caption>
36
+ </xsl:template>
37
+
38
+ <xsl:template match="records/week">
39
+ <xsl:apply-templates select="summary"/>
40
+ <xsl:element name="tr">
41
+ <xsl:apply-templates select="records"/>
42
+ </xsl:element>
43
+ </xsl:template>
44
+
45
+ <xsl:template match="week/summary">
46
+
47
+ </xsl:template>
48
+
49
+ <xsl:template match="records/day">
50
+ <xsl:apply-templates select="summary"/>
51
+ <xsl:apply-templates select="records"/>
52
+ </xsl:template>
53
+
54
+ <xsl:template match="day/summary">
55
+ <td><xsl:value-of select="xday"/></td>
56
+ </xsl:template>
57
+
58
+ </xsl:stylesheet>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex-calendar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -85,6 +85,7 @@ extra_rdoc_files: []
85
85
  files:
86
86
  - lib/polyrex-calendar.rb
87
87
  - stylesheet/calendar.xsl
88
+ - stylesheet/calendar.xsl~
88
89
  - stylesheet/kplanner.xsl
89
90
  - stylesheet/kplanner_month.xsl
90
91
  - stylesheet/layout.css
metadata.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- ��՝�����h�wc�2�z�o�B Na������8;�-
2
- ���2�l�`�&�Ǧ^~�@V��&�{�n~ }og�=�Ũ�9g>�y����܌�k4E/��F���%�Z�cF�Ov��
3
- �����*s-ͣ;<�iG���V÷��ʀYU���7`�g\(�[<-����X�)�<VK�h;w�a��2�:��n
1
+ ���q$�6 HNXV�������C>C��G��+锉������+B�ۻA²�FI����g��r�.����,� vBC�/��k�<��CJ�w%/�n���������&������ �\N4��@��+�
2
+ ���G�+�蠅���6�M��X_
3
+ �7��