Opportunity html

From Redazione
Jump to navigation Jump to search
 
(180 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
{{#ci_enable_OOUI:}}
+
any other opportunity.
 
+
It can be used by any authorized person of a center of
<html>
+
Italian language and culture and the opportunity created
<link rel="stylesheet" href="/w/en/resources/lib/ooui/oojs-ui-core-wikimediaui.css">
+
will be published both [[Opportunities|on this page]]
    <script src="/w/en/resources/lib/jquery/jquery.js"></script>
+
and on the [https://culturaitaliana.org/ front-end part of this project] (in construction at {{#time: F Y}}), in a more interactive way.
    <script src="/w/en/resources/lib/oojs/oojs.jquery.js"></script>
 
    <script src="/w/en/resources/lib/ooui/oojs-ui-core.js"></script>
 
    <script src="/w/en/resources/lib/ooui/oojs-ui-wikimediaui.js"></script>
 
 
 
<div id="form_container" style="max-width:500px;background:#f7f7f7;border:0px solid #ccc;box-shadow: #ccc 2px 2px 4px 4px" class="mw-htmlform-ooui-wrapper oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-padded oo-ui-panelLayout-framed"></div>
 
  
 +
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
Announcement type + of type Text (0 uses)
+
internships, scholarships, EVS/ESC voluntary projects and
Announcement title + of type Text (0 uses)
+
other opportunities.
Announcement provider + of type Text (0 uses)
+
It can be used by any authorized person of a center of
Announcement target country + of type Text (0 uses)
+
Italian language and culture and the opportunity produced
 
+
will be published both [[Calls_and_scholarships|on this page]]
Announcement funding exact + of type Number (0 uses)  
+
and on the [https://culturaitaliana.org/ front-end part of this project] (in construction at March 2020), in more interactive and modern way.
Announcement funding info + of type Text (0 uses)  
+
The authors of the content will be mentioned at the end of the opportunity
Announcement funding max + of type Number (0 uses)
+
(as well as affiliated to a given organization) so that they can get
Announcement funding min + of type Number (0 uses)  
+
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
Announcement description + of type Text (0 uses)  
+
creation of semantic data (in order to ensure interoperability among
 
+
systems accessing such data) while, once the page/item is created,
Announcement requisites + of type Text (0 uses)  
+
the page is completely editable (as a wiki) and can be completed
 
+
with any relevant information: and of course it can exported to
Announcement url official + of type URL (0 uses)
+
third-party systems as well.
Announcement deadline + of type Date (0 uses)
 
 
-->
 
-->
  
  
<script>
+
{{CI notice box |
var data = ['', 'Scholarship','Internship','European voluntary service (EVS/ESC)','Other']
+
{{#ifeq: {{PAGENAME}} | FormEdit/Opportunity |
var options = []
+
The form will be created in the path
for(var i in data) { options.push({data: data[i],label: data[i]}) }
+
{{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]].
 +
}}
 +
}}
  
var announcement_type = new OO.ui.DropdownInputWidget( {
 
options: options,
 
value: ''
 
} )
 
  
// Create form elements (two text inputs and the button input, in this example).
+
<html>
var announcement_title = new OO.ui.TextInputWidget( {
 
value: ''})
 
  
var announcement_provider = new OO.ui.TextInputWidget( {
+
<div class="ci_form_container">
value: ''
 
})
 
  
 +
<! ***attention! this will be stripped by PageForm
 +
but nonetheless without it will not work !
 +
-->
 +
<form class= method="post" >
  
var announcement_description = new OO.ui.MultilineTextInputWidget( {
+
<div class="ci_form">
autosize: true,
 
value: ''
 
} )
 
  
 +
<!--
  
var data = {'':'', 'AF' : 'Afghanistan','AL' : 'Albania','DZ' : 'Algeria','AS' : 'American Samoa','AD' : 'Andorra','AO' : 'Angola','AI' : 'Anguilla','AG' : 'Antigua and Barbuda','AR' : 'Argentina','AM' : 'Armenia','AW' : 'Aruba','AU' : 'Australia','AT' : 'Austria','AZ' : 'Azerbaijan','BS' : 'Bahamas','BH' : 'Bahrain','BD' : 'Bangladesh','BB' : 'Barbados','BY' : 'Belarus','BE' : 'Belgium','BZ' : 'Belize','BJ' : 'Benin','BM' : 'Bermuda','BT' : 'Bhutan','BO' : 'Bolivia','BA' : 'Bosnia and Herzegovina','BK' : 'Bosnia and Herzegovina (Bosnia-Herzegovina)','BW' : 'Botswana','BR' : 'Brazil','BN' : 'Brunei','BG' : 'Bulgaria','BF' : 'Burkina Faso','BI' : 'Burundi','KH' : 'Cambodia','CM' : 'Cameroon','CA' : 'Canada','CV' : 'Cape Verde','KY' : 'Cayman Islands','CF' : 'Central African Republic','TD' : 'Chad','CL' : 'Chile','CO' : 'Colombia','KM' : 'Comoros','CG' : 'Congo','CK' : 'Cook Islands','CR' : 'Costa Rica','ISO' : 'Country','HR' : 'Croatia','CU' : 'Cuba','CY' : 'Cyprus','CZ' : 'Czech Republic','CD' : 'Democratic Republic of Congo','DK' : 'Denmark','DJ' : 'Djibouti','DM' : 'Dominica','DO' : 'Dominican Republic','TL' : 'East Timor','EC' : 'Ecuador','EG' : 'Egypt','SV' : 'El Salvador','GQ' : 'Equatorial Guinea','ER' : 'Eritrea','EE' : 'Estonia','ET' : 'Ethiopia','FK' : 'Falkland Islands','FO' : 'Faroe Islands','FJ' : 'Fiji','FI' : 'Finland','FR' : 'France','GF' : 'French Guiana','PF' : 'French Polynesia','GA' : 'Gabon','GM' : 'Gambia','GE' : 'Georgia','DE' : 'Germany','GH' : 'Ghana','GI' : 'Gibraltar','GR' : 'Greece','GL' : 'Greenland','GD' : 'Grenada','GP' : 'Guadeloupe','GU' : 'Guam','GT' : 'Guatemala','GG' : 'Guernsey','GN' : 'Guinea','GW' : 'Guinea-Bissau','GY' : 'Guyana','HT' : 'Haiti','HN' : 'Honduras','HK' : 'Hong Kong','HU' : 'Hungary','IS' : 'Iceland','IN' : 'India','ID' : 'Indonesia','IR' : 'Iran','IQ' : 'Iraq','IE' : 'Ireland','IL' : 'Israel','IT' : 'Italy','CI' : 'Ivory Coast','JM' : 'Jamaica','JP' : 'Japan','JE' : 'Jersey','JO' : 'Jordan','KZ' : 'Kazakhstan','KE' : 'Kenya','KI' : 'Kiribati','XK' : 'Kosovo','KW' : 'Kuwait','KG' : 'Kyrgyzstan','LA' : 'Laos','LV' : 'Latvia','LB' : 'Lebanon','LS' : 'Lesotho','LR' : 'Liberia','LY' : 'Libya','LI' : 'Liechtenstein','LT' : 'Lithuania','LU' : 'Luxembourg','MO' : 'Macau','MG' : 'Madagascar','MW' : 'Malawi','MY' : 'Malaysia','MV' : 'Maldives','ML' : 'Mali','MT' : 'Malta','MH' : 'Marshall Islands','MQ' : 'Martinique','MR' : 'Mauritania','MU' : 'Mauritius','MX' : 'Mexico','FM' : 'Micronesia','MD' : 'Moldova','MC' : 'Monaco','MN' : 'Mongolia','ME' : 'Montenegro','MS' : 'Montserrat','MA' : 'Morocco','MZ' : 'Mozambique','MM' : 'Myanmar','NA' : 'Namibia','NR' : 'Nauru','NP' : 'Nepal','NL' : 'Netherlands','AN' : 'Netherlands Antilles','NC' : 'New Caledonia','NZ' : 'New Zealand','NI' : 'Nicaragua','NE' : 'Niger','NG' : 'Nigeria','NU' : 'Niue','NF' : 'Norfolk Island','KP' : 'North Korea','NO' : 'Norway','OM' : 'Oman','PK' : 'Pakistan','PW' : 'Palau','PS' : 'Palestinian Authority','PA' : 'Panama','PG' : 'Papua New Guinea','PY' : 'Paraguay','CN' : 'People\'s Republic of China','PE' : 'Peru','PH' : 'Philippines','PL' : 'Poland','PT' : 'Portugal','PR' : 'Puerto Rico','QA' : 'Qatar','MK' : 'Republic of Macedonia','RE' : 'Reunion/Mayotte','RO' : 'Romania','RU' : 'Russia (Russian Federation)','RW' : 'Rwanda','WS' : 'Samoa','SM' : 'San Marino','SA' : 'Saudi Arabia','SN' : 'Senegal','RS' : 'Serbia','SC' : 'Seychelles','SL' : 'Sierra Leone','SG' : 'Singapore','SK' : 'Slovakia (Slovak Republic)','SI' : 'Slovenia','SB' : 'Solomon Islands','SO' : 'Somalia','ZA' : 'South Africa','KR' : 'South Korea','SS' : 'South Sudan','ES' : 'Spain','LK' : 'Sri Lanka','KN' : 'St Kitts and Nevis','LC' : 'St Lucia','PM' : 'St Pierre and Miquelon','VC' : 'St Vincent Grenadines','SD' : 'Sudan','SR' : 'Suriname','SZ' : 'Swaziland','SE' : 'Sweden','CH' : 'Switzerland','SY' : 'Syria','ST' : 'São Tomé and Príncipe','TW' : 'Taiwan','TJ' : 'Tajikistan','TZ' : 'Tanzania','TH' : 'Thailand','TG' : 'Togo','TO' : 'Tonga','TT' : 'Trinidad and Tobago','TN' : 'Tunisia','TR' : 'Turkey','TM' : 'Turkmenistan','TC' : 'Turks and Caicos Islands','TV' : 'Tuvalu','UG' : 'Uganda','UA' : 'Ukraine','AE' : 'United Arab Emirates','GB' : 'United Kingdom','US' : 'United States (USA)','UY' : 'Uruguay','UZ' : 'Uzbekistan','VU' : 'Vanuatu','VE' : 'Venezuela','VN' : 'Vietnam','YE' : 'Yemen','ZM' : 'Zambia','ZW' : 'Zimbabwe'}
+
opportunity_type
var options = []
+
opportunity_title
for(var i in data) { options.push({data: data[i],label: data[i]}) }
+
opportunity_provider
 +
opportunity_description
 +
opportunity_target_country
 +
opportunity_funding_information
 +
opportunity_requisites
 +
opportunity_url
 +
opportunity_deadline
  
var announcement_target_country = new OO.ui.DropdownInputWidget( {
+
-->
options: options,
 
value: ''
 
} )
 
 
 
 
 
 
 
// https://github.com/payscale/country-currency-map/blob/master/src/currencyMap.js
 
 
 
var country_currency_map = {
 
'Afghanistan': {
 
    'abbreviation': 'AF',
 
    'currency': 'USD'
 
  },
 
  'Albania': {
 
    'abbreviation': 'AL',
 
    'currency': 'USD'
 
  },
 
  'Algeria': {
 
    'abbreviation': 'DZ',
 
    'currency': 'DZD'
 
  },
 
  'American Samoa': {
 
    'abbreviation': 'AS',
 
    'currency': 'USD'
 
  },
 
  'Andorra': {
 
    'abbreviation': 'AD',
 
    'currency': 'EUR'
 
  },
 
  'Angola': {
 
    'abbreviation': 'AO',
 
    'currency': 'USD'
 
  },
 
  'Anguilla': {
 
    'abbreviation': 'AI',
 
    'currency': 'USD'
 
  },
 
  'Antarctica': {
 
    'abbreviation': 'AQ',
 
    'currency': 'USD'
 
  },
 
  'Antigua And Barbuda': {
 
    'abbreviation': 'AG',
 
    'currency': 'XCD'
 
  },
 
  'Argentina': {
 
    'abbreviation': 'AR',
 
    'currency': 'ARS'
 
  },
 
  'Armenia': {
 
    'abbreviation': 'AM',
 
    'currency': 'AMD'
 
  },
 
  'Aruba': {
 
    'abbreviation': 'AW',
 
    'currency': 'AWG'
 
  },
 
  'Ascension Island': {
 
    'abbreviation': 'AC',
 
    'currency': 'USD'
 
  },
 
  'Australia': {
 
    'abbreviation': 'AU',
 
    'currency': 'AUD'
 
  },
 
  'Austria': {
 
    'abbreviation': 'AT',
 
    'currency': 'EUR'
 
  },
 
  'Azerbaijan': {
 
    'abbreviation': 'AZ',
 
    'currency': 'USD'
 
  },
 
  'Bahamas': {
 
    'abbreviation': 'BS',
 
    'currency': 'USD'
 
  },
 
  'Bahrain': {
 
    'abbreviation': 'BH',
 
    'currency': 'BHD'
 
  },
 
  'Bangladesh': {
 
    'abbreviation': 'BD',
 
    'currency': 'BDT'
 
  },
 
  'Barbados': {
 
    'abbreviation': 'BB',
 
    'currency': 'BBD'
 
  },
 
  'Belarus': {
 
    'abbreviation': 'BY',
 
    'currency': 'USD'
 
  },
 
  'Belgium': {
 
    'abbreviation': 'BE',
 
    'currency': 'EUR'
 
  },
 
  'Belize': {
 
    'abbreviation': 'BZ',
 
    'currency': 'BZD'
 
  },
 
  'Benin': {
 
    'abbreviation': 'BJ',
 
    'currency': 'USD'
 
  },
 
  'Bermuda': {
 
    'abbreviation': 'BM',
 
    'currency': 'USD'
 
  },
 
  'Bhutan': {
 
    'abbreviation': 'BT',
 
    'currency': 'BTN'
 
  },
 
  'Bolivia': {
 
    'abbreviation': 'BO',
 
    'currency': 'USD'
 
  },
 
  'Bosnia And Herzegowina': {
 
    'abbreviation': 'BA',
 
    'currency': 'USD'
 
  },
 
  'Botswana': {
 
    'abbreviation': 'BW',
 
    'currency': 'BWP'
 
  },
 
  'Bouvet Island': {
 
    'abbreviation': 'BV',
 
    'currency': 'USD'
 
  },
 
  'Brazil': {
 
    'abbreviation': 'BR',
 
    'currency': 'BRL'
 
  },
 
  'British Indian Ocean Territory': {
 
    'abbreviation': 'IO',
 
    'currency': 'USD'
 
  },
 
  'Brunei Darussalam': {
 
    'abbreviation': 'BN',
 
    'currency': 'BND'
 
  },
 
  'Bulgaria': {
 
    'abbreviation': 'BG',
 
    'currency': 'BGN'
 
  },
 
  'Burkina Faso': {
 
    'abbreviation': 'BF',
 
    'currency': 'USD'
 
  },
 
  'Burundi': {
 
    'abbreviation': 'BI',
 
    'currency': 'USD'
 
  },
 
  'Cambodia': {
 
    'abbreviation': 'KH',
 
    'currency': 'USD'
 
  },
 
  'Cameroon': {
 
    'abbreviation': 'CM',
 
    'currency': 'XAF'
 
  },
 
  'Canada': {
 
    'abbreviation': 'CA',
 
    'currency': 'CAD'
 
  },
 
  'Cape Verde': {
 
    'abbreviation': 'CV',
 
    'currency': 'USD'
 
  },
 
  'Cayman Islands': {
 
    'abbreviation': 'KY',
 
    'currency': 'USD'
 
  },
 
  'Central African Republic': {
 
    'abbreviation': 'CF',
 
    'currency': 'USD'
 
  },
 
  'Chad': {
 
    'abbreviation': 'TD',
 
    'currency': 'USD'
 
  },
 
  'Chile': {
 
    'abbreviation': 'CL',
 
    'currency': 'USD'
 
  },
 
  'China': {
 
    'abbreviation': 'CN',
 
    'currency': 'CNY'
 
  },
 
  'Christmas Island': {
 
    'abbreviation': 'CX',
 
    'currency': 'USD'
 
  },
 
  'Cocos (Keeling) Islands': {
 
    'abbreviation': 'CC',
 
    'currency': 'USD'
 
  },
 
  'Colombia': {
 
    'abbreviation': 'CO',
 
    'currency': 'COP'
 
  },
 
  'Comoros': {
 
    'abbreviation': 'KM',
 
    'currency': 'USD'
 
  },
 
  'Congo': {
 
    'abbreviation': 'CG',
 
    'currency': 'USD'
 
  },
 
  "Congo, Democratic People's Republic": {
 
    'abbreviation': 'CD',
 
    'currency': 'USD'
 
  },
 
  'Cook Islands': {
 
    'abbreviation': 'CK',
 
    'currency': 'NZD'
 
  },
 
  'Costa Rica': {
 
    'abbreviation': 'CR',
 
    'currency': 'CRC'
 
  },
 
  "Cote d'Ivoire": {
 
    'abbreviation': 'CI',
 
    'currency': 'XOF'
 
  },
 
  'Croatia (local name: Hrvatska)': {
 
    'abbreviation': 'HR',
 
    'currency': 'HRK'
 
  },
 
  'Cuba': {
 
    'abbreviation': 'CU',
 
    'currency': 'USD'
 
  },
 
  'Cyprus': {
 
    'abbreviation': 'CY',
 
    'currency': 'EUR'
 
  },
 
  'Czech Republic': {
 
    'abbreviation': 'CZ',
 
    'currency': 'CZK'
 
  },
 
  'Denmark': {
 
    'abbreviation': 'DK',
 
    'currency': 'DKK'
 
  },
 
  'Djibouti': {
 
    'abbreviation': 'DJ',
 
    'currency': 'USD'
 
  },
 
  'Dominica': {
 
    'abbreviation': 'DM',
 
    'currency': 'XCD'
 
  },
 
  'Dominican Republic': {
 
    'abbreviation': 'DO',
 
    'currency': 'DOP'
 
  },
 
  'East Timor': {
 
    'abbreviation': 'TP',
 
    'currency': 'USD'
 
  },
 
  'Ecuador': {
 
    'abbreviation': 'EC',
 
    'currency': 'USD'
 
  },
 
  'Egypt': {
 
    'abbreviation': 'EG',
 
    'currency': 'EGP'
 
  },
 
  'El Salvador': {
 
    'abbreviation': 'SV',
 
    'currency': 'USD'
 
  },
 
  'Equatorial Guinea': {
 
    'abbreviation': 'GQ',
 
    'currency': 'USD'
 
  },
 
  'Eritrea': {
 
    'abbreviation': 'ER',
 
    'currency': 'ERN'
 
  },
 
  'Estonia': {
 
    'abbreviation': 'EE',
 
    'currency': 'EUR'
 
  },
 
  'Ethiopia': {
 
    'abbreviation': 'ET',
 
    'currency': 'ETB'
 
  },
 
  'Falkland Islands (Malvinas)': {
 
    'abbreviation': 'FK',
 
    'currency': 'FKP'
 
  },
 
  'Faroe Islands': {
 
    'abbreviation': 'FO',
 
    'currency': 'DKK'
 
  },
 
  'Fiji': {
 
    'abbreviation': 'FJ',
 
    'currency': 'FJD'
 
  },
 
  'Finland': {
 
    'abbreviation': 'FI',
 
    'currency': 'EUR'
 
  },
 
  'France': {
 
    'abbreviation': 'FR',
 
    'currency': 'EUR'
 
  },
 
  'French Guiana': {
 
    'abbreviation': 'GF',
 
    'currency': 'EUR'
 
  },
 
  'French Polynesia': {
 
    'abbreviation': 'PF',
 
    'currency': 'USD'
 
  },
 
  'French Southern Territories': {
 
    'abbreviation': 'TF',
 
    'currency': 'EUR'
 
  },
 
  'Gabon': {
 
    'abbreviation': 'GA',
 
    'currency': 'USD'
 
  },
 
  'Gambia': {
 
    'abbreviation': 'GM',
 
    'currency': 'GMD'
 
  },
 
  'Georgia (Sakartvelo)': {
 
    'abbreviation': 'GE',
 
    'currency': 'USD'
 
  },
 
  'Germany': {
 
    'abbreviation': 'DE',
 
    'currency': 'EUR'
 
  },
 
  'Ghana': {
 
    'abbreviation': 'GH',
 
    'currency': 'GHC'
 
  },
 
  'Gibraltar': {
 
    'abbreviation': 'GI',
 
    'currency': 'GBP'
 
  },
 
  'Greece': {
 
    'abbreviation': 'GR',
 
    'currency': 'EUR'
 
  },
 
  'Greenland': {
 
    'abbreviation': 'GL',
 
    'currency': 'DKK'
 
  },
 
  'Grenada': {
 
    'abbreviation': 'GD',
 
    'currency': 'XCD'
 
  },
 
  'Guadeloupe': {
 
    'abbreviation': 'GP',
 
    'currency': 'USD'
 
  },
 
  'Guam': {
 
    'abbreviation': 'GU',
 
    'currency': 'USD'
 
  },
 
  'Guatemala': {
 
    'abbreviation': 'GT',
 
    'currency': 'GTQ'
 
  },
 
  'Guernsey': {
 
    'abbreviation': 'GG',
 
    'currency': 'GBP'
 
  },
 
  'Guinea': {
 
    'abbreviation': 'GN',
 
    'currency': 'USD'
 
  },
 
  'Guinea-Bissau': {
 
    'abbreviation': 'GW',
 
    'currency': 'USD'
 
  },
 
  'Guyana': {
 
    'abbreviation': 'GY',
 
    'currency': 'GYD'
 
  },
 
  'Haiti': {
 
    'abbreviation': 'HT',
 
    'currency': 'USD'
 
  },
 
  'Heard And Mc Donald Islands': {
 
    'abbreviation': 'HM',
 
    'currency': 'USD'
 
  },
 
  'Honduras': {
 
    'abbreviation': 'HN',
 
    'currency': 'HNL'
 
  },
 
  'Hong Kong': {
 
    'abbreviation': 'HK',
 
    'currency': 'HKD'
 
  },
 
  'Hungary': {
 
    'abbreviation': 'HU',
 
    'currency': 'HUF'
 
  },
 
  'Iceland': {
 
    'abbreviation': 'IS',
 
    'currency': 'ISK'
 
  },
 
  'India': {
 
    'abbreviation': 'IN',
 
    'currency': 'INR'
 
  },
 
  'Indonesia': {
 
    'abbreviation': 'ID',
 
    'currency': 'IDR'
 
  },
 
  'Iran (Islamic Republic Of)': {
 
    'abbreviation': 'IR',
 
    'currency': 'IRR'
 
  },
 
  'Iraq': {
 
    'abbreviation': 'IQ',
 
    'currency': 'USD'
 
  },
 
  'Ireland': {
 
    'abbreviation': 'IE',
 
    'currency': 'EUR'
 
  },
 
  'Isle of Man': {
 
    'abbreviation': 'IM',
 
    'currency': 'GBP'
 
  },
 
  'Israel': {
 
    'abbreviation': 'IL',
 
    'currency': 'ILS'
 
  },
 
  'Italy': {
 
    'abbreviation': 'IT',
 
    'currency': 'EUR'
 
  },
 
  'Jamaica': {
 
    'abbreviation': 'JM',
 
    'currency': 'JMD'
 
  },
 
  'Japan': {
 
    'abbreviation': 'JP',
 
    'currency': 'JPY'
 
  },
 
  'Jersey (Island)': {
 
    'abbreviation': 'JE',
 
    'currency': 'GBP'
 
  },
 
  'Jordan': {
 
    'abbreviation': 'JO',
 
    'currency': 'JOD'
 
  },
 
  'Kazakhstan': {
 
    'abbreviation': 'KZ',
 
    'currency': 'USD'
 
  },
 
  'Kenya': {
 
    'abbreviation': 'KE',
 
    'currency': 'KES'
 
  },
 
  'Kiribati': {
 
    'abbreviation': 'KI',
 
    'currency': 'USD'
 
  },
 
  "Korea, Democratic People's Republic Of": {
 
    'abbreviation': 'KP',
 
    'currency': 'USD'
 
  },
 
  'Korea, Republic Of': {
 
    'abbreviation': 'KR',
 
    'currency': 'USD'
 
  },
 
  'Kuwait': {
 
    'abbreviation': 'KW',
 
    'currency': 'KWD'
 
  },
 
  'Kyrgyzstan': {
 
    'abbreviation': 'KG',
 
    'currency': 'USD'
 
  },
 
  "Lao People's Democratic Republic": {
 
    'abbreviation': 'LA',
 
    'currency': 'USD'
 
  },
 
  'Latvia': {
 
    'abbreviation': 'LV',
 
    'currency': 'USD'
 
  },
 
  'Lebanon': {
 
    'abbreviation': 'LB',
 
    'currency': 'LBP'
 
  },
 
  'Lesotho': {
 
    'abbreviation': 'LS',
 
    'currency': 'ZAR'
 
  },
 
  'Liberia': {
 
    'abbreviation': 'LR',
 
    'currency': 'USD'
 
  },
 
  'Libyan Arab Jamahiriya': {
 
    'abbreviation': 'LY',
 
    'currency': 'USD'
 
  },
 
  'Liechtenstein': {
 
    'abbreviation': 'LI',
 
    'currency': 'CHF'
 
  },
 
  'Lithuania': {
 
    'abbreviation': 'LT',
 
    'currency': 'USD'
 
  },
 
  'Luxembourg': {
 
    'abbreviation': 'LU',
 
    'currency': 'EUR'
 
  },
 
  'Macau': {
 
    'abbreviation': 'MO',
 
    'currency': 'MOP'
 
  },
 
  'Macedonia, The Former Yugoslav Republic Of': {
 
    'abbreviation': 'MK',
 
    'currency': 'MKD'
 
  },
 
  'Madagascar': {
 
    'abbreviation': 'MG',
 
    'currency': 'USD'
 
  },
 
  'Malawi': {
 
    'abbreviation': 'MW',
 
    'currency': 'MWK'
 
  },
 
  'Malaysia': {
 
    'abbreviation': 'MY',
 
    'currency': 'MYR'
 
  },
 
  'Maldives': {
 
    'abbreviation': 'MV',
 
    'currency': 'USD'
 
  },
 
  'Mali': {
 
    'abbreviation': 'ML',
 
    'currency': 'USD'
 
  },
 
  'Malta': {
 
    'abbreviation': 'MT',
 
    'currency': 'EUR'
 
  },
 
  'Marshall Islands': {
 
    'abbreviation': 'MH',
 
    'currency': 'USD'
 
  },
 
  'Martinique': {
 
    'abbreviation': 'MQ',
 
    'currency': 'EUR'
 
  },
 
  'Mauritania': {
 
    'abbreviation': 'MR',
 
    'currency': 'USD'
 
  },
 
  'Mauritius': {
 
    'abbreviation': 'MU',
 
    'currency': 'MUR'
 
  },
 
  'Mayotte': {
 
    'abbreviation': 'YT',
 
    'currency': 'EUR'
 
  },
 
  'Mexico': {
 
    'abbreviation': 'MX',
 
    'currency': 'MXN'
 
  },
 
  'Micronesia, Federated States Of': {
 
    'abbreviation': 'FM',
 
    'currency': 'USD'
 
  },
 
  'Moldova, Republic Of': {
 
    'abbreviation': 'MD',
 
    'currency': 'USD'
 
  },
 
  'Monaco': {
 
    'abbreviation': 'MC',
 
    'currency': 'EUR'
 
  },
 
  'Mongolia': {
 
    'abbreviation': 'MN',
 
    'currency': 'USD'
 
  },
 
  'Montserrat': {
 
    'abbreviation': 'MS',
 
    'currency': 'XCD'
 
  },
 
  'Morocco': {
 
    'abbreviation': 'MA',
 
    'currency': 'MAD'
 
  },
 
  'Mozambique': {
 
    'abbreviation': 'MZ',
 
    'currency': 'USD'
 
  },
 
  'Myanmar': {
 
    'abbreviation': 'MM',
 
    'currency': 'USD'
 
  },
 
  'Namibia': {
 
    'abbreviation': 'NA',
 
    'currency': 'NAD'
 
  },
 
  'Nauru': {
 
    'abbreviation': 'NR',
 
    'currency': 'AUD'
 
  },
 
  'Nepal': {
 
    'abbreviation': 'NP',
 
    'currency': 'NPR'
 
  },
 
  'Netherlands': {
 
    'abbreviation': 'NL',
 
    'currency': 'EUR'
 
  },
 
  'Netherlands Antilles': {
 
    'abbreviation': 'AN',
 
    'currency': 'ANG'
 
  },
 
  'New Caledonia': {
 
    'abbreviation': 'NC',
 
    'currency': 'USD'
 
  },
 
  'New Zealand': {
 
    'abbreviation': 'NZ',
 
    'currency': 'NZD'
 
  },
 
  'Nicaragua': {
 
    'abbreviation': 'NI',
 
    'currency': 'NIO'
 
  },
 
  'Niger': {
 
    'abbreviation': 'NE',
 
    'currency': 'USD'
 
  },
 
  'Nigeria': {
 
    'abbreviation': 'NG',
 
    'currency': 'NGN'
 
  },
 
  'Niue': {
 
    'abbreviation': 'NU',
 
    'currency': 'NZD'
 
  },
 
  'Norfolk Island': {
 
    'abbreviation': 'NF',
 
    'currency': 'AUD'
 
  },
 
  'Northern Mariana Islands': {
 
    'abbreviation': 'MP',
 
    'currency': 'USD'
 
  },
 
  'Norway': {
 
    'abbreviation': 'NO',
 
    'currency': 'NOK'
 
  },
 
  'Oman': {
 
    'abbreviation': 'OM',
 
    'currency': 'OMR'
 
  },
 
  'Pakistan': {
 
    'abbreviation': 'PK',
 
    'currency': 'PKR'
 
  },
 
  'Palau': {
 
    'abbreviation': 'PW',
 
    'currency': 'USD'
 
  },
 
  'Palestinian Territories': {
 
    'abbreviation': 'PS',
 
    'currency': 'USD'
 
  },
 
  'Panama': {
 
    'abbreviation': 'PA',
 
    'currency': 'PAB'
 
  },
 
  'Papua New Guinea': {
 
    'abbreviation': 'PG',
 
    'currency': 'PGK'
 
  },
 
  'Paraguay': {
 
    'abbreviation': 'PY',
 
    'currency': 'PYG'
 
  },
 
  'Peru': {
 
    'abbreviation': 'PE',
 
    'currency': 'USD'
 
  },
 
  'Philippines': {
 
    'abbreviation': 'PH',
 
    'currency': 'PHP'
 
  },
 
  'Pitcairn': {
 
    'abbreviation': 'PN',
 
    'currency': 'USD'
 
  },
 
  'Poland': {
 
    'abbreviation': 'PL',
 
    'currency': 'PLN'
 
  },
 
  'Portugal': {
 
    'abbreviation': 'PT',
 
    'currency': 'EUR'
 
  },
 
  'Puerto Rico': {
 
    'abbreviation': 'PR',
 
    'currency': 'USD'
 
  },
 
  'Qatar': {
 
    'abbreviation': 'QA',
 
    'currency': 'QAR'
 
  },
 
  'Reunion': {
 
    'abbreviation': 'RE',
 
    'currency': 'USD'
 
  },
 
  'Romania': {
 
    'abbreviation': 'RO',
 
    'currency': 'USD'
 
  },
 
  'Russia': {
 
    'abbreviation': 'RU',
 
    'currency': 'RUB'
 
  },
 
  'Rwanda': {
 
    'abbreviation': 'RW',
 
    'currency': 'USD'
 
  },
 
  'Saint Kitts And Nevis': {
 
    'abbreviation': 'KN',
 
    'currency': 'XCD'
 
  },
 
  'Saint Lucia': {
 
    'abbreviation': 'LC',
 
    'currency': 'XCD'
 
  },
 
  'Saint Vincent And The Grenadines': {
 
    'abbreviation': 'VC',
 
    'currency': 'XCD'
 
  },
 
  'Samoa': {
 
    'abbreviation': 'WS',
 
    'currency': 'WST'
 
  },
 
  'San Marino': {
 
    'abbreviation': 'SM',
 
    'currency': 'EUR'
 
  },
 
  'Sao Tome And Principe': {
 
    'abbreviation': 'ST',
 
    'currency': 'USD'
 
  },
 
  'Saudi Arabia': {
 
    'abbreviation': 'SA',
 
    'currency': 'SAR'
 
  },
 
  'Senegal': {
 
    'abbreviation': 'SN',
 
    'currency': 'USD'
 
  },
 
  'Serbia and Montenegro': {
 
    'abbreviation': 'CS',
 
    'currency': 'EUR'
 
  },
 
  'Seychelles': {
 
    'abbreviation': 'SC',
 
    'currency': 'USD'
 
  },
 
  'Sierra Leone': {
 
    'abbreviation': 'SL',
 
    'currency': 'USD'
 
  },
 
  'Singapore': {
 
    'abbreviation': 'SG',
 
    'currency': 'SGD'
 
  },
 
  'Slovakia (Slovak Republic)': {
 
    'abbreviation': 'SK',
 
    'currency': 'USD'
 
  },
 
  'Slovenia': {
 
    'abbreviation': 'SI',
 
    'currency': 'EUR'
 
  },
 
  'Solomon Islands': {
 
    'abbreviation': 'SB',
 
    'currency': 'SBD'
 
  },
 
  'Somalia': {
 
    'abbreviation': 'SO',
 
    'currency': 'USD'
 
  },
 
  'South Africa': {
 
    'abbreviation': 'ZA',
 
    'currency': 'ZAR'
 
  },
 
  'South Georgia And The South Sandwich Islands': {
 
    'abbreviation': 'GS',
 
    'currency': 'USD'
 
  },
 
  'Spain': {
 
    'abbreviation': 'ES',
 
    'currency': 'EUR'
 
  },
 
  'Sri Lanka': {
 
    'abbreviation': 'LK',
 
    'currency': 'LKR'
 
  },
 
  'St. Helena': {
 
    'abbreviation': 'SH',
 
    'currency': 'USD'
 
  },
 
  'St. Pierre And Miquelon': {
 
    'abbreviation': 'PM',
 
    'currency': 'USD'
 
  },
 
  'Sudan': {
 
    'abbreviation': 'SD',
 
    'currency': 'USD'
 
  },
 
  'Suriname': {
 
    'abbreviation': 'SR',
 
    'currency': 'USD'
 
  },
 
  'Svalbard And Jan Mayen Islands': {
 
    'abbreviation': 'SJ',
 
    'currency': 'USD'
 
  },
 
  'Swaziland': {
 
    'abbreviation': 'SZ',
 
    'currency': 'SZL'
 
  },
 
  'Sweden': {
 
    'abbreviation': 'SE',
 
    'currency': 'SEK'
 
  },
 
  'Switzerland': {
 
    'abbreviation': 'CH',
 
    'currency': 'CHF'
 
  },
 
  'Syrian Arab Republic': {
 
    'abbreviation': 'SY',
 
    'currency': 'SYP'
 
  },
 
  'Taiwan': {
 
    'abbreviation': 'TW',
 
    'currency': 'TWD'
 
  },
 
  'Tajikistan': {
 
    'abbreviation': 'TJ',
 
    'currency': 'USD'
 
  },
 
  'Tanzania, United Republic Of': {
 
    'abbreviation': 'TZ',
 
    'currency': 'TZS'
 
  },
 
  'Thailand': {
 
    'abbreviation': 'TH',
 
    'currency': 'THB'
 
  },
 
  'Togo': {
 
    'abbreviation': 'TG',
 
    'currency': 'USD'
 
  },
 
  'Tokelau': {
 
    'abbreviation': 'TK',
 
    'currency': 'USD'
 
  },
 
  'Tonga': {
 
    'abbreviation': 'TO',
 
    'currency': 'TOP'
 
  },
 
  'Trinidad And Tobago': {
 
    'abbreviation': 'TT',
 
    'currency': 'TTD'
 
  },
 
  'Tunisia': {
 
    'abbreviation': 'TN',
 
    'currency': 'TND'
 
  },
 
  'Turkey': {
 
    'abbreviation': 'TR',
 
    'currency': 'USD'
 
  },
 
  'Turkmenistan': {
 
    'abbreviation': 'TM',
 
    'currency': 'USD'
 
  },
 
  'Turks And Caicos Islands': {
 
    'abbreviation': 'TC',
 
    'currency': 'USD'
 
  },
 
  'Tuvalu': {
 
    'abbreviation': 'TV',
 
    'currency': 'USD'
 
  },
 
  'U.S. Minor Outlying Islands': {
 
    'abbreviation': 'UM',
 
    'currency': 'USD'
 
  },
 
  'Uganda': {
 
    'abbreviation': 'UG',
 
    'currency': 'UGX'
 
  },
 
  'Ukraine': {
 
    'abbreviation': 'UA',
 
    'currency': 'USD'
 
  },
 
  'United Arab Emirates': {
 
    'abbreviation': 'AE',
 
    'currency': 'AED'
 
  },
 
  'United Kingdom': {
 
    'abbreviation': 'UK',
 
    'currency': 'GBP'
 
  },
 
  'United States': {
 
    'abbreviation': 'US',
 
    'currency': 'USD'
 
  },
 
  'Uruguay': {
 
    'abbreviation': 'UY',
 
    'currency': 'USD'
 
  },
 
  'Uzbekistan': {
 
    'abbreviation': 'UZ',
 
    'currency': 'USD'
 
  },
 
  'Vanuatu': {
 
    'abbreviation': 'VU',
 
    'currency': 'VUV'
 
  },
 
  'Vatican City State (Holy See)': {
 
    'abbreviation': 'VA',
 
    'currency': 'USD'
 
  },
 
  'Venezuela': {
 
    'abbreviation': 'VE',
 
    'currency': 'VEB'
 
  },
 
  'Viet Nam': {
 
    'abbreviation': 'VN',
 
    'currency': 'USD'
 
  },
 
  'Virgin Islands (British)': {
 
    'abbreviation': 'VG',
 
    'currency': 'USD'
 
  },
 
  'Virgin Islands (U.S.)': {
 
    'abbreviation': 'VI',
 
    'currency': 'USD'
 
  },
 
  'Wallis And Futuna Islands': {
 
    'abbreviation': 'WF',
 
    'currency': 'USD'
 
  },
 
  'Western Sahara': {
 
    'abbreviation': 'EH',
 
    'currency': 'USD'
 
  },
 
  'Yemen': {
 
    'abbreviation': 'YE',
 
    'currency': 'USD'
 
  },
 
  'Zambia': {
 
    'abbreviation': 'ZM',
 
    'currency': 'USD'
 
  },
 
  'Zimbabwe': {
 
    'abbreviation': 'ZW',
 
    'currency': 'USD'
 
  }
 
};
 
 
 
 
 
var currency_country_map = {
 
  AFA: {
 
    name: 'Afghanistan Afghani (AFA)',
 
    symbolFormat: '{#} ؋'
 
  },
 
  ALL: {
 
    name: 'Albanian Lek (ALL)',
 
    symbolFormat: '{#} L'
 
  },
 
  DZD: {
 
    name: 'Algerian Dinar (DZD)',
 
    symbolFormat: '{#} DA'
 
  },
 
  AOA: {
 
    name: 'Angolan New Kwanza (AOA)',
 
    symbolFormat: '{#} Kz'
 
  },
 
  ARS: {
 
    name: 'Argentine Peso (ARS)',
 
    symbolFormat: '${#}'
 
  },
 
  AMD: {
 
    name: 'Armenian Dram (AMD)',
 
    symbolFormat: '{#}֏'
 
  },
 
  AWG: {
 
    name: 'Aruba Florin (AWG)',
 
    symbolFormat: 'Afl {#}'
 
  },
 
  AUD: {
 
    name: 'Australian Dollar (AUD)',
 
    symbolFormat: 'AU${#}'
 
  },
 
  AZM: {
 
    name: 'Azerbaijani Manat (AZM)',
 
    symbolFormat: '₼{#}'
 
  },
 
  BSD: {
 
    name: 'Bahamian Dollar (BSD)',
 
    symbolFormat: 'B${#}'
 
  },
 
  BHD: {
 
    name: 'Bahraini Dinar (BHD)',
 
    symbolFormat: '{#} BD'
 
  },
 
  BDT: {
 
    name: 'Bangladesh Taka (BDT)',
 
    symbolFormat: '৳{#}'
 
  },
 
  BBD: {
 
    name: 'Barbados Dollar (BBD)',
 
    symbolFormat: 'Bds${#}'
 
  },
 
  BYR: {
 
    name: 'Belarus Ruble (BYR)',
 
    symbolFormat: 'Br {#}'
 
  },
 
  BZD: {
 
    name: 'Belize Dollar (BZD)',
 
    symbolFormat: 'BZ${#}'
 
  },
 
  BMD: {
 
    name: 'Bermuda Dollar (BMD)',
 
    symbolFormat: '${#}'
 
  },
 
  BTN: {
 
    name: 'Bhutan Ngultrum (BTN)',
 
    symbolFormat: 'Nu.{#}'
 
  },
 
  BOB: {
 
    name: 'Bolivian Boliviano (BOB)',
 
    symbolFormat: 'Bs. {#}'
 
  },
 
  BAM: {
 
    name: 'Bosnian Marka (BAM)',
 
    symbolFormat: '{#} KM'
 
  },
 
  BWP: {
 
    name: 'Botswana Pula (BWP)',
 
    symbolFormat: 'P {#}'
 
  },
 
  BRL: {
 
    name: 'Brazilian Real (BRL)',
 
    symbolFormat: 'R${#}'
 
  },
 
  GBP: {
 
    name: 'British Pound (GBP)',
 
    symbolFormat: '&pound;{#}'
 
  },
 
  BND: {
 
    name: 'Brunei Dollar (BND)',
 
    symbolFormat: 'B${#}'
 
  },
 
  BGN: {
 
    name: 'Bulgarian Lev (BGN)',
 
    symbolFormat: 'BGN {#}'
 
  },
 
  BIF: {
 
    name: 'Burundi Franc (BIF)',
 
    symbolFormat: '{#} FBu'
 
  },
 
  KHR: {
 
    name: 'Cambodia Riel (KHR)',
 
    symbolFormat: 'KHR {#}'
 
  },
 
  CAD: {
 
    name: 'Canadian Dollar (CAD)',
 
    symbolFormat: 'C${#}'
 
  },
 
  CVE: {
 
    name: 'Cape Verde Escudo (CVE)',
 
    symbolFormat: '{#} CVE'
 
  },
 
  KYD: {
 
    name: 'Cayman Islands Dollar (KYD)',
 
    symbolFormat: 'CI${#}'
 
  },
 
  XOF: {
 
    name: 'CFA Franc (BCEAO) (XOF)',
 
    symbolFormat: 'XOF {#}'
 
  },
 
  XAF: {
 
    name: 'CFA Franc (BEAC) (XAF)',
 
    symbolFormat: 'XAF {#}'
 
  },
 
  CLP: {
 
    name: 'Chilean Peso (CLP)',
 
    symbolFormat: 'CLP${#}'
 
  },
 
  CNY: {
 
    name: 'Chinese Yuan (CNY)',
 
    symbolFormat: '¥{#}'
 
  },
 
  COP: {
 
    name: 'Colombian Peso (COP)',
 
    symbolFormat: 'COL${#}'
 
  },
 
  KMF: {
 
    name: 'Comoros Franc (KMF)',
 
    symbolFormat: 'CF {#}'
 
  },
 
  CDF: {
 
    name: 'Congolese Franc (CDF)',
 
    symbolFormat: 'FC {#}'
 
  },
 
  CRC: {
 
    name: 'Costa Rica Colon (CRC)',
 
    symbolFormat: '₡{#}'
 
  },
 
  HRK: {
 
    name: 'Croatian Kuna (HRK)',
 
    symbolFormat: '{#} kn'
 
  },
 
  CUP: {
 
    name: 'Cuban Peso (CUP)',
 
    symbolFormat: '${#}'
 
  },
 
  CZK: {
 
    name: 'Czech Koruna (CZK)',
 
    symbolFormat: '{#} Kč'
 
  },
 
  DKK: {
 
    name: 'Danish Krone (DKK)',
 
    symbolFormat: '{#} Kr.'
 
  },
 
  DJF: {
 
    name: 'Dijibouti Franc (DJF)',
 
    symbolFormat: '{#} Fdj'
 
  },
 
  DOP: {
 
    name: 'Dominican Peso (DOP)',
 
    symbolFormat: 'RD${#}'
 
  },
 
  XCD: {
 
    name: 'East Caribbean Dollar (XCD)',
 
    symbolFormat: '${#}'
 
  },
 
  EGP: {
 
    name: 'Egyptian Pound (EGP)',
 
    symbolFormat: 'E&pound; {#}'
 
  },
 
  SVC: {
 
    name: 'El Salvador Colon (SVC)',
 
    symbolFormat: '₡{#}'
 
  },
 
  ERN: {
 
    name: 'Eritrea Nakfa (ERN)',
 
    symbolFormat: '{#} Nkf'
 
  },
 
  ETB: {
 
    name: 'Ethiopian Birr (ETB)',
 
    symbolFormat: '{#} Br'
 
  },
 
  EUR: {
 
    name: 'Euro (EUR)',
 
    symbolFormat: '&euro;{#}'
 
  },
 
  FKP: {
 
    name: 'Falkland Islands Pound (FKP)',
 
    symbolFormat: 'FK&pound; {#}'
 
  },
 
  FJD: {
 
    name: 'Fiji Dollar (FJD)',
 
    symbolFormat: 'FJ${#}'
 
  },
 
  GMD: {
 
    name: 'Gambian Dalasi (GMD)',
 
    symbolFormat: 'GMD {#}'
 
  },
 
  GEL: {
 
    name: 'Georgian Lari (GEL)',
 
    symbolFormat: '₾{#}'
 
  },
 
  GHC: {
 
    name: 'Ghanian Cedi (GHC)',
 
    symbolFormat: 'GH₵ {#}'
 
  },
 
  GIP: {
 
    name: 'Gibraltar Pound (GIP)',
 
    symbolFormat: '&pound;{#}'
 
  },
 
  XAU: {
 
    name: 'Gold Ounces (XAU)',
 
    symbolFormat: 'XAU {#}'
 
  },
 
  GTQ: {
 
    name: 'Guatemala Quetzal (GTQ)',
 
    symbolFormat: '{#} Q'
 
  },
 
  GGP: {
 
    name: 'Guernsey Pound (GGP)',
 
    symbolFormat: '&pound;{#}'
 
  },
 
  GNF: {
 
    name: 'Guinea Franc (GNF)',
 
    symbolFormat: 'GNF {#}'
 
  },
 
  GYD: {
 
    name: 'Guyana Dollar (GYD)',
 
    symbolFormat: 'GY${#}'
 
  },
 
  HTG: {
 
    name: 'Haiti Gourde (HTG)',
 
    symbolFormat: 'HTG {#}'
 
  },
 
  HNL: {
 
    name: 'Honduras Lempira (HNL)',
 
    symbolFormat: 'HNL {#}'
 
  },
 
  HKD: {
 
    name: 'Hong Kong Dollar (HKD)',
 
    symbolFormat: 'HK${#}'
 
  },
 
  HUF: {
 
    name: 'Hungarian Forint (HUF)',
 
    symbolFormat: '{#} Ft'
 
  },
 
  ISK: {
 
    name: 'Iceland Krona (ISK)',
 
    symbolFormat: '{#} kr'
 
  },
 
  INR: {
 
    name: 'Indian Rupee (INR)',
 
    symbolFormat: '₹{#}'
 
  },
 
  IDR: {
 
    name: 'Indonesian Rupiah (IDR)',
 
    symbolFormat: 'Rp {#}'
 
  },
 
  IRR: {
 
    name: 'Iran Rial (IRR)',
 
    symbolFormat: 'IRR {#}'
 
  },
 
  IQD: {
 
    name: 'Iraqi Dinar (IQD)',
 
    symbolFormat: 'IQD {#}'
 
  },
 
  IMP: {
 
    name: 'Isle of Man Pound (IMP)',
 
    symbolFormat: '&pound;{#}'
 
  },
 
  ILS: {
 
    name: 'Israeli Shekel (ILS)',
 
    symbolFormat: '₪{#}'
 
  },
 
  JMD: {
 
    name: 'Jamaican Dollar (JMD)',
 
    symbolFormat: 'JA${#}'
 
  },
 
  JPY: {
 
    name: 'Japanese Yen (JPY)',
 
    symbolFormat: '&yen;{#}'
 
  },
 
  JEP: {
 
    name: 'Jersey Pound (JEP)',
 
    symbolFormat: '&pound;{#}'
 
  },
 
  JOD: {
 
    name: 'Jordanian Dinar (JOD)',
 
    symbolFormat: 'JOD {#}'
 
  },
 
  KZT: {
 
    name: 'Kazakhstan Tenge (KZT)',
 
    symbolFormat: '₸{#}'
 
  },
 
  KES: {
 
    name: 'Kenyan Shilling (KES)',
 
    symbolFormat: 'KSh {#}'
 
  },
 
  KRW: {
 
    name: 'Korean Won (KRW)',
 
    symbolFormat: '₩{#}'
 
  },
 
  KWD: {
 
    name: 'Kuwaiti Dinar (KWD)',
 
    symbolFormat: '{#} KD'
 
  },
 
  KGS: {
 
    name: 'Kyrgyzstan Som (KGS)',
 
    symbolFormat: 'KGS {#}'
 
  },
 
  LAK: {
 
    name: 'Lao Kip (LAK)',
 
    symbolFormat: '₭{#}'
 
  },
 
  LBP: {
 
    name: 'Lebanese Pound (LBP)',
 
    symbolFormat: 'LBP {#}'
 
  },
 
  LSL: {
 
    name: 'Lesotho Loti (LSL)',
 
    symbolFormat: 'LSL {#}'
 
  },
 
  LRD: {
 
    name: 'Liberian Dollar (LRD)',
 
    symbolFormat: 'L${#}'
 
  },
 
  LYD: {
 
    name: 'Libyan Dinar (LYD)',
 
    symbolFormat: '{#} LD'
 
  },
 
  MOP: {
 
    name: 'Macau Pataca (MOP)',
 
    symbolFormat: 'MOP${#}'
 
  },
 
  MKD: {
 
    name: 'Macedonian Denar (MKD)',
 
    symbolFormat: 'MKD {#}'
 
  },
 
  MGF: {
 
    name: 'Malagasy Franc (MGF)',
 
    symbolFormat: 'MGF {#}'
 
  },
 
  MWK: {
 
    name: 'Malawi Kwacha (MWK)',
 
    symbolFormat: 'MK {#}'
 
  },
 
  MYR: {
 
    name: 'Malaysian Ringgit (MYR)',
 
    symbolFormat: 'RM {#}'
 
  },
 
  MVR: {
 
    name: 'Maldives Rufiyaa (MVR)',
 
    symbolFormat: 'MVR {#}'
 
  },
 
  MRO: {
 
    name: 'Mauritania Ougulya (MRO)',
 
    symbolFormat: 'MRO {#}'
 
  },
 
  MUR: {
 
    name: 'Mauritius Rupee (MUR)',
 
    symbolFormat: 'Rs {#}'
 
  },
 
  MXN: {
 
    name: 'Mexican Peso (MXN)',
 
    symbolFormat: '${#}'
 
  },
 
  MDL: {
 
    name: 'Moldovan Leu (MDL)',
 
    symbolFormat: 'MDL {#}'
 
  },
 
  MNT: {
 
    name: 'Mongolian Tugrik (MNT)',
 
    symbolFormat: 'MNT {#}'
 
  },
 
  MAD: {
 
    name: 'Moroccan Dirham (MAD)',
 
    symbolFormat: 'MAD {#}'
 
  },
 
  MZM: {
 
    name: 'Mozambique Metical (MZM)',
 
    symbolFormat: 'MZM {#}'
 
  },
 
  MMK: {
 
    name: 'Myanmar Kyat (MMK)',
 
    symbolFormat: 'K{#}'
 
  },
 
  NAD: {
 
    name: 'Namibian Dollar (NAD)',
 
    symbolFormat: 'N${#}'
 
  },
 
  NPR: {
 
    name: 'Nepalese Rupee (NPR)',
 
    symbolFormat: 'रू{#}'
 
  },
 
  ANG: {
 
    name: 'Neth Antilles Guilder (ANG)',
 
    symbolFormat: 'ƒ{#}'
 
  },
 
  NZD: {
 
    name: 'New Zealand Dollar (NZD)',
 
    symbolFormat: 'NZ${#}'
 
  },
 
  NIO: {
 
    name: 'Nicaragua Cordoba (NIO)',
 
    symbolFormat: 'C${#}'
 
  },
 
  NGN: {
 
    name: 'Nigerian Naira (NGN)',
 
    symbolFormat: '₦{#}'
 
  },
 
  KPW: {
 
    name: 'North Korean Won (KPW)',
 
    symbolFormat: '₩{#}'
 
  },
 
  NOK: {
 
    name: 'Norwegian Krone (NOK)',
 
    symbolFormat: '{#} kr'
 
  },
 
  OMR: {
 
    name: 'Omani Rial (OMR)',
 
    symbolFormat: 'OMR {#}'
 
  },
 
  XPF: {
 
    name: 'Pacific Franc (XPF)',
 
    symbolFormat: '₣{#}'
 
  },
 
  PKR: {
 
    name: 'Pakistani Rupee (PKR)',
 
    symbolFormat: 'Rs {#}'
 
  },
 
  XPD: {
 
    name: 'Palladium Ounces (XPD)',
 
    symbolFormat: 'XPD {#}'
 
  },
 
  PAB: {
 
    name: 'Panama Balboa (PAB)',
 
    symbolFormat: 'B/. {#}'
 
  },
 
  PGK: {
 
    name: 'Papua New Guinea Kina (PGK)',
 
    symbolFormat: 'K {#}'
 
  },
 
  PYG: {
 
    name: 'Paraguayan Guarani (PYG)',
 
    symbolFormat: '₲{#}'
 
  },
 
  PEN: {
 
    name: 'Peruvian Nuevo Sol (PEN)',
 
    symbolFormat: 'S/{#}'
 
  },
 
  PHP: {
 
    name: 'Philippine Peso (PHP)',
 
    symbolFormat: '₱{#}'
 
  },
 
  XPT: {
 
    name: 'Platinum Ounces (XPT)',
 
    symbolFormat: 'XPT {#}'
 
  },
 
  PLN: {
 
    name: 'Polish Zloty (PLN)',
 
    symbolFormat: '{#}zł'
 
  },
 
  QAR: {
 
    name: 'Qatar Rial (QAR)',
 
    symbolFormat: 'QAR {#}'
 
  },
 
  ROL: {
 
    name: 'Romanian Leu (ROL)',
 
    symbolFormat: 'RON {#}'
 
  },
 
  RUB: {
 
    name: 'Russian Rouble (RUB)',
 
    symbolFormat: '{#}₽'
 
  },
 
  RWF: {
 
    name: 'Rwanda Franc (RWF)',
 
    symbolFormat: 'FRw {#}'
 
  },
 
  WST: {
 
    name: 'Samoa Tala (WST)',
 
    symbolFormat: 'WS${#}'
 
  },
 
  STD: {
 
    name: 'Sao Tome Dobra (STN)',
 
    symbolFormat: 'STN {#}'
 
  },
 
  SAR: {
 
    name: 'Saudi Arabian Riyal (SAR)',
 
    symbolFormat: 'SAR {#}'
 
  },
 
  SCR: {
 
    name: 'Seychelles Rupee (SCR)',
 
    symbolFormat: 'SCR {#}'
 
  },
 
  SLL: {
 
    name: 'Sierra Leone Leone (SLL)',
 
    symbolFormat: 'SLL {#}'
 
  },
 
  XAG: {
 
    name: 'Silver Ounces (XAG)',
 
    symbolFormat: 'XAG {#}'
 
  },
 
  SGD: {
 
    name: 'Singapore Dollar (SGD)',
 
    symbolFormat: 'S${#}'
 
  },
 
  SBD: {
 
    name: 'Solomon Islands Dollar (SBD)',
 
    symbolFormat: 'SI${#}'
 
  },
 
  SOS: {
 
    name: 'Somali Shilling (SOS)',
 
    symbolFormat: 'SOS {#}'
 
  },
 
  ZAR: {
 
    name: 'South African Rand (ZAR)',
 
    symbolFormat: 'R{#}'
 
  },
 
  LKR: {
 
    name: 'Sri Lanka Rupee (LKR)',
 
    symbolFormat: 'Rs {#}'
 
  },
 
  SHP: {
 
    name: 'St Helena Pound (SHP)',
 
    symbolFormat: '&pound;{#}'
 
  },
 
  SSP: {
 
    name: 'Sudanese Pound (SSP)',
 
    symbolFormat: 'SSP {#}'
 
  },
 
  SRD: {
 
    name: 'Surinam Dollar (SRD)',
 
    symbolFormat: 'Sr${#}'
 
  },
 
  SZL: {
 
    name: 'Swaziland Lilageni (SZL)',
 
    symbolFormat: 'E{#}'
 
  },
 
  SEK: {
 
    name: 'Swedish Krona (SEK)',
 
    symbolFormat: '{#} kr'
 
  },
 
  CHF: {
 
    name: 'Swiss Franc (CHF)',
 
    symbolFormat: '{#} Fr.'
 
  },
 
  SYP: {
 
    name: 'Syrian Pound (SYP)',
 
    symbolFormat: 'SYP {#}'
 
  },
 
  TWD: {
 
    name: 'Taiwan Dollar (TWD)',
 
    symbolFormat: 'NT${#}'
 
  },
 
  TZS: {
 
    name: 'Tanzanian Shilling (TZS)',
 
    symbolFormat: 'TZS {#}'
 
  },
 
  THB: {
 
    name: 'Thai Baht (THB)',
 
    symbolFormat: '฿{#}'
 
  },
 
  TOP: {
 
    name: "Tonga Pa'anga (TOP)",
 
    symbolFormat: 'T${#}'
 
  },
 
  TTD: {
 
    name: 'Trinidad&Tobago Dollar (TTD)',
 
    symbolFormat: 'TT${#}'
 
  },
 
  TND: {
 
    name: 'Tunisian Dinar (TND)',
 
    symbolFormat: 'TND {#}'
 
  },
 
  TRL: {
 
    name: 'Turkish Lira (TRL)',
 
    symbolFormat: '₺{#}'
 
  },
 
  TMM: {
 
    name: 'Turkmen Manat (TMM)',
 
    symbolFormat: 'TMM {#}'
 
  },
 
  USD: {
 
    name: 'U.S. Dollar (USD)',
 
    symbolFormat: '${#}'
 
  },
 
  AED: {
 
    name: 'UAE Dirham (AED)',
 
    symbolFormat: 'AED {#}'
 
  },
 
  UGX: {
 
    name: 'Ugandan Shilling (UGX)',
 
    symbolFormat: 'USh {#}'
 
  },
 
  UAH: {
 
    name: 'Ukraine Hryvnia (UAH)',
 
    symbolFormat: '₴{#}'
 
  },
 
  UYU: {
 
    name: 'Uruguayan New Peso (UYU)',
 
    symbolFormat: '${#}'
 
  },
 
  UZS: {
 
    name: 'Uzbekistani Sum (UZS)',
 
    symbolFormat: '{#} soʻm'
 
  },
 
  VUV: {
 
    name: 'Vanuatu Vatu (VUV)',
 
    symbolFormat: '{#}VT'
 
  },
 
  VEB: {
 
    name: 'Venezuelan Bolivar (VEB)',
 
    symbolFormat: '{#} Bs.'
 
  },
 
  VND: {
 
    name: 'Vietnam Dong (VND)',
 
    symbolFormat: '{#}₫'
 
  },
 
  YER: {
 
    name: 'Yemen Riyal (YER)',
 
    symbolFormat: 'YER {#}'
 
  },
 
  YUM: {
 
    name: 'Yugoslav Dinar (YUM)',
 
    symbolFormat: 'YUM {#}'
 
  },
 
  ZRN: {
 
    name: 'Zaire New Zaire (ZRN)',
 
    symbolFormat: 'ZRN {#}'
 
  },
 
  ZMK: {
 
    name: 'Zambian Kwacha (ZMK)',
 
    symbolFormat: 'ZMK {#}'
 
  },
 
  ZWD: {
 
    name: 'Zimbabwe Dollar (ZWD)',
 
    symbolFormat: 'Z${#}'
 
  }
 
};
 
 
 
 
 
var options = []
 
for(var i in currency_country_map) { options.push({data: i,label: i}) }
 
 
 
var announcement_funding_currency = new OO.ui.DropdownInputWidget( {
 
options: options,
 
value: '',
 
classes: ['announcement_funding_currency']
 
} )
 
 
 
var currency_default = ''
 
 
 
var announcement_funding_type = new OO.ui.ButtonGroupWidget( {
 
items: [
 
new OO.ui.ButtonWidget( {
 
label: 'Exact amount (e.g. 1000' + currency_default + ')'
 
} ),
 
new OO.ui.ButtonWidget( {
 
label: 'Range (e.g. 1000-2000' + currency_default + ')'
 
} ),
 
new OO.ui.ButtonWidget( {
 
label: 'Description'
 
} )
 
]
 
} )
 
 
 
var submit = new OO.ui.ButtonInputWidget( {
 
label: 'save',
 
flags: [
 
'primary',
 
'progressive'
 
]
 
} )
 
 
// Create a FieldsetLayout.
 
fieldset = new OO.ui.FieldsetLayout( {
 
label: 'Create announcement',
 
classes: [ 'container' ]
 
} );
 
 
// Use the addItems() method to add FieldLayouts that contain the form
 
// elements (the text inputs and submit button) to the FieldsetLayout:
 
fieldset.addItems( [
 
new OO.ui.FieldLayout( announcement_type, {
 
label: 'Type',
 
align: 'top'
 
} ),
 
new OO.ui.FieldLayout( announcement_title, {
 
label: 'Title',
 
align: 'top' ,
 
help: 'The title of the announcement for publishing',
 
helpInline: true
 
} ),
 
new OO.ui.FieldLayout( announcement_provider, {
 
label: 'Provider',
 
align: 'top',
 
help: 'Who is providing and funding this opportunity?',
 
helpInline: true
 
} ),
 
new OO.ui.FieldLayout( announcement_description, {
 
label: 'Description',
 
align: 'top'
 
} ),
 
new OO.ui.FieldLayout( announcement_target_country, {
 
label: 'Target country',
 
align: 'top'
 
} ),
 
new OO.ui.FieldLayout( new OO.ui.Widget( {
 
content: [
 
new OO.ui.HorizontalLayout( {
 
// ,announcement_funding_currency
 
items: [announcement_funding_type]
 
})
 
]
 
}), {
 
label: 'Funding',
 
align: 'top' ,
 
help: 'Please enter the most appropriate kind of amount, which is meant for the entire opportunity.',
 
helpInline: true
 
} ),
 
new OO.ui.FieldLayout( submit )   
 
] );
 
 
 
 
 
 
 
 
 
 
 
 
// Add the FieldsetLayout to a FormLayout.
 
var form = new OO.ui.FormLayout(  {
 
items: [ fieldset ],
 
action: '',
 
method: 'post'
 
} );
 
 
 
$('#form_container' ).append( form.$element );
 
</script>
 
 
 
<style>
 
.announcement_funding_currency {
 
width: auto;
 
}
 
  
</html>
 
  
<html>
+
<!--------------------------TYPE-------------------------->
<div class="cultura_italiana_form" style="width:360px;text-align:;padding:24px">
 
<div style="margin:auto">
 
<form action="" method="post">
 
  
<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">
 
Type of opportunity
 
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>
  
 +
<span class="ci_form_section_help">
 
</span>
 
</span>
  
<span class="cultura_italiana_form_section">
+
</div>
<span class="cultura_italiana_form_section_title" style="margin-top:6px">
+
 
 +
<!--------------------------TITLE-------------------------->
 +
 
 +
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 
Title
 
Title
 
</span>
 
</span>
<span class="cultura_italiana_form_section_description">  
+
 
The title of the announcement for publishing
+
<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>
 
</span>
  
<input class="cultura_italiana_form_input" type="text" placeholder="Title" name="Form announcement[Title]" value="">
+
</div>
</span>
+
 
  
 +
<!--------------------------PROVIDER-------------------------->
  
<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">
 
Provider
 
Provider
 
</span>
 
</span>
<span class="cultura_italiana_form_section_description">  
+
 
 +
<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?
 
Who is providing and funding this opportunity?
 
</span>
 
</span>
  
<input class="cultura_italiana_form_input" type="text" placeholder="Provider" name="Form announcement[Provider]"  value="">
+
</div>
 
 
</span>
 
  
  
 +
<!--------------------------DESCRIPTION-------------------------->
  
<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
 
Description
 
</span>
 
</span>
<textarea name="Form announcement[Description]" class="form_announcement_input" style="width:100%" rows="4">
+
 
 +
<textarea name="Form opportunity[Description]" class="ci_form_input" style="width:100%" rows="3">
 
</textarea>
 
</textarea>
 +
 +
<span class="ci_form_section_help">
 +
Briefly describe the position and tasks
 
</span>
 
</span>
  
 +
</div>
  
  
 +
<!--------------------------COUNTRY-------------------------->
  
 +
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Workplace country
 +
</span>
  
<span class="cultura_italiana_form_section">
 
<span class="cultura_italiana_form_section_title" style="margin-top:6px">
 
Target country
 
</span>
 
<span class="cultura_italiana_form_section_description">
 
Country where the activities will be implemented
 
</span>
 
  
<select id="select_countries" class="cultura_italiana_form_input" name="Form announcement[Target country]">
+
<select id="select_countries" class="ci_form_input" name="Form opportunity[Workplace country]">
 
<option></option>
 
<option></option>
 +
 
<option>Afghanistan</option>
 
<option>Afghanistan</option>
 
<option>Albania</option>
 
<option>Albania</option>
Line 1,926: 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 2,099: 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 class="ci_form_section_label">
 +
Target countries
 
</span>
 
</span>
<span class="cultura_italiana_form_section_description">  
+
 
Provided funding for the entire project
+
<input type="hidden" value="1" name="Form opportunity[Target countries][is_list]">
 +
 
 +
<select multiple id="select_countries" class="ci_form_input" name="Form opportunity[Target countries][]">
 +
 
 +
<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>
 +
 
 +
 
 +
<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>
 
</span>
  
<select class="cultura_italiana_form_input" name="Form announcement[Funding currency]">
+
<!--
<option></option>
+
<div style="margin:8px 0">
<option>EUR</option>
+
 
<option>USD</option>
+
<input class="target_country_group_button unselected" data="eu_countries" type="button" value = "Eu Countries"/>  
<option>...</option>
+
<input class="target_country_group_button unselected" data="efta_countries" type="button" value = "EFTA Countries"/>  
</select>
+
<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"/>  
 +
 
 +
</div>
 +
-->
 +
</div>
  
<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="">
 
  
<input style="display:none" id="funding_min" class="cultura_italiana_form_input" type="text" placeholder="eg. 1000" name="Form announcement[Funding min]"  value="">
+
<!--------------------------FUNDING INFORMATION-------------------------->
  
<input style="display:none" id="funding_to" class="cultura_italiana_form_input" type="text" placeholder="eg. 2000" name="Form announcement[Funding to]"  value="">
+
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Funding or salary
 +
</span>
  
<input style="display:none" id="funding_info" class="cultura_italiana_form_input" type="text" placeholder="description" name="Form announcement[Funding info]"  value="">
+
<textarea name="Form opportunity[Funding or salary]" class="ci_form_input" style="width:100%" rows="3">
 +
</textarea>
 +
 
 +
<span class="ci_form_section_help">
 +
Enter the funding or salary provided by this opportunity
 
</span>
 
</span>
  
 +
</div>
  
<span class="cultura_italiana_form_section">
+
 
<span class="cultura_italiana_form_section_title">
+
<!--------------------------REQUISITES-------------------------->
 +
 
 +
<div class="ci_form_section">
 +
<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][day]">
+
<select class="ci_form_input" name="Form opportunity[Deadline][day]">
 
<option></option>
 
<option></option>
 
<option>1</option>
 
<option>1</option>
Line 2,193: Line 543:
 
</td><td>
 
</td><td>
  
<select class="cultura_italiana_form_input" name="Form organization[date][month]">
+
<select class="ci_form_input" name="Form opportunity[Deadline][month]">
 
<option></option>
 
<option></option>
 
<option value="1">January</option>
 
<option value="1">January</option>
Line 2,210: Line 560:
 
</td><td>
 
</td><td>
  
<select class="cultura_italiana_form_input" name="Form organization[date][year]">
+
<select class="ci_form_input" name="Form opportunity[Deadline][year]">
 
<option></option>
 
<option></option>
 
<option>2020</option>
 
<option>2020</option>
Line 2,217: Line 567:
 
</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>
  
<span class="cultura_italiana_form_section">
 
<span class="cultura_italiana_form_section_title" style="margin-top:6px">
 
Url official
 
</span>
 
<span class="cultura_italiana_form_section_description">
 
The official url of the announcement call
 
</span>
 
  
<input class="cultura_italiana_form_input" type="text" placeholder="url" name="Form announcement[Url]"  value="">
+
<!--------------------------SUBMIT-------------------------->
  
</span>
+
<div class="ci_form_section_submit">
<span class="cultura_italiana_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 May 2024), 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”.