<commit_before>package com.bloatit.web.pages.master;

import com.bloatit.framework.webprocessor.components.HtmlDiv;
import com.bloatit.framework.webprocessor.context.Context;
import com.bloatit.framework.webprocessor.url.PageNotFoundUrl;
import com.bloatit.web.url.AddSoftwarePageUrl;
import com.bloatit.web.url.ChangeLanguagePageUrl;
import com.bloatit.web.url.CreateFeaturePageUrl;
import com.bloatit.web.url.FileUploadPageUrl;
import com.bloatit.web.url.IndexPageUrl;
import com.bloatit.web.url.MembersListPageUrl;
import com.bloatit.web.url.MetaBugsListPageUrl;
import com.bloatit.web.url.SoftwareListPageUrl;
import com.bloatit.web.url.SpecialsPageUrl;

public class Footer extends HtmlDiv {

    protected Footer() {
        super();
        setId("footer");

        final HtmlDiv linkBlock = new HtmlDiv("link_block", "link_block");
        {
            linkBlock.add(new HtmlDiv("footer_link").add(new IndexPageUrl().getHtmlLink(Context.tr("Home page"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new SpecialsPageUrl().getHtmlLink(Context.tr("All pages"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new FileUploadPageUrl().getHtmlLink(Context.tr("Upload file"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new CreateFeaturePageUrl().getHtmlLink(Context.tr("Create a feature"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new AddSoftwarePageUrl().getHtmlLink(Context.tr("Add a software"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new ChangeLanguagePageUrl().getHtmlLink(Context.tr("Change language"))));
            // linkBlock.add(new HtmlDiv("footer_link").add(new
            // TeamsPageUrl().getHtmlLink(Context.tr("Teams"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new MembersListPageUrl().getHtmlLink(Context.tr("Members"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new SoftwareListPageUrl().getHtmlLink(Context.tr("Software list"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new MetaBugsListPageUrl().getHtmlLink(Context.tr("Signal a bug"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new PageNotFoundUrl().getHtmlLink(Context.tr("Contacts"))));

        }
        add(linkBlock);

        final HtmlDiv licenceBlock = new HtmlDiv("licence_block", "licence_block");
        {
            licenceBlock.addText(Context.tr("This website use Bloatit framework, and is under GNU Affero Public Licence."));
        }
        add(licenceBlock);
    }

}<commit_msg>Adding licenses footer<commit_after>package com.bloatit.web.pages.master;

import com.bloatit.framework.webprocessor.components.HtmlDiv;
import com.bloatit.framework.webprocessor.context.Context;
import com.bloatit.framework.webprocessor.url.PageNotFoundUrl;
import com.bloatit.web.url.AddSoftwarePageUrl;
import com.bloatit.web.url.ChangeLanguagePageUrl;
import com.bloatit.web.url.CreateFeaturePageUrl;
import com.bloatit.web.url.FileUploadPageUrl;
import com.bloatit.web.url.IndexPageUrl;
import com.bloatit.web.url.MembersListPageUrl;
import com.bloatit.web.url.MetaBugsListPageUrl;
import com.bloatit.web.url.SoftwareListPageUrl;
import com.bloatit.web.url.SpecialsPageUrl;

public class Footer extends HtmlDiv {

    protected Footer() {
        super();
        setId("footer");

        final HtmlDiv linkBlock = new HtmlDiv("link_block", "link_block");
        {
            linkBlock.add(new HtmlDiv("footer_link").add(new IndexPageUrl().getHtmlLink(Context.tr("Home page"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new SpecialsPageUrl().getHtmlLink(Context.tr("All pages"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new FileUploadPageUrl().getHtmlLink(Context.tr("Upload file"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new CreateFeaturePageUrl().getHtmlLink(Context.tr("Create a feature"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new AddSoftwarePageUrl().getHtmlLink(Context.tr("Add a software"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new ChangeLanguagePageUrl().getHtmlLink(Context.tr("Change language"))));
            // linkBlock.add(new HtmlDiv("footer_link").add(new
            // TeamsPageUrl().getHtmlLink(Context.tr("Teams"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new MembersListPageUrl().getHtmlLink(Context.tr("Members"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new SoftwareListPageUrl().getHtmlLink(Context.tr("Software list"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new MetaBugsListPageUrl().getHtmlLink(Context.tr("Signal a bug"))));
            linkBlock.add(new HtmlDiv("footer_link").add(new PageNotFoundUrl().getHtmlLink(Context.tr("Contacts"))));

        }
        add(linkBlock);

        final HtmlDiv licenceBlock = new HtmlDiv("licence_block", "licence_block");
        {
            licenceBlock.add(new HtmlDiv("agpl_block").addText(Context.tr("This website use Bloatit framework, and is under GNU Affero General Public Licence.")));
            licenceBlock.add(new HtmlDiv("ccby_block").addText("Content is available under the Creative Commons Attribution (CC-by) License."));
            licenceBlock.add(new HtmlDiv("linkeos_block").addText("Elveos, elveos.org and the elveos logo are registered trademark of the Linkeos SAS."));
        }
        add(licenceBlock);
    }

}
{'fraction_non_alphanumeric': 0.14011090573012938, 'fraction_numerical': 0.0, 'mean_word_length': 4.362735381565907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1887604', 'n_tokens_mistral': 1673, 'n_tokens_neox': 1646, 'n_words': 239}