Meeting

From Redazione
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 +
This is the "Meeting" form.
 +
To create a page with this form, enter the page name below;
 +
if a page with that name already exists, you will be sent to a form to edit that page.
 +
 
<!--
 
<!--
{{#forminput:form=Form meeting}}
+
{{#forminput:form=Meeting}}
 
-->
 
-->
  
{{#formlink:form=Meeting|link text=Add meeting|link type=button|returnto=Meeting created}}
+
{{#formlink:form=Meeting|link text=Add meeting|link type=button|returnto=Meetingsuggestion created}}
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
Please fill in the following fields.
+
{{{for template|Meeting}}}
If you set the field "created by" or "creator affiliated to"
+
{| class="formtable"
the record will contain a reference to you and/or your organization.
+
! Name:  
 
+
| {{{field|Name}}}
{{{info|page name=<Form Meeting[Name]> }}}
+
|-
{{{for template|Form Meeting}}}
+
! Participant last name:
<div class="cultura_italiana_form" style="width:360px;text-align:;padding:24px">
+
| {{{field|Type}}}
<div style="margin:auto">
+
|-
<span class="form_organization_input_section">
+
! Date:
<span class="form_organization_input_title_inner" style="margin-top: 12px">
+
| {{{field|Date}}}
Name, Type, Date, Time
+
|-
{{{field|Name|placeholder=Name|class=form_organization_input}}}
+
! Time:
{{{field|Type|placeholder=Type|class=form_organization_input}}}
+
| {{{field|Time}}}
{{{field|Date|input type=date}}}
+
|-
{{{field|Time|placeholder=Time|class=form_organization_input}}}
+
! Country:
</span>
+
| {{{field|Country}}}
 
+
|-
<span class="form_organization_input_section">
+
! Address:
<span class="form_organization_input_title_inner">
+
| {{{field|Address}}}
Country, address, coordinates, picture, Url
+
|-
{{{field|Country|input type=combobox|mandatory|placeholder=country|values=AF,AL,DZ,AS,AD,AO,AI,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BA,BK,BW,BR,BN,BG,BF,BI,KH,CM,CA,CV,KY,CF,TD,CL,CO,KM,CG,CK,CR,ISO,HR,CU,CY,CZ,CD,DK,DJ,DM,DO,TL,EC,EG,SV,GQ,ER,EE,ET,FK,FO,FJ,FI,FR,GF,PF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HN,HK,HU,IS,IN,ID,IR,IQ,IE,IL,IT,CI,JM,JP,JE,JO,KZ,KE,KI,XK,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,KP,NO,OM,PK,PW,PS,PA,PG,PY,CN,PE,PH,PL,PT,PR,QA,MK,RE,RO,RU,RW,WS,SM,SA,SN,RS,SC,SL,SG,SK,SI,SB,SO,ZA,KR,SS,ES,LK,KN,LC,PM,VC,SD,SR,SZ,SE,CH,SY,ST,TW,TJ,TZ,TH,TG,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,US,UY,UZ,VU,VE,VN,YE,ZM,ZW|mapping template=FormSelectCountriesLabel}}}
+
! Coordinates:
{{{field|Deadline for application|placeholder=Deadline|input type=date}}}
+
| {{{field|Coordinates}}}
</span>
+
|-
{{{field|Address|placeholder=Address|class=form_organization_input}}}
+
! Picture:
{{{field|Coordinates|input
+
| {{{field|Picture}}}
<input class="cultura_italiana_form_input" type="text" placeholder="Address" name="Form meeting[Address]" value="">
+
|-
 
+
! Webpage:
 
+
| {{{field|Webpage}}}
    <label for="latInput">Latitude</label>
+
|-
    <input id="latInput"/>
+
! Contact phone:
    <label for="lngInput">Longitude</label>
+
| {{{field|Contact phone}}}
    <input id="lngInput"/>
+
|-
    <div id="map" style="height : 200px"></div>
+
! Contact email:
 
+
| {{{field|Contact email}}}
<!--
+
|-
 
+
! Participant first name:  
    <link rel="stylesheet" href="https://culturaitaliana.org/w/en/leaflet.css"/>
+
| {{{field|Participant first name}}}
    <script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
+
|-
 
+
! Participant last name:  
<script src="https://culturaitaliana.org/w/en/leaflet.js"></script>
+
| {{{field|Participant last name}}}
 +
|}
 +
{{{end template}}}
  
-->
+
'''Free text:'''
  
<script>
+
{{{standard input|free text|rows=10}}}
var mapCenter = [22, 87];
 
var map = L.map('map', {center : mapCenter, zoom : 3});
 
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
 
    maxZoom: 18,
 
    attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, ' +
 
    '<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
 
    'Imagery © <a href="http://mapbox.com">Mapbox</a>',
 
    id: 'examples.map-i875mjb7',
 
    noWrap : true
 
}).addTo(map);
 
  
  
var marker = L.marker(mapCenter).addTo(map);
+
{{{standard input|summary}}}
var updateMarker = function(lat, lng) {
 
    marker
 
        .setLatLng([lat, lng])
 
        .bindPopup("Your location :  " + marker.getLatLng().toString())
 
        .openPopup();
 
    return false;
 
};
 
  
 +
{{{standard input|minor edit}}} {{{standard input|watch}}}
  
map.on('click', function(e) {
+
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
    $('#latInput').val(e.latlng.lat);
+
</includeonly>
    $('#lngInput').val(e.latlng.lng);
 
    updateMarker(e.latlng.lat, e.latlng.lng);
 
});
 
 
 
 
 
var updateMarkerByInputs = function() {
 
return updateMarker( $('#latInput').val() , $('#lngInput').val());
 
}
 
$('#latInput').on('input', updateMarkerByInputs);
 
$('#lngInput').on('input', updateMarkerByInputs);
 
 
 
</script>
 
 
 
 
 
<span class="form_organization_input_section">
 
<span class="form_organization_input_title_inner">
 
Picture
 
{{{field|Picture|placeholder=Picture|class=form_organization_input}}}
 
{{{field|Webpage|input type=URL}}}
 
<span class="ci_form_section_help">
 
Please enter the official url with further information
 
</span>
 
{{{field|Contact phone|Input type=Telephone number}}}
 
{{{field|Contact email|Input type=Email}}}
 
{{{field|Participant first name|placeholder=Participant first name|class=form_organization_input}}}
 
{{{field|Participant last name|placeholder=Participant last name|class=form_organization_input}}}
 
</span>
 
 
 
span class="form_organization_input_section_submit">
 
{{{standard input|save}}}
 
</span>
 
</div>
 
</div>
 
{{{end template}}}
 

Revision as of 11:51, 2 March 2020

This is the "Meeting" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.