Opportunity html

From Redazione
Jump to navigation Jump to search
 
(220 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
+
This is a form to create opportunities and calls regarding
 +
internships, scholarships, EVS/ESC voluntary projects and
 +
any other opportunity.
 +
It can be used by any authorized person of a center of
 +
Italian language and culture and the opportunity created
 +
will be published both [[Opportunities|on this page]]
 +
and on the [https://culturaitaliana.org/ front-end part of this project] (in construction at {{#time: F Y}}), in a more interactive way.
  
 +
The authors of the content (as affiliated to a given organization) will be mentioned at the end of the notice of the opportunity so that they can get
 +
an advantage (in terms of visits to their page) from their contribution.
 +
Also, once the form is created, any other content not foreseen by the form
 +
can be inserted in the page itself, so just keep the information in the
 +
form as short as possible!
 
<!--
 
<!--
 +
This is a form to create opportunity and calls regarding
 +
internships, scholarships, EVS/ESC voluntary projects and
 +
other opportunities.
 +
It can be used by any authorized person of a center of
 +
Italian language and culture and the opportunity produced
 +
will be published both [[Calls_and_scholarships|on this page]]
 +
and on the [https://culturaitaliana.org/ front-end part of this project] (in construction at March 2020), in more interactive and modern way.
 +
The authors of the content will be mentioned at the end of the opportunity
 +
(as well as affiliated to a given organization) so that they can get
 +
an advantage (in terms of visits to their page) for their contribution.
 +
Also, in general our model is the following: the forms just allow the
 +
creation of semantic data (in order to ensure interoperability among
 +
systems accessing such data) while, once the page/item is created,
 +
the page is completely editable (as a wiki) and can be completed
 +
with any relevant information: and of course it can exported to
 +
third-party systems as well.
 +
-->
 +
  
Announcement type + of type Text (0 uses)
+
{{CI notice box |
Announcement title + of type Text (0 uses)
+
{{#ifeq: {{PAGENAME}} | FormEdit/Opportunity |
Announcement provider + of type Text (0 uses)
+
The form will be created in the path
Announcement target country + of type Text (0 uses)
+
{{CI text highlight| Opportunities/[Provider] - [Title] }}
 +
| Attention, this form is meant to be created at a fixed path. Please create it [[Special:FormEdit/Opportunity|from here]].
 +
}}
 +
}}
  
Announcement funding exact + of type Number (0 uses)
 
Announcement funding info + of type Text (0 uses)
 
Announcement funding max + of type Number (0 uses)
 
Announcement funding min + of type Number (0 uses)
 
  
Announcement description + of type Text (0 uses)
+
<html>
  
Announcement requisites + of type Text (0 uses)
+
<div class="ci_form_container">
  
Announcement url official + of type URL (0 uses)
+
<! ***attention! this will be stripped by PageForm
Announcement deadline + of type Date (0 uses)
+
but nonetheless without it will not work !
 
-->
 
-->
 +
<form class= method="post" >
  
<html>
+
<div class="ci_form">
<div class="cultura_italiana_form" style="width:360px;text-align:;padding:24px">
+
 
<div style="margin:auto">
+
<!--
<form action="" method="post">
+
 
 +
opportunity_type
 +
opportunity_title
 +
opportunity_provider
 +
opportunity_description
 +
opportunity_target_country
 +
opportunity_funding_information
 +
opportunity_requisites
 +
opportunity_url
 +
opportunity_deadline
 +
 
 +
-->
 +
 
 +
 
 +
<!--------------------------TYPE-------------------------->
  
<span class="cultura_italiana_form_section">
+
<div class="ci_form_section">
<span class="cultura_italiana_form_section_title" style="margin-top:6px">
+
<span class="ci_form_section_label">
General information
+
Type of opportunity
 
</span>
 
</span>
  
<select class="cultura_italiana_form_input" name="Form announcement[type]">
+
<select class="ci_form_input" name="Form opportunity[Type]">
 
<option></option>
 
<option></option>
<option>Scholarship</option>
+
<option >Scholarship</option>
 
<option>Internship</option>
 
<option>Internship</option>
<option>European voluntary service (EVS/ESC)</option>
+
<option>Public procurement</option>
<option>Other</option>
+
<option>Call for proposals</option>
 +
<option >Employment</option>
 +
<option>European voluntary service (EVS/ESC)/option>
 +
<option >Study course</option>
 
</select>
 
</select>
  
<input class="cultura_italiana_form_input" type="text" placeholder="Title" name="Form announcement[Title]" value="">
+
<span class="ci_form_section_help">
<input class="cultura_italiana_form_input" type="text" placeholder="Provider" name="Form announcement[Provider]"  value="">
+
</span>
  
<select id="select_countries" class="cultura_italiana_form_input" name="Form announcement[Target country]">
+
</div>
 +
 
 +
<!--------------------------TITLE-------------------------->
 +
 
 +
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Title
 +
</span>
 +
 
 +
<input class="ci_form_input" type="text" placeholder="" name="Form opportunity[Title]" value="">
 +
 
 +
<span class="ci_form_section_help">
 +
The title of the opportunity for publishing
 +
</span>
 +
 
 +
</div>
 +
 
 +
 
 +
<!--------------------------PROVIDER-------------------------->
 +
 
 +
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Provider
 +
</span>
 +
 
 +
<input class="ci_form_input" type="text" placeholder="" name="Form opportunity[Provider]" value="">
 +
 
 +
<span class="ci_form_section_help">
 +
Who is providing and funding this opportunity?
 +
</span>
 +
 
 +
</div>
 +
 
 +
 
 +
<!--------------------------DESCRIPTION-------------------------->
 +
 
 +
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Description
 +
</span>
 +
 
 +
<textarea name="Form opportunity[Description]" class="ci_form_input" style="width:100%" rows="3">
 +
</textarea>
 +
 
 +
<span class="ci_form_section_help">
 +
Briefly describe the position and tasks
 +
</span>
 +
 
 +
</div>
 +
 
 +
 
 +
<!--------------------------COUNTRY-------------------------->
 +
 
 +
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Workplace country
 +
</span>
 +
 
 +
 
 +
<select id="select_countries" class="ci_form_input" name="Form opportunity[Workplace country]">
 +
<option></option>
  
 
<option>Afghanistan</option>
 
<option>Afghanistan</option>
Line 99: Line 205:
 
<option>Djibouti</option>
 
<option>Djibouti</option>
 
<option>Dominica</option>
 
<option>Dominica</option>
 +
<option>East Timor</option>
 
<option>Dominican Republic</option>
 
<option>Dominican Republic</option>
<option>East Timor</option>
 
 
<option>Ecuador</option>
 
<option>Ecuador</option>
 
<option>Egypt</option>
 
<option>Egypt</option>
Line 272: Line 378:
 
</select>
 
</select>
  
 +
<span class="ci_form_section_help">
 +
Leave empty if it's a remote job
 +
</span>
 +
 +
</div>
  
<script>
+
<!--------------------------CITY -------------------------->
$('#select_countries option:contains("</html>{{#ci_visitorCountry:}}<html>")').prop('selected',true);
+
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Workplace city
 +
</span>
  
</script>
+
<input class="ci_form_input" type="text" placeholder="" name="Form opportunity[Workplace city]" value="">
  
 +
<span class="ci_form_section_help">
 +
Leave empty if it's a remote job
 
</span>
 
</span>
 +
 +
</div>
 +
  
  
<span class="cultura_italiana_form_section">
+
<!--------------------------TARGET COUNTRY-------------------------->
<span class="cultura_italiana_form_section_title" style="margin-top:6px">
+
 
Funding
+
<div class="ci_form_section">
<span>the amount below is meant for the entire project</span>
+
<span class="ci_form_section_label">
 +
Target countries
 
</span>
 
</span>
  
<select class="cultura_italiana_form_input" name="Form announcement[Funding currency]">
+
<input type="hidden" value="1" name="Form opportunity[Target countries][is_list]">
<option></option>
+
 
<option>EUR</option>
+
<select multiple id="select_countries" class="ci_form_input" name="Form opportunity[Target countries][]">
<option>USD</option>
+
 
<option>...</option>
+
<option>all countries</option>
 +
<option>EU countries</option>
 +
<option>EFTA countries</option>
 +
<option>other EU Countries</option>
 +
<option>EU Candidate countries</option>
 +
<option>EU Potential Candidate</option>
 +
<option>Schengen area countries</option>
 +
<option>ACP countries</option>
 +
<option>OCTA countries</option>
 +
 
 
</select>
 
</select>
  
<select class="cultura_italiana_form_input">
 
<option></option>
 
<option>precise amount</option>
 
<option>from ... to</option>
 
<option>description</option>
 
</select>
 
  
<input style="display:none" id="funding_exact" class="cultura_italiana_form_input" type="text" placeholder="eg. 1000" name="Form announcement[Funding exact]" value="">
+
<span class="ci_form_section_help">
 +
To citizens of what countries is addressed this opportunity? Here is a </html>[[countries list|list of countries]]<html> for each group
 +
</span>
 +
 
 +
<!--
 +
<div style="margin:8px 0">
 +
 
 +
<input class="target_country_group_button unselected" data="eu_countries" type="button" value = "Eu Countries"/>
 +
<input class="target_country_group_button unselected" data="efta_countries" type="button" value = "EFTA Countries"/>
 +
<input class="target_country_group_button unselected" data="other_eu_countries" type="button" value = "Other European Countries"/>
 +
<input class="target_country_group_button unselected" data="EU_candidate_countries" type="button" value = "EU candidate countries"/>
 +
<input class="target_country_group_button unselected" data="EU_potential_candidate_countries" type="button" value = "EU potential candidates countries"/>
 +
<input class="target_country_group_button unselected" data="Schengen_area_countries" type="button" value = "Countries in Schengen area"/>
 +
<input class="target_country_group_button unselected" data="ACP_countries" type="button" value = "African, Caribbean, and Pacific (ACP) Group of States"/>
 +
<input class="target_country_group_button unselected" data="OCTA_countries" type="button" value = "Overseas Countries and Territories Association"/>  
  
<input style="display:none" id="funding_min" class="cultura_italiana_form_input" type="text" placeholder="eg. 1000" name="Form announcement[Funding min]"  value="">
+
</div>
 +
-->
 +
</div>
  
<input style="display:none" id="funding_to" class="cultura_italiana_form_input" type="text" placeholder="eg. 2000" name="Form announcement[Funding to]"  value="">
 
  
<input style="display:none" id="funding_info" class="cultura_italiana_form_input" type="text" placeholder="description" name="Form announcement[Funding info]"  value="">
 
</span>
 
  
 +
<!--------------------------FUNDING INFORMATION-------------------------->
  
<span class="cultura_italiana_form_section">
+
<div class="ci_form_section">
<span class="cultura_italiana_form_section_title">
+
<span class="ci_form_section_label">
Description
+
Funding or salary
 
</span>
 
</span>
<textarea name="Form announcement[Description]" class="form_announcement_input" style="width:100%" rows="4">
+
 
 +
<textarea name="Form opportunity[Funding or salary]" class="ci_form_input" style="width:100%" rows="3">
 
</textarea>
 
</textarea>
 +
 +
<span class="ci_form_section_help">
 +
Enter the funding or salary provided by this opportunity
 
</span>
 
</span>
 +
 +
</div>
  
  
 +
<!--------------------------REQUISITES-------------------------->
  
<span class="cultura_italiana_form_section">
+
<div class="ci_form_section">
<span class="cultura_italiana_form_section_title">
+
<span class="ci_form_section_label">
 
Requisites
 
Requisites
 
</span>
 
</span>
<textarea name="Form announcement[Requisites]" class="form_announcement_input" style="width:100%" rows="4">
+
 
 +
<textarea name="Form opportunity[Requisites]" class="ci_form_input" style="width:100%" rows="3">
 
</textarea>
 
</textarea>
 +
 +
<span class="ci_form_section_help">
 +
Please list the requisites to access this opportunity
 +
</span>
 +
 +
</div>
 +
 +
 +
<!--------------------------URL-------------------------->
 +
 +
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Url official
 +
</span>
 +
 +
<input class="ci_form_input" type="text" placeholder="" name="Form opportunity[Url]" value="">
 +
 +
<span class="ci_form_section_help">
 +
Please enter the official url with further information
 
</span>
 
</span>
  
 +
</div>
 +
 +
 +
 +
<!--------------------------DEADLINE-------------------------->
  
<span class="cultura_italiana_form_section">
+
<div class="ci_form_section">
<span class="cultura_italiana_form_section_title">
+
<span class="ci_form_section_label">
 
Deadline
 
Deadline
 
</span>
 
</span>
 +
 +
 
<table><tr><td>
 
<table><tr><td>
<select class="cultura_italiana_form_input" name="Form organization[date][year]">
+
<select class="ci_form_input" name="Form opportunity[Deadline][day]">
<option>1950</option>
+
<option></option>
<option>1951</option>
 
<option>1952</option>
 
<option>1953</option>
 
<option>1954</option>
 
<option>1955</option>
 
<option>1956</option>
 
<option>1957</option>
 
<option>1958</option>
 
<option>1959</option>
 
<option>1960</option>
 
<option>1961</option>
 
<option>1962</option>
 
<option>1963</option>
 
<option>1964</option>
 
<option>1965</option>
 
<option>1966</option>
 
<option>1967</option>
 
<option>1968</option>
 
<option>1969</option>
 
<option>1970</option>
 
<option>1971</option>
 
<option>1972</option>
 
<option>1973</option>
 
<option>1974</option>
 
<option>1975</option>
 
<option>1976</option>
 
<option>1977</option>
 
<option>1978</option>
 
<option>1979</option>
 
<option>1980</option>
 
<option>1981</option>
 
<option>1982</option>
 
<option>1983</option>
 
<option>1984</option>
 
<option>1985</option>
 
<option>1986</option>
 
<option>1987</option>
 
<option>1988</option>
 
<option>1989</option>
 
<option>1990</option>
 
<option>1991</option>
 
<option>1992</option>
 
<option>1993</option>
 
<option>1994</option>
 
<option>1995</option>
 
<option>1996</option>
 
<option>1997</option>
 
<option>1998</option>
 
<option>1999</option>
 
<option>2000</option>
 
<option>2001</option>
 
<option>2002</option>
 
<option>2003</option>
 
<option>2004</option>
 
<option>2005</option>
 
<option>2006</option>
 
<option>2007</option>
 
<option>2008</option>
 
<option>2009</option>
 
<option>2010</option>
 
<option>2011</option>
 
<option>2012</option>
 
<option>2013</option>
 
<option>2014</option>
 
<option>2015</option>
 
<option>2016</option>
 
<option>2017</option>
 
<option>2018</option>
 
<option>2019</option>
 
<option>2020</option>
 
</select>
 
</td><td>
 
 
 
<select class="cultura_italiana_form_input" name="Form organization[date][month]">
 
<option value="1">January</option>
 
<option value="2">February</option>
 
<option value="3">March</option>
 
<option value="4">April</option>
 
<option value="5">May</option>
 
<option value="6">June</option>
 
<option value="7">July</option>
 
<option value="8">August</option>
 
<option value="9">September</option>
 
<option value="10">October</option>
 
<option value="11">November</option>
 
<option value="12">December</option>
 
</select>
 
</td><td>
 
<select class="cultura_italiana_form_input" name="Form organization[date][day]">
 
 
<option>1</option>
 
<option>1</option>
 
<option>2</option>
 
<option>2</option>
Line 457: Line 539:
 
<option>30</option>
 
<option>30</option>
 
<option>31</option>
 
<option>31</option>
 +
</select>
 +
 +
</td><td>
 +
 +
<select class="ci_form_input" name="Form opportunity[Deadline][month]">
 +
<option></option>
 +
<option value="1">January</option>
 +
<option value="2">February</option>
 +
<option value="3">March</option>
 +
<option value="4">April</option>
 +
<option value="5">May</option>
 +
<option value="6">June</option>
 +
<option value="7">July</option>
 +
<option value="8">August</option>
 +
<option value="9">September</option>
 +
<option value="10">October</option>
 +
<option value="11">November</option>
 +
<option value="12">December</option>
 +
</select>
 +
</td><td>
 +
 +
<select class="ci_form_input" name="Form opportunity[Deadline][year]">
 +
<option></option>
 +
<option>2020</option>
 +
<option>2021</option>
 
</select>
 
</select>
 
</td></tr></table>
 
</td></tr></table>
  
 +
 +
<div>
 +
<div class="checkbox-container">
 +
 +
        <label class="checkbox-label">
 +
<input type="hidden" value="true" name="Form opportunity[Deadline as soon as possible][is_checkbox]" >
 +
            <input type="checkbox" name="Form opportunity[Deadline as soon as possible][value]">
 +
            <span class="checkbox-custom rectangular" data="checkbox_input"></span>
 +
        </label>
 +
       
 +
<span class="checkbox-title">As soon as possible</span>
 +
</div> 
 +
 +
 +
<style>
 +
 +
.target_country_group_button {
 +
  background: #ededed;
 +
  border: 1px solid #ccc;
 +
  padding: 10px 12px;
 +
  border-radius: 3px;
 +
  cursor: pointer;
 +
margin: 2px;
 +
}
 +
 +
.target_country_group_button.selected {
 +
background: #e5e5e5;
 +
  -webkit-box-shadow: inset 0px 0px 5px #c1c1c1;
 +
    -moz-box-shadow: inset 0px 0px 5px #c1c1c1;
 +
          box-shadow: inset 0px 0px 5px #c1c1c1;
 +
  outline: none;
 +
}
 +
 +
.checkbox-container {
 +
display: table;
 +
margin: 8px 0;
 +
}
 +
 +
.checkbox-title {
 +
display: table-cell;
 +
vertical-align: middle;
 +
}
 +
 +
/* Styling Checkbox Starts */
 +
.checkbox-label {
 +
    display: inline-block;
 +
    position: relative;
 +
    margin: auto;
 +
    cursor: pointer;
 +
    font-size: 22px;
 +
    line-height: 24px;
 +
    height: 24px;
 +
    width: 24px;
 +
    clear: both;
 +
    margin-left: 4px;
 +
    margin-right: 8px;
 +
}
 +
 +
.checkbox-label input {
 +
    position: absolute;
 +
    opacity: 0;
 +
    cursor: pointer;
 +
}
 +
 +
.checkbox-label .checkbox-custom {
 +
    position: absolute;
 +
    top: 0px;
 +
    left: 0px;
 +
    height: 24px;
 +
    width: 24px;
 +
    background-color: transparent;
 +
    border-radius: 5px;
 +
   
 +
    border: 1px solid #ccc;
 +
}
 +
 +
 +
.checkbox-label input:checked ~ .checkbox-custom {
 +
    background-color: #FFFFFF;
 +
    border-radius: 5px;
 +
    -webkit-transform: rotate(0deg) scale(1);
 +
    -ms-transform: rotate(0deg) scale(1);
 +
    transform: rotate(0deg) scale(1);
 +
    opacity:1;
 +
    border: 1px solid #ccc;
 +
}
 +
 +
 +
.checkbox-label .checkbox-custom::after {
 +
    position: absolute;
 +
    content: "";
 +
    left: 12px;
 +
    top: 12px;
 +
    height: 0px;
 +
    width: 0px;
 +
    border-radius: 5px;
 +
    border: solid #009BFF;
 +
    border-width: 0 3px 3px 0;
 +
    -webkit-transform: rotate(0deg) scale(0);
 +
    -ms-transform: rotate(0deg) scale(0);
 +
    transform: rotate(0deg) scale(0);
 +
    opacity:1;
 +
 
 +
}
 +
 +
 +
.checkbox-label input:checked ~ .checkbox-custom::after {
 +
  -webkit-transform: rotate(45deg) scale(1);
 +
  -ms-transform: rotate(45deg) scale(1);
 +
  transform: rotate(45deg) scale(1);
 +
  opacity:1;
 +
  left: 8px;
 +
  top: 3px;
 +
  width: 6px;
 +
  height: 12px;
 +
  border: solid #009BFF;
 +
  border-width: 0 2px 2px 0;
 +
  background-color: transparent;
 +
  border-radius: 0;
 +
}
 +
 +
 +
 +
/* For Ripple Effect */
 +
.checkbox-label .checkbox-custom::before {
 +
    position: absolute;
 +
    content: "";
 +
    left: 10px;
 +
    top: 10px;
 +
    width: 0px;
 +
    height: 0px;
 +
    border-radius: 5px;
 +
    border: 2px solid #FFFFFF;
 +
    -webkit-transform: scale(0);
 +
    -ms-transform: scale(0);
 +
    transform: scale(0);   
 +
}
 +
 +
.checkbox-label input:checked ~ .checkbox-custom::before {
 +
    left: -3px;
 +
    top: -3px;
 +
    width: 24px;
 +
    height: 24px;
 +
    border-radius: 5px;
 +
    -webkit-transform: scale(3);
 +
    -ms-transform: scale(3);
 +
    transform: scale(3);
 +
    opacity:0;
 +
    z-index: 999;
 +
 
 +
}
 +
 +
 +
</style>
 +
 +
<span class="ci_form_section_help">
 +
If "as soon as possible" is checked please enter the final date of validity of the opportunity as &ldquo;deadline&rdquo;.
 
</span>
 
</span>
  
 +
</div>
  
  
 +
<!--------------------------SUBMIT-------------------------->
  
<span class="cultura_italiana_form_section_submit">
+
<div class="ci_form_section_submit">
 
<input type="hidden" name="wpSave" value="Save page">
 
<input type="hidden" name="wpSave" value="Save page">
 
<input type="hidden" name="pf_free_text" value="!free_text!">
 
<input type="hidden" name="pf_free_text" value="!free_text!">
  
<input class="cultura_italiana_form_submit" type="submit" value="save">
+
<input class="ci_form_submit" type="submit" value="save">
 +
</div>
 +
 
  
 +
</div>
 
</form>
 
</form>
 
</div>
 
</div>
</div>
+
 
 +
<script>
 +
 
 +
 
 +
 
 +
 
 +
var country_groups = {
 +
'eu_countries': ['Austria','Belgium','Bulgaria','Croatia','Cyprus','Czech Republic','Denmark','Estonia','Finland','France','Germany','Greece','Hungary','Ireland','Italy','Latvia','Lithuania','Luxembourg','Malta','Netherlands','Poland','Portugal','Romania','Slovakia','Slovenia','Spain','Sweden'],
 +
'efta_countries': ['Iceland','Switzerland','Liechtenstein','Norway'],
 +
'other_eu_countries': [
 +
'Andorra','Monaco','Armenia','Norway','Azerbaijan','Russia','Belarus','San Marino','Georgia','Switzerland','Iceland','Ukraine','Liechtenstein','United Kingdom','Moldova','Vatican City'],
 +
'EU_candidate_countries': ['Albania','Serbia','Montenegro','Turkey','North Macedonia'],
 +
'EU_potential_candidate': ['Bosnia and Herzegovina','Kosovo'],
 +
'Schengen_area_countries': ['Austria','Belgium','Czech Republic','Denmark','Estonia','Finland','France','Germany','Greece','Hungary','Iceland','Italy','Latvia','Liechtenstein','Lithuania','Luxembourg','Malta','Netherlands','Norway','Poland','Portugal','Slovakia','Slovenia','Spain','Sweden','Switzerland'],
 +
'ACP_countries': ['Angola','Antigua and Barbuda',' Bahamas',' Barbados','Belize','Benin','Botswana','Burkina faso','Burundi','Cape verde','Cameroun','Comoros','Congo','Cook islands','Ivory coast','Djibouti','Dominica','Eritrea','Ethiopia','Fiji','Gabon','Gambia','Ghana',
 +
'Grenada','Guinea','Guinea ecuatorial','Guiné-bissau','Guyana','Haiti','Jamaica','Kenya','Kiribati','Lesotho','Liberia','Madagascar','Malawi','Mali','Marshall Islands','Mauritania','Mauritius','Micronesia','Mozambique','Namibia','Nauru','Niger','Nigeria','Niue','Palau','Papua new guinea','Dominican republic','Central african republic','Democratic Republic of Congo','Rwanda','St kitts and Nevis','St lucia','St Vincent Grenadines','Samoa','Sã0 tomé  e príncipe','Senegal','Seychelles','Sierra Leone','Solomon Island','Somalia','South Africa','Sudan','Suriname','Swaziland','Tanzania','Chad','Togo','Tonga','Trinidad and Tobago','Tuvalu','Uganda','Vanuatu','Zambia','Zimbabwe'],
 +
'OCTA_countries': ['Aruba','Bonaire','Curaçao','French Polynesia','French Southern and Antarctic Lands','Greenland','New Caledonia','Saba','Saint Barthélemy','Sint Eustatius','Saint Pierre and Miquelon','Sint Maarten','Wallis and Futuna']
 +
};
 +
 +
 
 +
 
 +
$ci(function() {
 +
 
 +
$ci('.checkbox-custom').on('click', function() {
 +
return;
 +
var ref_input = $ci('#' + $ci(this).attr('data'));
 +
ref_input.val(ref_input.val() == 'false'? 'true': 'false')
 +
});
 +
 
 +
$ci('.target_country_group_button').on('click', function() {
 +
return;
 +
var selected =!$ci(this).hasClass('selected')
 +
var key = $ci(this).attr('data'),
 +
country;
 +
 
 +
for(var i in country_groups[key]) {
 +
country = country_groups[key][i]
 +
 
 +
$ci('#select_countries option:contains(' + country + ')').prop('selected', selected);
 +
//$('#select_countries option[value=' + country + ']').attr('selected', selected);
 +
}
 +
$ci(this).removeClass('unselected selected').addClass(selected? 'selected': 'unselected');
 +
 
 +
setTimeout(function() {
 +
$ci('#select_countries').multiselect('reload');
 +
},100)
 +
});
 +
 
 +
$ci('select[multiple]').multiselect({selectGroup: true, search: true,
 +
 
 +
onOptionClick: function(el,option) {
 +
 
 +
 
 +
  },
 +
 
 +
onSelectAll: function(el, selected ){
 +
//      console.log(el,selected)
 +
  },
 +
onPlaceholder: function(el, placeholder, selectedOpts ){
 +
  //    console.log(el,placeholder,selectedOpts)
 +
  }
 +
 
 +
});
 +
 
 +
 
 +
//$('#select_countries option:contains("</html>{{#ci_visitorCountry:}}<html>")').prop('selected',true);
 +
 
 +
$ci('.ci_form textarea').autosize();
 +
 
 +
});
 +
 
 +
 
 +
 
 +
</script>
 +
 
 +
 
 
</html>
 
</html>

Latest revision as of 09:11, 20 July 2021

This is a form to create opportunities and calls regarding internships, scholarships, EVS/ESC voluntary projects and any other opportunity. It can be used by any authorized person of a center of Italian language and culture and the opportunity created will be published both on this page and on the front-end part of this project (in construction at December 2025), in a more interactive way.

The authors of the content (as affiliated to a given organization) will be mentioned at the end of the notice of the opportunity so that they can get an advantage (in terms of visits to their page) from their contribution. Also, once the form is created, any other content not foreseen by the form can be inserted in the page itself, so just keep the information in the form as short as possible!


Attention, this form is meant to be created at a fixed path. Please create it from here.


The title of the opportunity for publishing
Who is providing and funding this opportunity?
Briefly describe the position and tasks
Leave empty if it's a remote job
Leave empty if it's a remote job
To citizens of what countries is addressed this opportunity? Here is a list of countries for each group
Enter the funding or salary provided by this opportunity
Please list the requisites to access this opportunity
Please enter the official url with further information
As soon as possible
If "as soon as possible" is checked please enter the final date of validity of the opportunity as “deadline”.