aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2015-05-24 23:48:21 +0200
committerCamil Staps2015-05-24 23:48:21 +0200
commit7d1840d5c33d2ffc6cfea315d4687cc2c85e7041 (patch)
tree909fa573ff48425f7c5e33383227ba6be7ab8543
parentlicense (diff)
License in all files
-rw-r--r--LICENSE6
-rw-r--r--gulpfile.js19
-rw-r--r--src/404.jade17
-rw-r--r--src/about.jade17
-rw-r--r--src/css/license.less17
-rw-r--r--src/include/foot.jade17
-rw-r--r--src/include/head.jade17
-rw-r--r--src/include/layout-main.jade17
-rw-r--r--src/index.jade17
-rw-r--r--src/js/Botleagues.coffee18
-rw-r--r--src/js/BotleaguesCallback.coffee18
-rw-r--r--src/js/BotleaguesFrontend.coffee18
-rw-r--r--src/js/forms.coffee18
-rw-r--r--src/js/main.coffee18
-rw-r--r--src/js/profile.coffee18
-rw-r--r--src/logout.jade17
-rw-r--r--src/profile.jade17
-rw-r--r--src/register.jade17
18 files changed, 300 insertions, 3 deletions
diff --git a/LICENSE b/LICENSE
index 733c072..21ef452 100644
--- a/LICENSE
+++ b/LICENSE
@@ -631,8 +631,8 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
- {one line to give the program's name and a brief idea of what it does.}
- Copyright (C) {year} {name of author}
+ Web Frontend for Botleagues
+ Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
- {project} Copyright (C) {year} {fullname}
+ Web Frontend for Botleagues Copyright (C) 2015 Camil Staps
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
diff --git a/gulpfile.js b/gulpfile.js
index b22b542..b38a2d1 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -1,3 +1,21 @@
+/**
+ * Web Frontend for Botleagues
+ * Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
// see https://github.com/tugberkugurlu/gulp-bootswatch-sample/
var gulp = require('gulp'),
@@ -121,6 +139,7 @@ gulp.task('3rd-party-styles', function() {
gulp.task('styles', function() {
var sources = [
+ './src/css/license.less',
'./src/css/forms.less',
'./src/css/general.less',
'./src/css/profile.less',
diff --git a/src/404.jade b/src/404.jade
index 172c126..ee2f48d 100644
--- a/src/404.jade
+++ b/src/404.jade
@@ -1,3 +1,20 @@
+//-
+ Web Frontend for Botleagues
+ Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
extends ./include/layout-main.jade
block menu
diff --git a/src/about.jade b/src/about.jade
index 7781682..eeafa47 100644
--- a/src/about.jade
+++ b/src/about.jade
@@ -1,3 +1,20 @@
+//-
+ Web Frontend for Botleagues
+ Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
extends ./include/layout-main.jade
block menu
diff --git a/src/css/license.less b/src/css/license.less
new file mode 100644
index 0000000..619613a
--- /dev/null
+++ b/src/css/license.less
@@ -0,0 +1,17 @@
+/**
+ * Web Frontend for Botleagues
+ * Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */ \ No newline at end of file
diff --git a/src/include/foot.jade b/src/include/foot.jade
index 4c8a7a1..735d4d1 100644
--- a/src/include/foot.jade
+++ b/src/include/foot.jade
@@ -1,3 +1,20 @@
+//-
+ Web Frontend for Botleagues
+ Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
script(src='/assets/js/script.js', type='text/javascript')
script(src='/assets/js/Botleagues.js', type='text/javascript')
script(src='/assets/js/BotleaguesCallback.js', type='text/javascript')
diff --git a/src/include/head.jade b/src/include/head.jade
index b3b12e4..004394d 100644
--- a/src/include/head.jade
+++ b/src/include/head.jade
@@ -1,3 +1,20 @@
+//-
+ Web Frontend for Botleagues
+ Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
title Botleagues
meta(charset='utf-8')
diff --git a/src/include/layout-main.jade b/src/include/layout-main.jade
index 12c283e..0ca3134 100644
--- a/src/include/layout-main.jade
+++ b/src/include/layout-main.jade
@@ -1,3 +1,20 @@
+//
+ Web Frontend for Botleagues
+ Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
doctype html
html(lang="en")
head
diff --git a/src/index.jade b/src/index.jade
index a9e7ef5..963c3bc 100644
--- a/src/index.jade
+++ b/src/index.jade
@@ -1,3 +1,20 @@
+//-
+ Web Frontend for Botleagues
+ Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
extends ./include/layout-main.jade
block menu
diff --git a/src/js/Botleagues.coffee b/src/js/Botleagues.coffee
index 285248f..6be7a0e 100644
--- a/src/js/Botleagues.coffee
+++ b/src/js/Botleagues.coffee
@@ -1,3 +1,21 @@
+###
+Web Frontend for Botleagues
+Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+###
+
$.cookie.json = true
@Botleagues =
diff --git a/src/js/BotleaguesCallback.coffee b/src/js/BotleaguesCallback.coffee
index d828b18..f35d03b 100644
--- a/src/js/BotleaguesCallback.coffee
+++ b/src/js/BotleaguesCallback.coffee
@@ -1,3 +1,21 @@
+###
+Web Frontend for Botleagues
+Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+###
+
@BotleaguesCallback =
register: (data) ->
diff --git a/src/js/BotleaguesFrontend.coffee b/src/js/BotleaguesFrontend.coffee
index 5c2d116..471a230 100644
--- a/src/js/BotleaguesFrontend.coffee
+++ b/src/js/BotleaguesFrontend.coffee
@@ -1,3 +1,21 @@
+###
+Web Frontend for Botleagues
+Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+###
+
@BotleaguesFrontend =
message: (user_options) ->
diff --git a/src/js/forms.coffee b/src/js/forms.coffee
index fe237c2..36b0b98 100644
--- a/src/js/forms.coffee
+++ b/src/js/forms.coffee
@@ -1,3 +1,21 @@
+###
+Web Frontend for Botleagues
+Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+###
+
# Request API for registering
$ 'form.form-register'
.submit ->
diff --git a/src/js/main.coffee b/src/js/main.coffee
index 5d21ede..10d6df8 100644
--- a/src/js/main.coffee
+++ b/src/js/main.coffee
@@ -1,3 +1,21 @@
+###
+Web Frontend for Botleagues
+Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+###
+
$ ->
# Show extra links if user is logged in
email = $.cookie Botleagues.cookie_login_email
diff --git a/src/js/profile.coffee b/src/js/profile.coffee
index 7942088..4bfb378 100644
--- a/src/js/profile.coffee
+++ b/src/js/profile.coffee
@@ -1,3 +1,21 @@
+###
+Web Frontend for Botleagues
+Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+###
+
$ ->
# Show email address in page when logged in
setupGreeter()
diff --git a/src/logout.jade b/src/logout.jade
index 14c9aac..d78f426 100644
--- a/src/logout.jade
+++ b/src/logout.jade
@@ -1,3 +1,20 @@
+//-
+ Web Frontend for Botleagues
+ Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
extends ./include/layout-main.jade
block menu
diff --git a/src/profile.jade b/src/profile.jade
index 5b97b30..a8e5d2c 100644
--- a/src/profile.jade
+++ b/src/profile.jade
@@ -1,3 +1,20 @@
+//-
+ Web Frontend for Botleagues
+ Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
extends ./include/layout-main.jade
block menu
diff --git a/src/register.jade b/src/register.jade
index ca8cc83..e7a06dc 100644
--- a/src/register.jade
+++ b/src/register.jade
@@ -1,3 +1,20 @@
+//-
+ Web Frontend for Botleagues
+ Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
extends ./include/layout-main.jade
block menu