Commit 348d8bed authored by Lückemeyer's avatar Lückemeyer
Browse files

added gpl v3 preamble required for moodle approval

No related merge requests found
Pipeline #8832 passed with stage
Showing with 157 additions and 28 deletions
+157 -28
No preview for this file type
<?php <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Upgrade code for install * Upgrade code for install
...@@ -17,17 +31,5 @@ defined('MOODLE_INTERNAL') || die(); ...@@ -17,17 +31,5 @@ defined('MOODLE_INTERNAL') || die();
function xmldb_assignsubmission_dta_upgrade($oldversion) { function xmldb_assignsubmission_dta_upgrade($oldversion) {
global $CFG; global $CFG;
// Moodle v2.8.0 release upgrade line.
// Put any upgrade step following this.
// Moodle v2.9.0 release upgrade line.
// Put any upgrade step following this.
// Moodle v3.0.0 release upgrade line.
// Put any upgrade step following this.
// Moodle v3.1.0 release upgrade line.
// Put any upgrade step following this.
return true; return true;
} }
<?php <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* Strings for component "assignsubmission_dta", language "en" * Strings for component "assignsubmission_dta", language "en"
......
<?php <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* This file contains the moodle hooks for the submission DTA plugin * This file contains the moodle hooks for the submission DTA plugin
......
<?php <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
......
<?php <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
class DtaResult { class DtaResult {
......
<?php <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* This file defines the admin settings for this plugin * This file defines the admin settings for this plugin
......
/* Prevent word breaking in the grading table */ /* Prevent word breaking in the grading table */
.dttSubmissionSummary { .dtaSubmissionSummary {
white-space: nowrap; white-space: nowrap;
} }
.dttSubmissionSummary, .dtaSubmissionSummary,
.dttSubmissionDetails { .dtaSubmissionDetails {
margin-top: 15px; margin-top: 15px;
} }
/* empty div between summary and detail table */ /* empty div between summary and detail table */
.dttSpacer { .dtaSpacer {
margin-top: 30px; margin-top: 30px;
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* Layout for the Detail view * Layout for the Detail view
****************************************************************/ ****************************************************************/
.dttTable { .dtaTable {
display: inline-block; display: inline-block;
max-width: 100%; max-width: 100%;
overflow: auto; overflow: auto;
...@@ -27,48 +27,48 @@ ...@@ -27,48 +27,48 @@
overflow-x: hidden; overflow-x: hidden;
} }
.dttTableHeaderRow { .dtaTableHeaderRow {
font-weight: bold; font-weight: bold;
color: white !important; color: white !important;
background-color: gray !important; background-color: gray !important;
} }
.dttTableRow { .dtaTableRow {
background-color: unset !important; background-color: unset !important;
border-top: .05rem solid lightgray; border-top: .05rem solid lightgray;
} }
.dttTableHeaderRow th, .dtaTableHeaderRow th,
.dttTableRow td { .dtaTableRow td {
padding: .9375em 1.25em; padding: .9375em 1.25em;
} }
.dttStacktraceDetails { .dtaStacktraceDetails {
max-height: 300px; max-height: 300px;
max-width: 70%; max-width: 70%;
overflow: auto; overflow: auto;
} }
.dttResultUnknown { .dtaResultUnknown {
border-left: 10px solid gray; border-left: 10px solid gray;
} }
.dttResultSuccess { .dtaResultSuccess {
border-left: 10px solid green; border-left: 10px solid green;
} }
.dttResultFailure { .dtaResultFailure {
border-left: 10px solid orange; border-left: 10px solid orange;
} }
.dttResultCompilationError { .dtaResultCompilationError {
border-left: 10px solid red; border-left: 10px solid red;
} }
.dttTableRow:hover { .dtaTableRow:hover {
background-color: lightgray !important; background-color: lightgray !important;
} }
.dttTableSpacer { .dtaTableSpacer {
border-bottom: 2px solid darkgray; border-bottom: 2px solid darkgray;
} }
<?php <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
class DtaBackendUtils { class DtaBackendUtils {
......
<?php <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
class DbUtils { class DbUtils {
......
<?php <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
class ViewSubmissionUtils { class ViewSubmissionUtils {
......
<?php <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
/** /**
* This file contains the version information for the onlinetext DTA plugin * This file contains the version information for the onlinetext DTA plugin
* *
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment