This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
forked from rosedu/vmchecker
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mockups for both ui and services to ease testing
- Loading branch information
unknown
committed
Feb 25, 2010
1 parent
d61eb6f
commit 9ba375e
Showing
6 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>Test for login service</title> | ||
</head> | ||
<body> | ||
<h2> Test for login service</h2> | ||
<form method="post" action="login"> | ||
<table> | ||
<tr> | ||
<td>username</td><td><input type="text" name="username" value="nume.prenume" readonly="true" /> </td> | ||
</tr> | ||
<tr> | ||
<td>password</td><td><input type="password" name="password" value="pass" /> </td> | ||
</tr> | ||
</table> | ||
<input type="submit" value="Login" /> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>Test for uploadAssignment service</title> | ||
</head> | ||
<body> | ||
<h2> Test for uploadAssignment service</h2> | ||
<form enctype="multipart/form-data" method="post" action="uploadAssignment"> | ||
<input type="file" name="archiveFile"/> | ||
<input type="hidden" name="courseId" value="so" /> | ||
<input type="hidden" name="assignmentId" value="tema1-lin" /> | ||
<input type="hidden" name="username" value="nume.prenume" /> | ||
<input type="submit" value="Send" /> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
http://localhost/vmchecker/getCourses | ||
http://localhost/vmchecker/getAssignments?courseId=so | ||
http://localhost/vmchecker/getResults?courseId=so&assignmentId=tema1-lin&username=nume.prenume |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"assignmentId":"tema1-lin","assignmentTitle":"Mini Shell - Linux","deadline":"21-08-2010"},{"assignmentId":"tema1-win","assignmentTitle":"Mini Shell - Win","deadline":"21-08-2010"},{"assignmentId":"tema2-lin","assignmentTitle":"Monitor generic","deadline":"29-08-2010"},{"assignmentId":"tema3-lin","assignmentTitle":"Server de fisiere","deadline":"31-09-2010"}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"id":"so","title":"Sisteme de Operare"},{"id":"pso","title":"Sisteme de Operare 2"},{"id":"cpl","title":"Compilatoare"},{"id":"pa","title":"Proiectarea Algoritmilor"}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"status":"1","dumpLog":"Incorrect files in archive"} |