nitdoc: Cleaning js/css files

Deleted all windows spaces in js and css files

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Adding a command line option

This option allow to inform about the github repository.
If this option is used it's added in each HTML file built

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Adds the github authenfication

Adds the github authenfication form with its style and JS functions which displays it or not

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Adding an action to "sign in" button

Adding function to save github loggin in a cookie (client-side only).
It is the same thing for "sign out" action which delete the cookie

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Added function to get the commit form

This function add all necessary tags for the commit form.
Add also all tags for editing a comment, each are placed after a 'pre' tag
which correspond at a comment zone

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Add a css style

Adds a style to the commit form and edit tags

signed-off by: Stefan Lage <lagestfan@gmail.com>

Conflicts:
	share/nitdoc/styles/main.css
nitdoc: Adds a way to hide all edit tags

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Added a function to display the edit mode of a comment

This function load comment content in a "texterea" and display it with two
buttons "commit" and "cancel". Actually cancel can hide/disable the edit
mode.

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Adds action to commit button when we are in "edit mode".

This function display a commit form.
Adds a another function to close this form.

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Add an action on "Commit" button

This function start the commit process and return a message to inform
the user if the commit ended successfully or if there was an error during
commit

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Add a function to check the repo github.

Check if the repository, informed by the user when he signed in, is
existing, obviously the function is called before the commit

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Adds function to check the github branch

This function check the existing of the branch informed,
if it does not exist then ask if the customer want to create it or not,
if he agree the branch is created then the commit is created too, or he
disagree and the commit process is stopped

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Add a function to load all comments

That function load all comment from the original repository

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Add a secure when the user reload the page

If a the page is reloaded or quit when a comment is being edit,
we ask if the customer really want to continue.

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Adds function to create a new comment

Adding function which allow to comment a function which is not yet.

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Fix bugs: Forgot variable definition

This variable is supposed to contain the new comment so the commit was empty...
Now all comments are loaded when a user is logged.

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Adding a way to switch of branch

Adding dropdown in the loggin form, visible only when we are
logged, which list all branches of the
repository on github, it allow to switch between all branch and load all
comment of the branch selected

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Fix bug: Add a function to close comments

Adding function which close all comments which are being edit when we close the session

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Add a hover behavior to the mouse

When the cursor is hover a comment  it display a 'hand' and disable it
when it is not hover.

signed-off by: Stefan Lage <lagestfan@gmail.com>
nitdoc: Fix bug : Generating the documentation.

One closure tag 'div' was in excess which caused the appearance of the
button 'Sign In' on the index page.
A missing part of tag 'div' closure causing a bug in the style on each
module pages.

Signed-off-by: Stefan Lage <lagestfan@gmail.com>