Skip to content
Snippets Groups Projects
Commit 682d8385 authored by Jan Maximilian Michal's avatar Jan Maximilian Michal
Browse files

Minor change. Uploader needs fixing for the urls rtoken

parent 3e5f2a28
No related branches found
No related tags found
No related merge requests found
...@@ -24,11 +24,11 @@ from lxml import html ...@@ -24,11 +24,11 @@ from lxml import html
__all__ = ['send_script'] __all__ = ['send_script']
# static data # static data
host = "http://192.168.1.2/" host = "http://localhost:8000/"
login = {"username" : "root", "password" : "homer", "cmd[showLogin]" : "Login"} login = {"username" : "root", "password" : "homer", "cmd[showLogin]" : "Login"}
upload_url = host + "ilias/ilias.php?ref_id=65&cmd=post&cmdClass=ilobjquestionpoolgui&cmdNode=26:gb&baseClass=ilRepositoryGUI&fallbackCmd=upload&rtoken=fd2f3337a6d4ae0689b5163d6af186a9" upload_url = host + "ilias/ilias.php?ref_id=65&cmd=post&cmdClass=ilobjquestionpoolgui&cmdNode=26:gb&baseClass=ilRepositoryGUI&fallbackCmd=upload&rtoken=c13456ec3d71dc657e19fb826750f676"
import_url = host + "ilias/ilias.php?ref_id=65&cmd=post&cmdClass=ilobjquestionpoolgui&cmdNode=26:gb&baseClass=ilRepositoryGUI&fallbackCmd=questions&rtoken=fd2f3337a6d4ae0689b5163d6af186a9" import_url = host + "ilias/ilias.php?ref_id=65&cmd=post&cmdClass=ilobjquestionpoolgui&cmdNode=26:gb&baseClass=ilRepositoryGUI&fallbackCmd=questions&rtoken=c13456ec3d71dc657e19fb826750f676"
confirm_url = host + "ilias/ilias.php?ref_id=65&cmd=post&cmdClass=ilobjquestionpoolgui&cmdNode=26:gb&baseClass=ilRepositoryGUI&rtoken=fd2f3337a6d4ae0689b5163d6af186a9" confirm_url = host + "ilias/ilias.php?ref_id=65&cmd=post&cmdClass=ilobjquestionpoolgui&cmdNode=26:gb&baseClass=ilRepositoryGUI&rtoken=c13456ec3d71dc657e19fb826750f676"
import_data = { import_data = {
"cmd[importQuestions]" : "Import", "cmd[importQuestions]" : "Import",
......
...@@ -19,30 +19,6 @@ choices = """ ...@@ -19,30 +19,6 @@ choices = """
""" """
feedback = """ feedback = """
<style type="text/css" scoped>
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 1cm;
padding: 5px;
border: 1px solid black;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
tr:nth-child(even){background-color: #f2f2f2}
tr:hover {background-color: #f5f5f5}
th {
background-color: #4CAF50;
}
table {
border-collapse: collapse;
border-spacing: 10px;
}
</style>
| Aussage | Wert | Begründung | | Aussage | Wert | Begründung |
|---------------------------------------------------------------------------------------------------------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |---------------------------------------------------------------------------------------------------------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Formalparameter sind lokale Variablen. | TRUE | Die im Methodenkopf definierten Parameter heißen auch Formalparameter und werden innerhalb der Methode als Variable gebraucht. Tatsächliche Parameter sind die im Programmablauf übergebenen Werte oder Referenzen. | | Formalparameter sind lokale Variablen. | TRUE | Die im Methodenkopf definierten Parameter heißen auch Formalparameter und werden innerhalb der Methode als Variable gebraucht. Tatsächliche Parameter sind die im Programmablauf übergebenen Werte oder Referenzen. |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment