This repository was archived by the owner on Jan 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 12 files changed +29
-71
lines changed Expand file tree Collapse file tree 12 files changed +29
-71
lines changed Original file line number Diff line number Diff line change 804804 <div class =" bottom_spec" >
805805 </div >
806806
807- <div class =" hide" >
808- <p class =" det_font" >
809- <span class =" name" ><strong >Environment </strong ></span >
810- <br />
811- <span class =" small_info_spec" id =" rswEnvironment" ></span >
812- <br /><br />
813- <span class =" name" ><strong >Code repo </strong > </span >
814- <br />
815- <span class =" small_info_spec" id =" rswRepo" ></span >
816- </p >
817- <div class =" bottom_spec" ></div >
818- </div >
819-
820807 <p class =" det_font" >
821808 <span class =" name" ><strong >Final Deliverables</strong ></span >
822809 <br />
883870
884871 </div >
885872 <!-- end .guidelines -->
886- <div class =" envRepo hide" >
887- <h3 >Environment</h3 >
888- <input class =" environmentEdit" name =" environmentEdit" type =" text" maxlength =" 500" />
889- <h3 >Code Repo</h3 >
890- <input type =" text" class =" repoEdit" maxlength =" 500" />
891- </div >
892873 </div > <!-- end .contestDetail -->
893874 <div class =" deliverables" >
894875 <h3 ><span class =" icon" >Final Deliverables:</span ><a href =" javascript:;" class =" helpIcon" ><span class =" hide" >Help</span ></a ></h3 >
Original file line number Diff line number Diff line change 530530 </div >
531531 </p >
532532 <div class =" bottom_spec" ></div >
533- < div class = " hide " >
533+ <%--
534534 <p class="det_font">
535535 <span class="name"><strong>Environment </strong></span>
536536 <br />
541541 <span class="small_info_spec" id="rswRepo"></span>
542542 </p>
543543 <div class="bottom_spec"></div>
544- </ div >
544+ --% >
545545 </div ><!-- End .detailsContent -->
546546</div ><!-- End .details -->
547547<!-- END Spec Display -->
589589
590590 </div >
591591 <!-- end .guidelines -->
592- <div class =" envRepo hide" >
592+ <%--
593+ <div class="envRepo">
593594 <h3>Environment</h3>
594595 <input class="environmentEdit" name="environmentEdit" type="text" maxlength="500"/>
595596 <h3>Code Repo</h3>
596597 <input type="text" class="repoEdit" maxlength="500" />
597598 </div>
599+ --%>
598600 </div > <!-- end .contestDetail -->
599601
600602 </div > <!-- End .launchContestOut -->
Original file line number Diff line number Diff line change 840840 </div >
841841 </div >
842842 <!-- End .component -->
843- < div class = " hide " >
843+
844844 <p class =" det_font" >
845845 <span class =" name" ><strong >Environment </strong ></span >
846846 <br />
851851 <span class =" small_info_spec" id =" rswRepo" ></span >
852852 </p >
853853 <div class =" bottom_spec" ></div >
854- </ div >
854+
855855 </div ><!-- End .detailsContent -->
856856</div ><!-- End .details -->
857857<!-- END Spec Display -->
957957 </div > <!-- end of prizesInner_tech -->
958958 </div >
959959 </s:if >
960- <div class =" envRepo hide" >
960+
961+ <div class =" envRepo" >
961962 <h3 >Environment</h3 >
962963 <input class =" environmentEdit" name =" environmentEdit" type =" text" maxlength =" 500" />
963964 <h3 >Code Repo</h3 >
964965 <input type =" text" class =" repoEdit" maxlength =" 500" />
965966 </div >
967+
966968 </div > <!-- end .contestDetail -->
967969 </div > <!-- End .launchContestOut -->
968970
Original file line number Diff line number Diff line change 6868 </div >
6969 </div >
7070 <!-- end round 2 information -->
71- <!-- Environment -->
72- <div class =" prizes hide" >
73- <h3 >Environment :</h3 >
74- <input class =" environmentEdit text" name =" environmentEdit" type =" text" maxlength =" 500" />
75- </div >
7671
77- <!-- repo -->
78- <div class =" prizes hide" >
79- <h3 >Code Repo :</h3 >
80- <input class =" repoEdit text" name =" repo" type =" text" maxlength =" 500" />
81- </div >
8272 <!-- upload -->
8373 <div id =" uploadSection" >
8474
Original file line number Diff line number Diff line change 4646 </div >
4747 </div >
4848 <!-- end Match Rules -->
49+ <%--
4950 <!-- Environment -->
50- <div class =" prizes hide " >
51+ <div class="prizes">
5152 <h3>Environment :</h3>
5253 <input class="environmentEdit text" name="environmentEdit" type="text" maxlength="500"/>
5354 </div>
5455
5556 <!-- repo -->
56- <div class =" prizes hide " >
57+ <div class="prizes">
5758 <h3>Code Repo :</h3>
5859 <input class="repoEdit text" name="repo" type="text" maxlength="500"/>
5960 </div>
61+ --%>
6062 <!-- upload -->
6163 <div id =" alUploadSection" >
6264 <h3 >File Upload (20MB maximum):</h3 >
Original file line number Diff line number Diff line change 110110 </div > <!-- end of prizesInner_tech -->
111111 </div >
112112 <!-- Environment -->
113- <div class =" prizes hide " >
113+ <div class =" prizes" >
114114 <h3 >Environment :</h3 >
115115 <input class =" environmentEdit text" name =" environmentEdit" type =" text" maxlength =" 500" />
116116 </div >
117117
118118 <!-- repo -->
119- <div class =" prizes hide " >
119+ <div class =" prizes" >
120120 <h3 >Code Repo :</h3 >
121121 <input class =" repoEdit text" name =" repo" type =" text" maxlength =" 500" />
122122 </div >
Original file line number Diff line number Diff line change 7979
8080 <dt class =" rMultiInfo" >Round Two Information :</dt >
8181 <dd class =" rMultiInfo" ><span id =" rRound2Info" ></span ><a href =" javascript: showPage('overviewPage');" class =" tipLink" ><img src =" /images/edit-icon.png" alt =" Edit" /></a > </dd >
82-
83- <dt >Environment :</dt >
84- <dd class =" rEnvironment" ><a href =" javascript: backReview();" class =" tipLink" ><img src =" /images/edit-icon.png" alt =" Edit" /></a > </dd >
85-
86- <dt >Code Repo :</dt >
87- <dd class =" rRepo" ><a href =" javascript: backReview();" class =" tipLink" ><img src =" /images/edit-icon.png" alt =" Edit" /></a > </dd >
8882 </dl >
8983</div >
9084<!-- end .contentList -->
Original file line number Diff line number Diff line change 6262
6363 <dt >Match Rules :</dt >
6464 <dd ><span id =" ralMatchRules" ></span ><a href =" javascript: showPage('overviewAlgorithmPage');" class =" tipLink" ><img src =" /images/edit-icon.png" alt =" Edit" /></a > </dd >
65-
65+ <%--
6666 <dt>Environment :</dt>
6767 <dd class="rEnvironment"><a href="javascript: backReview();" class="tipLink"><img src="/images/edit-icon.png" alt="Edit"/></a> </dd>
6868
6969 <dt>Code Repo :</dt>
7070 <dd class="rRepo"><a href="javascript: backReview();" class="tipLink"><img src="/images/edit-icon.png" alt="Edit"/></a> </dd>
71+ --%>
7172 </dl >
7273</div >
7374<!-- end .contentList -->
Original file line number Diff line number Diff line change 8989
9090 <dt >Code Repo :</dt >
9191 <dd class =" rRepo" ><a href =" javascript: backReview();" class =" tipLink" ><img src =" /images/edit-icon.png" alt =" Edit" /></a > </dd >
92+
9293 </dl >
9394</div >
9495<!-- end .contentList -->
Original file line number Diff line number Diff line change @@ -2853,9 +2853,10 @@ function saveSpecSection() {
28532853 return ;
28542854 }
28552855
2856- mainWidget . softwareCompetition . projectHeader . properties [ ENVIRONMENT ] = $ ( ".environmentEdit" ) . val ( ) . trim ( ) ;
2857- mainWidget . softwareCompetition . projectHeader . properties [ CODE_REPO ] = $ ( ".repoEdit" ) . val ( ) . trim ( ) ;
2858-
2856+ if ( ! mainWidget . isStudioContest ( ) ) {
2857+ mainWidget . softwareCompetition . projectHeader . properties [ ENVIRONMENT ] = ( $ ( ".environmentEdit" ) . val ( ) || "" ) . trim ( ) ;
2858+ mainWidget . softwareCompetition . projectHeader . properties [ CODE_REPO ] = ( $ ( ".repoEdit" ) . val ( ) || "" ) . trim ( ) ;
2859+ }
28592860 var saveDraftHandler = function ( ) {
28602861
28612862 //construct request data
You can’t perform that action at this time.
0 commit comments