ramp_frontend.views.ramp.view_model

ramp_frontend.views.ramp.view_model(submission_hash, f_name)

Rendering submission codes using templates/submission.html.

The code of f_name is displayed in the left panel, the list of submissions files is in the right panel. Clicking on a file will show that file (using the same template). Clicking on the name on the top will download the file itself (managed in the template). Clicking on “Archive” will zip all the submission files and download them (managed here).

Parameters
submission_hashstr

The hash_ of the submission.

f_nametr

The name of the submission file.