diff --git a/module/teacher_form/templates/teacher_form/form.twig b/module/teacher_form/templates/teacher_form/form.twig index 4ef667dcab911275e7087c2faea1674f132bd228..009489e3be5e9442d1b094b6d72edabdfe4f2f65 100644 --- a/module/teacher_form/templates/teacher_form/form.twig +++ b/module/teacher_form/templates/teacher_form/form.twig @@ -4,84 +4,65 @@ {% import "schools/form.twig" as macros %} {% block content %} -<style> -input[type=text] { - width: 100%; -} -</style> -<div id="app-form"> - <h1> - {% block title %} - {% endblock %} - </h1> - <form method="post" action="" data-is-valid="{{ form.is_valid | default(true) ? '1' : '0' }}" - data-messages="{{ form.messages|default({})|json_encode }}"> + <style> + input[type=text] { + width: 100%; + } + </style> + <div id="app-form"> + <h1> + {% block title %} + {% endblock %} + </h1> + <form method="post" action="" class="form-horizontal" + data-is-valid="{{ form.is_valid | default(true) ? '1' : '0' }}" + data-messages="{{ form.messages|default({})|json_encode }}"> <input type="hidden" id="mm_id" name="mm_id" value="0"> <div class="form-group"> - <p> - <h1>ΞΞ―ΟΞ·ΟΞ· ΡκδΞ�Ξ»ΟΟΞ·Ο Ξ΅Ξ½Ξ΄ΞΉΞ±ΟΞΟΞΏΞ½ΟΞΏΟ</h1> - <br> - Ξ£ΟΞ·Ξ½ Ξ΄ΟΞ¬ΟΞ· ΟΟΞ½ edulabs ΞΌΟΞΏΟΞΏΟΞ½ Ξ½Ξ± ΟΟ ΞΌΞΌΞ΅ΟΞΟΞΏΟ Ξ½ ΡκΟΞ±ΞΉΞ΄Ξ΅Ο ΟΞΉΞΊΞΏΞ― ΞΌΞ΅ ΡμΟΡιΟΞ―Ξ± ΟΞ΅ STEAM ΟΞΏΟ ΞΈΞΞ»ΞΏΟ Ξ½ Ξ½Ξ± ΟΟ Ξ½Ξ΅ΟΞ³Ξ±ΟΟΞΏΟΞ½ ΞΌΞ΅ ΟΞ± ΟΟολΡία ΟΟΞ·Ξ½ Ξ±ΞΎΞΉΞΏΟΞΏΞ―Ξ·ΟΞ· ΟΟΞ½ 140 edulabs ΟΞΏΟ Ξ΅Ξ³ΞΊΞ±ΞΈΞ―ΟΟΞ±Ξ½ΟΞ±ΞΉ ΟΞ΅ ΟΟολΡία ΟΞ΅ ΟΞ»Ξ΅Ο ΟΞΉΟ Ξ΅ΞΊΟΞ±ΞΉΞ΄Ξ΅Ο ΟΞΉΞΊΞΟ Ξ΄ΞΉΞ΅Ο ΞΈΟΞ½ΟΡιΟ. - <br> - Ξ Ξ±ΟΞ±ΞΊΞ±Ξ»Ο ΟΟ ΞΌΟληΟΟΟΟΞ΅ ΟΞ± ΟΟΞΏΞΉΟΡία ΟΞ±Ο ΞΊΞ±ΞΉ ΞΈΞ± Ξ΅ΟΞΉΞΊΞΏΞΉΞ½ΟΞ½Ξ�ΟΞΏΟ ΞΌΞ΅ ΞΌΞ±ΞΆΞ― ΟΞ±Ο. + <h1>ΞΞ―ΟΞ·ΟΞ· ΡκδΞ�Ξ»ΟΟΞ·Ο Ξ΅Ξ½Ξ΄ΞΉΞ±ΟΞΟΞΏΞ½ΟΞΏΟ</h1> + <p>Ξ£ΟΞ·Ξ½ Ξ΄ΟΞ¬ΟΞ· ΟΟΞ½ edulabs ΞΌΟΞΏΟΞΏΟΞ½ Ξ½Ξ± ΟΟ ΞΌΞΌΞ΅ΟΞΟΞΏΟ Ξ½ ΡκΟΞ±ΞΉΞ΄Ξ΅Ο ΟΞΉΞΊΞΏΞ― ΞΌΞ΅ ΡμΟΡιΟΞ―Ξ± ΟΞ΅ STEAM ΟΞΏΟ ΞΈΞΞ»ΞΏΟ Ξ½ Ξ½Ξ± ΟΟ Ξ½Ξ΅ΟΞ³Ξ±ΟΟΞΏΟΞ½ ΞΌΞ΅ ΟΞ± ΟΟολΡία ΟΟΞ·Ξ½ Ξ±ΞΎΞΉΞΏΟΞΏΞ―Ξ·ΟΞ· ΟΟΞ½ 140 edulabs ΟΞΏΟ Ξ΅Ξ³ΞΊΞ±ΞΈΞ―ΟΟΞ±Ξ½ΟΞ±ΞΉ ΟΞ΅ ΟΟολΡία ΟΞ΅ ΟΞ»Ξ΅Ο ΟΞΉΟ Ξ΅ΞΊΟΞ±ΞΉΞ΄Ξ΅Ο ΟΞΉΞΊΞΟ Ξ΄ΞΉΞ΅Ο ΞΈΟΞ½ΟΡιΟ. + <br/>Ξ Ξ±ΟΞ±ΞΊΞ±Ξ»Ο ΟΟ ΞΌΟληΟΟΟΟΞ΅ ΟΞ± ΟΟΞΏΞΉΟΡία ΟΞ±Ο ΞΊΞ±ΞΉ ΞΈΞ± Ξ΅ΟΞΉΞΊΞΏΞΉΞ½ΟΞ½Ξ�ΟΞΏΟ ΞΌΞ΅ ΞΌΞ±ΞΆΞ― ΟΞ±Ο. </p> - </div> - - <div class="table-responsive"> - <fieldset> - <!-- <div id="items-list"> --> - {{ macros.input('name', 'ΞΞ½ΞΏΞΌΞ±', form.values.name)}} - {{ macros.input('surname', 'ΞΟΟΞ½Ο ΞΌΞΏ', form.values.surname)}} - {{ macros.select('eidikothta', 'ΞιδικΟΟΞ·ΟΞ±', form.branches, form.values.eidikothta, {'required': ''}) }} - {{ macros.input('arithmitroou', 'ΞΟΞΉΞΈΞΌΟΟ ΞΞ·ΟΟΟΞΏΟ ', form.values.arithmitroou)}} - {{ macros.input('telef', '΀ηλΞΟΟΞ½ΞΏ', form.values.telef)}} - {{ macros.input('email', 'Email', form.values.email)}} - <div class="form-group"> - <label class="control-label hidden-xs hidden-sm col-md-3" for="select_school">ΞΞ½Ξ±ΞΆΞ�ΟΞ·ΟΞ· ΟΟΞΏΞ»Ξ΅Ξ―ΞΏΟ </label> - <div class="col-xs-12 col-sm-12 col-md-9"> - <input type="text" id="select_school" name="select_school" placeholder="ΞΟΞ¬ΟΟΞ΅ 4 ΟΞΏΟ Ξ»Ξ¬ΟΞΉΟΟΞΏ ΟΞ±ΟΞ±ΞΊΟΞ�ΟΞ΅Ο Ξ³ΞΉΞ± Ξ±Ξ½Ξ±ΞΆΞ�ΟΞ·ΟΞ·" class="form-control input-sm"> - </div> - </div> - {{ macros.input('school', 'Ξ£ΟολΡίο ΟΞΏΟ Ο ΟΞ·ΟΞ΅ΟΡίΟΞ΅', form.values.school, 'text', {'readonly': true})}} - {{ macros.input('schooltelef', '΀ηλΞΟΟΞ½ΞΏ Ξ£ΟΞΏΞ»Ξ΅Ξ―ΞΏΟ ', form.values.schooltelef, 'text', {'readonly': true})}} - - <br> - <br> - <br> - <h3> ΞΟΞ¬ΟΡιΟ</h3> - Ξ Ξ±ΟΞ±ΞΊΞ±Ξ»Ο ΟΞ΅ΟΞΉΞ³ΟΞ¬ΟΟΞ΅ ΟΟΞ½ΟΞΏΞΌΞ± Ξ΄ΟΞ¬ΟΞ΅ΞΉΟ ΟΞΏΟ ΞΟΞ΅ΟΞ΅ ΟΟ ΞΌΞΌΞ΅ΟΞ¬ΟΟΡι. - <div class="input_fields_wrap"> - <button style="color:blue" class="add_field_button" "btn btn-lg btn-primary">Ξ ΟΞΏΟΞΈΞ�ΞΊΞ· ΞΟΞΉΟΞ»ΞΞΏΞ½</button> - <div><label for="projects">Ξ£ΟΞ΅ΟΞΉΞΊΞ� Ξ΄ΟΞ¬ΟΞ· ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅ </label><input type="text" name="projects" id="projects"></div> - <div><label for="urlproject">URL Ξ΄ΟΞ¬ΟΞ·Ο ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅</label><input type="text" name="urlproject" id="urlproject"></div> - <div><label for "commentproject">Ξ Ξ΅ΟΞΉΞ³ΟΞ±ΟΞ� Ξ΄ΟΞ¬ΟΞ·Ο ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅</label><input type="text" name="commentsproject" id="commentproject"></div> - - + </div> + + <div class="table-responsive"> + <fieldset> + {{ macros.input('name', 'ΞΞ½ΞΏΞΌΞ±', form.values.name)}} + {{ macros.input('surname', 'ΞΟΟΞ½Ο ΞΌΞΏ', form.values.surname)}} + {{ macros.select('eidikothta', 'ΞιδικΟΟΞ·ΟΞ±', form.branches, form.values.eidikothta, {'required': ''}) }} + {{ macros.input('arithmitroou', 'ΞΟΞΉΞΈΞΌΟΟ ΞΞ·ΟΟΟΞΏΟ ', form.values.arithmitroou)}} + {{ macros.input('telef', '΀ηλΞΟΟΞ½ΞΏ', form.values.telef)}} + {{ macros.input('email', 'Email', form.values.email)}} + <div class="form-group"> + <label class="control-label hidden-xs hidden-sm col-md-3" for="select_school">ΞΞ½Ξ±ΞΆΞ�ΟΞ·ΟΞ· ΟΟΞΏΞ»Ξ΅Ξ―ΞΏΟ </label> + <div class="col-xs-12 col-sm-12 col-md-9"> + <input type="text" id="select_school" name="select_school" placeholder="ΞΟΞ¬ΟΟΞ΅ 4 ΟΞΏΟ Ξ»Ξ¬ΟΞΉΟΟΞΏ ΟΞ±ΟΞ±ΞΊΟΞ�ΟΞ΅Ο Ξ³ΞΉΞ± Ξ±Ξ½Ξ±ΞΆΞ�ΟΞ·ΟΞ·" class="form-control input-sm"> + </div> + </div> + {{ macros.input('school', 'Ξ£ΟολΡίο ΟΞΏΟ Ο ΟΞ·ΟΞ΅ΟΡίΟΞ΅', form.values.school, 'text', {'readonly': true})}} + {{ macros.input('schooltelef', '΀ηλΞΟΟΞ½ΞΏ Ξ£ΟΞΏΞ»Ξ΅Ξ―ΞΏΟ ', form.values.schooltelef, 'text', {'readonly': true})}} + + <h3>ΞΟΞ¬ΟΡιΟ</h3> + <p>Ξ Ξ±ΟΞ±ΞΊΞ±Ξ»Ο ΟΞ΅ΟΞΉΞ³ΟΞ¬ΟΟΞ΅ ΟΟΞ½ΟΞΏΞΌΞ± Ξ΄ΟΞ¬ΟΞ΅ΞΉΟ ΟΞΏΟ ΞΟΞ΅ΟΞ΅ ΟΟ ΞΌΞΌΞ΅ΟΞ¬ΟΟΡι.</p> + <div class="input_fields_wrap"> + <button style="color:blue" class="add_field_button">Ξ ΟΞΏΟΞΈΞ�ΞΊΞ· ΞΟΞΉΟΞ»ΞΞΏΞ½</button> + <div><label for="projects">Ξ£ΟΞ΅ΟΞΉΞΊΞ� Ξ΄ΟΞ¬ΟΞ· ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅ </label><input type="text" name="projects" id="projects"></div> + <div><label for="urlproject">URL Ξ΄ΟΞ¬ΟΞ·Ο ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅</label><input type="text" name="urlproject" id="urlproject"></div> + <div><label for="commentproject">Ξ Ξ΅ΟΞΉΞ³ΟΞ±ΟΞ� Ξ΄ΟΞ¬ΟΞ·Ο ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅</label><input type="text" name="commentsproject" id="commentproject"></div> + </div> + + <input type="hidden" name="projectdescription" id="projectdescription"> + {{ macros.text('comments', 'Ξ£ΟΟλια/Ξ Ξ±ΟΞ±ΟΞ·ΟΞ�ΟΡιΟ', form.values.comments) }} + </fieldset> + </div> + <hr> + <div class="form-group text-center"> + <button name="submit" value="submit" type="submit" id ="submit" class="btn btn-lg btn-primary">Ξ₯ΟΞΏΞ²ΞΏΞ»Ξ�</button> + </div> + <input type="hidden" name="{{ csrf.name_key }}" value="{{ csrf.name }}"> + <input type="hidden" name="{{ csrf.value_key }}" value="{{ csrf.value }}"> + </form> </div> - - <input type="hidden" name="projectdescription" id="projectdescription"> - - <p> - <p> - -<!-- </div> --> - {{ macros.text('comments', 'Ξ£ΟΟλια/Ξ Ξ±ΟΞ±ΟΞ·ΟΞ�ΟΡιΟ', form.values.comments) }} - - - - - </fieldset> - </div> - <hr> - <div class="form-group text-center"> - <button name="submit" value="submit" type="submit" id ="submit" class="btn btn-lg btn-primary">Ξ₯ΟΞΏΞ²ΞΏΞ»Ξ�</button> - </div> - <input type="hidden" name="{{ csrf.name_key }}" value="{{ csrf.name }}"> - <input type="hidden" name="{{ csrf.value_key }}" value="{{ csrf.value }}"> - </form> - - -</div> {% endblock %} {% block inlinejs %} diff --git a/module/university_form/templates/university_form/form.twig b/module/university_form/templates/university_form/form.twig index 5feff59761dfdabfcd345ebe53072bbc6784628d..c97fa63ec166ccc10b9939497d28abc294b9a110 100644 --- a/module/university_form/templates/university_form/form.twig +++ b/module/university_form/templates/university_form/form.twig @@ -3,97 +3,87 @@ {% import "schools/form.twig" as macros %} {% block content %} -<style> -input[type=text] { - width: 100%; -} -</style> + <style> + input[type=text] { + width: 100%; + } + </style> <body> - <div id="app-form"> - <h1> - {% block title %} - - {% endblock %} - </h1> - <form class="form-horizontal" method="post" action="" data-is-valid="{{ form.is_valid | default(true) ? '1' : '0' }}" - data-messages="{{ form.messages|default({})|json_encode }}" > - <div class="form-group"> - <p> - <h1>ΞΞ―ΟΞ·ΟΞ· ΡκδΞ�Ξ»ΟΟΞ·Ο Ξ΅Ξ½Ξ΄ΞΉΞ±ΟΞΟΞΏΞ½ΟΞΏΟ</h1> - <br> - Ξ£ΟΞ·Ξ½ Ξ΄ΟΞ¬ΟΞ· ΟΟΞ½ edulabs ΞΌΟΞΏΟΡί Ξ½Ξ± ΟΟ ΞΌΞΌΞ΅ΟΞΟΡι ακαδημαΟΞΊΟ ΞΊΞ±ΞΉ Ξ΅ΟΞ΅Ο Ξ½Ξ·ΟΞΉΞΊΟ ΟΟΞΏΟΟΟΞΉΞΊΟ Ξ±ΟΟ Ολα ΟΞ± Ξ Ξ±Ξ½Ξ΅ΟΞΉΟΟΞ�ΞΌΞΉΞ± ΞΊΞ±ΞΉ ΞΟΞ΅Ο Ξ½Ξ·ΟΞΉΞΊΞ¬ ΞΞΞ½ΟΟΞ± ΞΌΞ΅ ΡμΟΡιΟΞ―Ξ± ΟΞ΅ STEAM ΟΞΏΟ ΞΈΞλΡι Ξ½Ξ± ΟΟ Ξ½Ξ΅ΟΞ³Ξ±ΟΟΡί ΞΌΞ΅ ΟΞ± ΟΟολΡία ΟΟΞ·Ξ½ Ξ±ΞΎΞΉΞΏΟΞΏΞ―Ξ·ΟΞ· ΟΟΞ½ 140 <a href="http://edulabs.minedu.gov.gr/">edulabs </a>ΟΞΏΟ Ξ΅Ξ³ΞΊΞ±ΞΈΞ―ΟΟΞ±Ξ½ΟΞ±ΞΉ ΟΞ΅ ΟΟολΡία ΟΞ΅ ΟΞ»Ξ΅Ο ΟΞΉΟ Ξ΅ΞΊΟΞ±ΞΉΞ΄Ξ΅Ο ΟΞΉΞΊΞΟ Ξ΄ΞΉΞ΅Ο ΞΈΟΞ½ΟΡιΟ. + <div id="app-form"> + <h1> + {% block title %} - <br>Ξ Ξ±ΟΞ±ΞΊΞ±Ξ»Ο ΟΟ ΞΌΟληΟΟΟΟΞ΅ ΟΞ± ΟΟΞΏΞΉΟΡία ΟΞ±Ο ΞΊΞ±ΞΉ ΞΈΞ± Ξ΅ΟΞΉΞΊΞΏΞΉΞ½ΟΞ½Ξ�ΟΞΏΟ ΞΌΞ΅ ΞΌΞ±ΞΆΞ― ΟΞ±Ο. - </p> - </div> - - <div class="table-responsive"> - <fieldset> - <div id="items-list"> - <strong>ΞΟΞΉΞ»ΞΞΎΟΞ΅ ΟΞ·Ξ½ ιδιΟΟΞ·ΟΞ¬ ΟΞ±Ο:</strong> - <select name='newselect' id="newselect"> - <option value="space" id = "space" selected ></option> - <option value="idrimata" id = "idrimata">ΞΞΞ/ΞΞ€ΞΞ</option> - <option value="ereunitika" id="ereunitika">ΞΟΞ΅Ο Ξ½Ξ·ΟΞΉΞΊΞ¬ ΞΞΞ½ΟΟΞ±</option> - </select> - <div id = "first"> - {{ macros.select('idrima','ΞΞ΄ΟΟ ΞΌΞ±','', form.values.idrima, { 'id': 'idrima'} )}} - {{ macros.select('sxolh', 'Ξ£ΟΞΏΞ»Ξ�','', form.values.sxolh,{ 'id': 'sxolh'} ) }} - {{ macros.select('tmhma', '΀μΞ�ΞΌΞ±','', form.values.tmhma, { 'id': 'tmhma'}) }} - </div> - <div id = "second"> - {{ macros.select('ereunitiko', 'ΞΟΞ΅Ο Ξ½Ξ·ΟΞΉΞΊΟ ΞΞΞ½ΟΟΞΏ', '', form.values.ereunitiko, { 'id': 'ereunitiko'} )}} - {{ macros.select('institute', 'ΞΞ½ΟΟΞΉΟΞΏΟΟΞΏ','', form.values.institute,{ 'id': 'institute'} ) }} - {{ macros.input('other', 'Ξλλο',form.values.other,{ 'id': 'other'} ) }} - - </div> - {{ macros.input('erga', 'ΞΟΞ³Ξ±ΟΟΞ�ΟΞΉΞΏ',form.values.erga ) }} - {{ macros.input('person', 'Ξ₯ΟΞ΅ΟΞΈΟ Ξ½ΞΏΟ ΞΟΞΉΞΊΞΏΞΉΞ½ΟΞ½Ξ―Ξ±Ο',form.values.person ) }} - {{ macros.input('telef', '΀ηλΞΟΟΞ½ΞΏ',form.values.telef ) }} - {{ macros.input('email', 'Email',form.values.email ) }} - - - - <h3> ΞΟΞ¬ΟΡιΟ</h3> - Ξ Ξ±ΟΞ±ΞΊΞ±Ξ»Ο ΟΞ΅ΟΞΉΞ³ΟΞ¬ΟΟΞ΅ ΟΟΞ½ΟΞΏΞΌΞ± Ξ΄ΟΞ¬ΟΞ΅ΞΉΟ ΟΞΏΟ ΞΟΞ΅ΟΞ΅ ΟΟ ΞΌΞΌΞ΅ΟΞ¬ΟΟΡι. - <div class="input_fields_wrap"> - <button style="color:blue" class="add_field_button" "btn btn-lg btn-primary">Ξ ΟΞΏΟΞΈΞ�ΞΊΞ· ΞΟΞΉΟΞ»ΞΞΏΞ½</button> - <div><label for="projects">Ξ£ΟΞ΅ΟΞΉΞΊΞ� Ξ΄ΟΞ¬ΟΞ· ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅ </label><input type="text" name="projects[]" id="projects"></div> - <div><label for="urlproject">URL Ξ΄ΟΞ¬ΟΞ·Ο ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅</label><input type="text" name="urlproject[]" id="urlproject"></div> - <div><label for "commentproject">Ξ Ξ΅ΟΞΉΞ³ΟΞ±ΟΞ� Ξ΄ΟΞ¬ΟΞ·Ο ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅</label><input type="text" name="commentsproject[]" id="commentproject"></div> - - - </div> - - <input type="hidden" name="projectdescription" id="projectdescription"> + {% endblock %} + </h1> + <form class="form-horizontal" method="post" action="" data-is-valid="{{ form.is_valid | default(true) ? '1' : '0' }}" + data-messages="{{ form.messages|default({})|json_encode }}" > + <div class="form-group"> + <h1>ΞΞ―ΟΞ·ΟΞ· ΡκδΞ�Ξ»ΟΟΞ·Ο Ξ΅Ξ½Ξ΄ΞΉΞ±ΟΞΟΞΏΞ½ΟΞΏΟ</h1> + <p>Ξ£ΟΞ·Ξ½ Ξ΄ΟΞ¬ΟΞ· ΟΟΞ½ edulabs ΞΌΟΞΏΟΡί Ξ½Ξ± ΟΟ ΞΌΞΌΞ΅ΟΞΟΡι ακαδημαΟΞΊΟ ΞΊΞ±ΞΉ Ξ΅ΟΞ΅Ο Ξ½Ξ·ΟΞΉΞΊΟ ΟΟΞΏΟΟΟΞΉΞΊΟ Ξ±ΟΟ Ολα ΟΞ± Ξ Ξ±Ξ½Ξ΅ΟΞΉΟΟΞ�ΞΌΞΉΞ± ΞΊΞ±ΞΉ ΞΟΞ΅Ο Ξ½Ξ·ΟΞΉΞΊΞ¬ ΞΞΞ½ΟΟΞ± ΞΌΞ΅ ΡμΟΡιΟΞ―Ξ± ΟΞ΅ STEAM ΟΞΏΟ ΞΈΞλΡι Ξ½Ξ± ΟΟ Ξ½Ξ΅ΟΞ³Ξ±ΟΟΡί ΞΌΞ΅ ΟΞ± ΟΟολΡία ΟΟΞ·Ξ½ Ξ±ΞΎΞΉΞΏΟΞΏΞ―Ξ·ΟΞ· ΟΟΞ½ 140 <a href="http://edulabs.minedu.gov.gr/">edulabs </a>ΟΞΏΟ Ξ΅Ξ³ΞΊΞ±ΞΈΞ―ΟΟΞ±Ξ½ΟΞ±ΞΉ ΟΞ΅ ΟΟολΡία ΟΞ΅ ΟΞ»Ξ΅Ο ΟΞΉΟ Ξ΅ΞΊΟΞ±ΞΉΞ΄Ξ΅Ο ΟΞΉΞΊΞΟ Ξ΄ΞΉΞ΅Ο ΞΈΟΞ½ΟΡιΟ. + <br/>Ξ Ξ±ΟΞ±ΞΊΞ±Ξ»Ο ΟΟ ΞΌΟληΟΟΟΟΞ΅ ΟΞ± ΟΟΞΏΞΉΟΡία ΟΞ±Ο ΞΊΞ±ΞΉ ΞΈΞ± Ξ΅ΟΞΉΞΊΞΏΞΉΞ½ΟΞ½Ξ�ΟΞΏΟ ΞΌΞ΅ ΞΌΞ±ΞΆΞ― ΟΞ±Ο. + </p> + </div> - <p> - <p> + <div class="table-responsive"> + <fieldset> + <div id="items-list"> + <div class="form-group bg-info"> + <label class="control-label col-md-3" for="newselect">ΞΟΞΉΞ»ΞΞΎΟΞ΅ ΟΞ·Ξ½ ιδιΟΟΞ·ΟΞ¬ ΟΞ±Ο</label> + <div class="col-xs-12 col-sm-12 col-md-9"> + <select name='newselect' id="newselect" class="form-control"> + <option value="space" id = "space" selected ></option> + <option value="idrimata" id = "idrimata">ΞΞΞ/ΞΞ€ΞΞ</option> + <option value="ereunitika" id="ereunitika">ΞΟΞ΅Ο Ξ½Ξ·ΟΞΉΞΊΞ¬ ΞΞΞ½ΟΟΞ±</option> + </select> + </div> + </div> + <div id = "first"> + {{ macros.select('idrima','ΞΞ΄ΟΟ ΞΌΞ±','', form.values.idrima, { 'id': 'idrima'} )}} + {{ macros.select('sxolh', 'Ξ£ΟΞΏΞ»Ξ�','', form.values.sxolh,{ 'id': 'sxolh'} ) }} + {{ macros.select('tmhma', '΀μΞ�ΞΌΞ±','', form.values.tmhma, { 'id': 'tmhma'}) }} + </div> + <div id = "second"> + {{ macros.select('ereunitiko', 'ΞΟΞ΅Ο Ξ½Ξ·ΟΞΉΞΊΟ ΞΞΞ½ΟΟΞΏ', '', form.values.ereunitiko, { 'id': 'ereunitiko'} )}} + {{ macros.select('institute', 'ΞΞ½ΟΟΞΉΟΞΏΟΟΞΏ','', form.values.institute,{ 'id': 'institute'} ) }} + {{ macros.input('other', 'Ξλλο',form.values.other,{ 'id': 'other'} ) }} - {{ macros.text('comments', 'Ξ£ΟΟλια/Ξ Ξ±ΟΞ±ΟΞ·ΟΞ�ΟΡιΟ', form.values.comments) }} - - </div> + </div> + {{ macros.input('erga', 'ΞΟΞ³Ξ±ΟΟΞ�ΟΞΉΞΏ',form.values.erga ) }} + {{ macros.input('person', 'Ξ₯ΟΞ΅ΟΞΈΟ Ξ½ΞΏΟ ΞΟΞΉΞΊΞΏΞΉΞ½ΟΞ½Ξ―Ξ±Ο',form.values.person ) }} + {{ macros.input('telef', '΀ηλΞΟΟΞ½ΞΏ',form.values.telef ) }} + {{ macros.input('email', 'Email',form.values.email ) }} - <div class="form-group text-center"> - <button name="submit" value="submit" type="submit" id="submit" class="btn btn-lg btn-primary">Ξ₯ΟΞΏΞ²ΞΏΞ»Ξ�</button> - <input type="hidden" name="id" value="{{ form.values.id }}"> - <input type="hidden" name="hididrima" id="hididrima" value="{{form.values.idrima}}"> - <input type="hidden" name="hidsxolh" id="hidsxolh" value="{{form.values.sxolh}}"> - <input type="hidden" name="hidtmhma" id="hidtmhma" value="{{form.values.tmhma}}"> - <input type="hidden" name="hidereunitiko" id="hidereunitiko" value="{{form.values.ereunitiko}}"> - <input type="hidden" name="hidinstitute" id="hidinstitute" value="{{form.values.institute}}"> + <h3>ΞΟΞ¬ΟΡιΟ</h3> + Ξ Ξ±ΟΞ±ΞΊΞ±Ξ»Ο ΟΞ΅ΟΞΉΞ³ΟΞ¬ΟΟΞ΅ ΟΟΞ½ΟΞΏΞΌΞ± Ξ΄ΟΞ¬ΟΞ΅ΞΉΟ ΟΞΏΟ ΞΟΞ΅ΟΞ΅ ΟΟ ΞΌΞΌΞ΅ΟΞ¬ΟΟΡι. + <div class="input_fields_wrap"> + <button style="color:blue" class="add_field_button">Ξ ΟΞΏΟΞΈΞ�ΞΊΞ· ΞΟΞΉΟΞ»ΞΞΏΞ½</button> + <div><label for="projects">Ξ£ΟΞ΅ΟΞΉΞΊΞ� Ξ΄ΟΞ¬ΟΞ· ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅ </label><input type="text" name="projects[]" id="projects"></div> + <div><label for="urlproject">URL Ξ΄ΟΞ¬ΟΞ·Ο ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅</label><input type="text" name="urlproject[]" id="urlproject"></div> + <div><label for="commentproject">Ξ Ξ΅ΟΞΉΞ³ΟΞ±ΟΞ� Ξ΄ΟΞ¬ΟΞ·Ο ΟΞΏΟ ΟΟ ΞΌΞΌΞ΅ΟΡίΟΞ±ΟΞ΅</label><input type="text" name="commentsproject[]" id="commentproject"></div> + </div> + <input type="hidden" name="projectdescription" id="projectdescription"> + {{ macros.text('comments', 'Ξ£ΟΟλια/Ξ Ξ±ΟΞ±ΟΞ·ΟΞ�ΟΡιΟ', form.values.comments) }} + </div> - <input type="hidden" name="hidnewselect" id="hidnewselect" > + <div class="form-group text-center"> + <button name="submit" value="submit" type="submit" id="submit" class="btn btn-lg btn-primary">Ξ₯ΟΞΏΞ²ΞΏΞ»Ξ�</button> + <input type="hidden" name="id" value="{{ form.values.id }}"> + <input type="hidden" name="hididrima" id="hididrima" value="{{form.values.idrima}}"> + <input type="hidden" name="hidsxolh" id="hidsxolh" value="{{form.values.sxolh}}"> + <input type="hidden" name="hidtmhma" id="hidtmhma" value="{{form.values.tmhma}}"> + <input type="hidden" name="hidereunitiko" id="hidereunitiko" value="{{form.values.ereunitiko}}"> + <input type="hidden" name="hidinstitute" id="hidinstitute" value="{{form.values.institute}}"> + <input type="hidden" name="hidnewselect" id="hidnewselect" > + </div> + <input type="hidden" name="{{ csrf.name_key }}" value="{{ csrf.name }}"> + <input type="hidden" name="{{ csrf.value_key }}" value="{{ csrf.value }}"> + </fieldset> </div> - <input type="hidden" name="{{ csrf.name_key }}" value="{{ csrf.name }}"> - <input type="hidden" name="{{ csrf.value_key }}" value="{{ csrf.value }}"> - </fieldset> - </div> </form> - - </div> -</body> + + </div> + </body> {% endblock %} {% block inlinejs %} @@ -102,7 +92,7 @@ input[type=text] { <script src="https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.2.3/backbone-min.js"></script> <script src="{{ base_url() }}/js/jquery-3.1.1.min.js"></script> <script src="{{ base_url() }}/js/university_form/index-1.1.js"></script> - <script type="text/javascript"> + <script type="text/javascript"> </script> - + {% endblock %} \ No newline at end of file