aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--License1
-rwxr-xr-xatom.cgi7
-rw-r--r--datepoll.rb6
-rw-r--r--dudle.css6
-rw-r--r--hash.rb6
-rwxr-xr-xindex.cgi7
-rw-r--r--overview.rb6
-rw-r--r--participate.rb6
-rw-r--r--poll.rb6
-rw-r--r--print.css6
10 files changed, 57 insertions, 0 deletions
diff --git a/License b/License
new file mode 100644
index 0000000..cf3ab3f
--- /dev/null
+++ b/License
@@ -0,0 +1 @@
+This work is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
diff --git a/atom.cgi b/atom.cgi
index 33c6280..408b26a 100755
--- a/atom.cgi
+++ b/atom.cgi
@@ -1,4 +1,11 @@
#!/usr/bin/env ruby
+
+################################
+# Author: Benjamin Kellermann #
+# Licence: CC-by-sa 3.0 #
+# see Licence #
+################################
+
require "rubygems"
require "atom"
require "yaml"
diff --git a/datepoll.rb b/datepoll.rb
index 344d122..b05b8d8 100644
--- a/datepoll.rb
+++ b/datepoll.rb
@@ -1,3 +1,9 @@
+################################
+# Author: Benjamin Kellermann #
+# Licence: CC-by-sa 3.0 #
+# see Licence #
+################################
+
require "date"
require "poll"
diff --git a/dudle.css b/dudle.css
index 6abf3bc..923bd5a 100644
--- a/dudle.css
+++ b/dudle.css
@@ -1,3 +1,9 @@
+/********************************
+ * Author: Benjamin Kellermann *
+ * Licence: CC-by-sa 3.0 *
+ * see Licence *
+ *******************************/
+
td.yes, input.choosen { background-color:#0F0; }
td.no { background-color:#F00; }
td.maybe { background-color:#FF0; }
diff --git a/hash.rb b/hash.rb
index a464c2b..5a84abe 100644
--- a/hash.rb
+++ b/hash.rb
@@ -1,3 +1,9 @@
+################################
+# Author: Benjamin Kellermann #
+# Licence: CC-by-sa 3.0 #
+# see Licence #
+################################
+
class Hash
def compare_by_values(other, fieldarray)
return 0 if fieldarray.size == 0
diff --git a/index.cgi b/index.cgi
index b3591ba..b6adc1a 100755
--- a/index.cgi
+++ b/index.cgi
@@ -1,4 +1,11 @@
#!/usr/bin/env ruby
+
+################################
+# Author: Benjamin Kellermann #
+# Licence: CC-by-sa 3.0 #
+# see Licence #
+################################
+
require "yaml"
require "cgi"
diff --git a/overview.rb b/overview.rb
index 873e931..757b397 100644
--- a/overview.rb
+++ b/overview.rb
@@ -1,3 +1,9 @@
+################################
+# Author: Benjamin Kellermann #
+# Licence: CC-by-sa 3.0 #
+# see Licence #
+################################
+
require "poll"
require "datepoll"
diff --git a/participate.rb b/participate.rb
index 7022cc7..99a1666 100644
--- a/participate.rb
+++ b/participate.rb
@@ -1,3 +1,9 @@
+################################
+# Author: Benjamin Kellermann #
+# Licence: CC-by-sa 3.0 #
+# see Licence #
+################################
+
olddir = File.expand_path(".")
Dir.chdir("..")
require "poll"
diff --git a/poll.rb b/poll.rb
index 4883730..50ec2a8 100644
--- a/poll.rb
+++ b/poll.rb
@@ -1,3 +1,9 @@
+################################
+# Author: Benjamin Kellermann #
+# Licence: CC-by-sa 3.0 #
+# see Licence #
+################################
+
require "hash"
require "yaml"
diff --git a/print.css b/print.css
index 2dd31ed..a2af92a 100644
--- a/print.css
+++ b/print.css
@@ -1,3 +1,9 @@
+/********************************
+ * Author: Benjamin Kellermann *
+ * Licence: CC-by-sa 3.0 *
+ * see Licence *
+ *******************************/
+
td.yes, input.choosen { background-color:#0F0; }
td.no { background-color:#F00; }
td.maybe { background-color:#FF0; }