X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Freputation.html;h=d30d2f97190e85207aacb5287e8e84d58ce6b541;hb=9e11f56fd29e5edb663d4989dfd5351d71e3b809;hp=c000ee9ae77530d90e35cf2f889dbc60f77b6062;hpb=5321146ed9bc267ef66bc3605446763ede2df95f;p=myslice.git diff --git a/portal/templates/reputation.html b/portal/templates/reputation.html index c000ee9a..d30d2f97 100644 --- a/portal/templates/reputation.html +++ b/portal/templates/reputation.html @@ -103,10 +103,11 @@

Experiment Evaluation

-

List of your unrated experiments

+

List of your unrated experiments

+
{% for aslice in slicelist %} -

Slice {{ aslice.slice_hrn }}

+

Slice {{ aslice.slice_hrn }}

  • experiment from {{ aslice.start_t }} to {{ aslice.end_t }} | Rate it @@ -126,7 +127,7 @@
  • - Would you use NETMODE testbed again? + Would you use this testbed again?
    Yes No @@ -237,9 +238,6 @@ $(function() { var data = jQuery.parseJSON('{{ json_data|safe }}'); - - - var resid = -1; var q1 = -1; var q2 = -1; @@ -267,7 +265,7 @@ function initDialog() { $("a[data-resid='"+resid+"']").css("text-decoration", "line-through").unbind("click").removeAttr("href"); - //TODO: check input if valid before submitting + //TODO: validate input before submitting sum = q1 + q2 + q3 + q4 + q5 + q6 + q7 +q8; @@ -283,8 +281,6 @@ function initDialog() { } } - - slicedata["user_eval"] = {'overall':q1, 'problems':q2, 'support':q3, 'reuse':q4, 'pay':q5, 'availability':q6, 'link_quality':q7, 'quality':q8}; testbeds_str = JSON.stringify(slicedata['testbeds']) delete slicedata['testbeds'];