-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gwt: Display separate tables for team and individual results.
- Loading branch information
1 parent
83868d9
commit 0ebec6a
Showing
16 changed files
with
227 additions
and
94 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
gwt/vmchecker-gui/src/ro/pub/cs/vmchecker/client/i18n/StatisticsConstants.java
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,12 @@ | ||
package ro.pub.cs.vmchecker.client.i18n; | ||
|
||
import com.google.gwt.core.client.GWT; | ||
import com.google.gwt.i18n.client.Constants; | ||
|
||
public interface StatisticsConstants extends Constants { | ||
|
||
String title(); | ||
String noSubmissionAvailable(); | ||
String teams(); | ||
String individual(); | ||
} |
1 change: 1 addition & 0 deletions
1
gwt/vmchecker-gui/src/ro/pub/cs/vmchecker/client/i18n/StatisticsConstants.properties
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 @@ | ||
StatisticsConstants_en.properties |
4 changes: 4 additions & 0 deletions
4
gwt/vmchecker-gui/src/ro/pub/cs/vmchecker/client/i18n/StatisticsConstants_en.properties
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 @@ | ||
title = General results | ||
noSubmissionAvailable = No submissions have yet been made for this course | ||
teams = Teams | ||
individual = Individual |
4 changes: 4 additions & 0 deletions
4
gwt/vmchecker-gui/src/ro/pub/cs/vmchecker/client/i18n/StatisticsConstants_fr.properties
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 @@ | ||
title = Résultats | ||
noSubmissionAvailable = Aucune solution n'a été envoyée pour ce cours | ||
teams = Équipes | ||
individual = Individuel |
4 changes: 4 additions & 0 deletions
4
gwt/vmchecker-gui/src/ro/pub/cs/vmchecker/client/i18n/StatisticsConstants_ro.properties
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 @@ | ||
title = Rezultate generale | ||
noSubmissionAvailable = Încă nu au fost trimise soluții pentru acest curs | ||
teams = Echipe | ||
individual = Individual |
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
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
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
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
21 changes: 21 additions & 0 deletions
21
gwt/vmchecker-gui/src/ro/pub/cs/vmchecker/client/model/ResultInfo.java
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 @@ | ||
package ro.pub.cs.vmchecker.client.model; | ||
|
||
import java.util.HashMap; | ||
|
||
public class ResultInfo { | ||
|
||
public enum OwnerType { | ||
USER, | ||
TEAM | ||
}; | ||
|
||
public OwnerType owner; | ||
public String name; | ||
public HashMap<String, String> results; | ||
|
||
public ResultInfo(OwnerType owner, String name, HashMap<String, String> results) { | ||
this.owner = owner; | ||
this.name = name; | ||
this.results = results; | ||
} | ||
} |
16 changes: 0 additions & 16 deletions
16
gwt/vmchecker-gui/src/ro/pub/cs/vmchecker/client/model/StudentInfo.java
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.