diff --git a/openslides/agenda/static/javascript/agenda.js b/openslides/agenda/static/javascript/agenda.js index 39d239a82..8e4f5ef3e 100644 --- a/openslides/agenda/static/javascript/agenda.js +++ b/openslides/agenda/static/javascript/agenda.js @@ -1,3 +1,10 @@ +/** + * OpenSlides agenda functions + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. + */ + function hideLine(object) { if (object == []) { return; diff --git a/openslides/agenda/static/javascript/jquery.once.js b/openslides/agenda/static/javascript/jquery.once.js index fe2bca7a0..21c82c2f8 100644 --- a/openslides/agenda/static/javascript/jquery.once.js +++ b/openslides/agenda/static/javascript/jquery.once.js @@ -1,5 +1,3 @@ -// $Id: jquery.once.js,v 1.1 2009/08/31 15:52:26 webchick Exp $ - /** * jQuery Once Plugin v1.2 * http://plugins.jquery.com/project/once diff --git a/openslides/agenda/static/javascript/jquery.tmpl.js b/openslides/agenda/static/javascript/jquery.tmpl.js index 160edae65..8e6777955 100644 --- a/openslides/agenda/static/javascript/jquery.tmpl.js +++ b/openslides/agenda/static/javascript/jquery.tmpl.js @@ -3,6 +3,7 @@ * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. */ + (function( jQuery, undefined ){ var oldManip = jQuery.fn.domManip, tmplItmAtt = "_tmplitem", htmlExpr = /^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /, newTmplItems = {}, wrappedItems = {}, appendToTmplItems, topTmplItem = { key: 0, data: {} }, itemKey = 0, cloneIndex = 0, stack = []; diff --git a/openslides/agenda/static/styles/agenda.css b/openslides/agenda/static/styles/agenda.css index 7c3700e9e..62fb064cc 100644 --- a/openslides/agenda/static/styles/agenda.css +++ b/openslides/agenda/static/styles/agenda.css @@ -1,3 +1,10 @@ +/** + * OpenSlides agenda style + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. + */ + /* agenda item open/closed */ a.close_link span { background-image: url(../images/icons/done-grey.png); diff --git a/openslides/assignment/static/javascript/assignment.js b/openslides/assignment/static/javascript/assignment.js index eb7a4596d..3c82dab38 100644 --- a/openslides/assignment/static/javascript/assignment.js +++ b/openslides/assignment/static/javascript/assignment.js @@ -1,3 +1,10 @@ +/** + * OpenSlides assignment functions + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. + */ + $(function() { $('a.elected').parent().parent().children('td').addClass('elected'); diff --git a/openslides/assignment/static/styles/assignment.css b/openslides/assignment/static/styles/assignment.css index eaaa7ba83..2552f717c 100644 --- a/openslides/assignment/static/styles/assignment.css +++ b/openslides/assignment/static/styles/assignment.css @@ -1,3 +1,10 @@ +/** + * OpenSlides assignent style + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. + */ + td.elected { background-color: #BED4DE !important; } diff --git a/openslides/assignment/tests.py b/openslides/assignment/tests.py index 7be9bc59a..31a7d746c 100644 --- a/openslides/assignment/tests.py +++ b/openslides/assignment/tests.py @@ -1,6 +1,5 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- - """ openslides.assignment.tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/openslides/participant/static/javascript/participant.js b/openslides/participant/static/javascript/participant.js index 8d8b66ff5..2048f2dd5 100644 --- a/openslides/participant/static/javascript/participant.js +++ b/openslides/participant/static/javascript/participant.js @@ -1,3 +1,10 @@ +/** + * OpenSlides participants functions + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. + */ + $(function() { $('.status_link').click(function(event) { event.preventDefault(); diff --git a/openslides/participant/static/styles/participant.css b/openslides/participant/static/styles/participant.css index 3292dc417..49487e00e 100644 --- a/openslides/participant/static/styles/participant.css +++ b/openslides/participant/static/styles/participant.css @@ -1,3 +1,10 @@ +/** + * OpenSlides participants style + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. + */ + a.status_link.active span { background-image: url(../images/icons/on.png); background-repeat: no-repeat; diff --git a/openslides/projector/static/javascript/projector-control.js b/openslides/projector/static/javascript/projector-control.js index ad4ceac32..ffe16a17d 100644 --- a/openslides/projector/static/javascript/projector-control.js +++ b/openslides/projector/static/javascript/projector-control.js @@ -1,3 +1,10 @@ +/** + * OpenSlides projector functions + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. + */ + $(function() { // activate an element to show it on projector $('.activate_link').click(function(event) { diff --git a/openslides/projector/static/javascript/projector.js b/openslides/projector/static/javascript/projector.js index 3a12018b5..c999f0e1c 100644 --- a/openslides/projector/static/javascript/projector.js +++ b/openslides/projector/static/javascript/projector.js @@ -1,3 +1,10 @@ +/** + * OpenSlides projector functions + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. + */ + function presentation_reload() { if ($('#config > #ajax').html() == 'on') { $.ajax({ diff --git a/openslides/projector/static/styles/projector-control.css b/openslides/projector/static/styles/projector-control.css index 62e3e8ae9..114655465 100644 --- a/openslides/projector/static/styles/projector-control.css +++ b/openslides/projector/static/styles/projector-control.css @@ -1,5 +1,8 @@ /** - * OpenSlides projector control template style + * OpenSlides projector control style + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. */ /* Portlet */ diff --git a/openslides/projector/static/styles/projector.css b/openslides/projector/static/styles/projector.css index 1527bd958..6714f2319 100644 --- a/openslides/projector/static/styles/projector.css +++ b/openslides/projector/static/styles/projector.css @@ -1,6 +1,10 @@ /** - * OpenSlides projector style + * OpenSlides projector view style + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. */ + body{ margin : 0px; padding-top: 0px; diff --git a/openslides/static/javascript/utils.js b/openslides/static/javascript/utils.js index 554e07b25..0057ca1ff 100644 --- a/openslides/static/javascript/utils.js +++ b/openslides/static/javascript/utils.js @@ -1,3 +1,10 @@ +/** + * OpenSlides utils functions + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. + */ + $(function () { $('.button').click(function (event) { button = $(this); diff --git a/openslides/static/styles/base.css b/openslides/static/styles/base.css index 052f6c275..01db18da9 100644 --- a/openslides/static/styles/base.css +++ b/openslides/static/styles/base.css @@ -1,4 +1,9 @@ -/* OpenSlides default template style */ +/** + * OpenSlides default template style + * + * :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + * :license: GNU GPL, see LICENSE for more details. + */ body { padding: 0 0 0px;