Meeting

From Redazione
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users not shown)
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=}}
 +
 
  
 
</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.
+
 
 +
Please enter your organization suggestion below.
 
If you set the field "created by" or "creator affiliated to"
 
If you set the field "created by" or "creator affiliated to"
 
the record will contain a reference to you and/or your organization.
 
the record will contain a reference to you and/or your organization.
  
{{{info|page name=<Form Meeting[Name]> }}}
+
{{{info|page name={{#ci_userAffiliatedTo:}}/Meetings/<Form meeting[Title]> - <Form meeting[Date]>}}}
{{{for template|Form Meeting}}}
+
{{{for template|Form meeting}}}
<div class="cultura_italiana_form" style="width:360px;text-align:;padding:24px">
+
{| class="formtable"
<div style="margin:auto">
+
! Name:  
<span class="form_organization_input_section">
+
| {{{field|Title}}}
<span class="form_organization_input_title_inner" style="margin-top: 12px">
+
|-
Name, Type, Date, Time
+
! Type:
{{{field|Name|placeholder=Name|class=form_organization_input}}}
+
| {{{field|Type}}}
{{{field|Type|placeholder=Type|class=form_organization_input}}}
+
|-
{{{field|Date|input type=date}}}
+
! Date:
{{{field|Time|placeholder=Time|class=form_organization_input}}}
+
| {{{field|Date|input type=text}}}
</span>
+
|-
 
+
! Country:
<span class="form_organization_input_section">
+
| {{{field|Country}}}
<span class="form_organization_input_title_inner">
+
|-
Country, address, coordinates, picture, Url
+
! City:
{{{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}}}
+
| {{{field|City}}}
{{{field|Deadline for application|placeholder=Deadline|input type=date}}}
+
|-
</span>
+
! Address:
{{{field|Address|placeholder=Address|class=form_organization_input}}}
+
| {{{field|Address}}}
{{{field|Coordinates|input
+
|-
<input class="cultura_italiana_form_input" type="text" placeholder="Address" name="Form meeting[Address]" value="">
+
! Coordinates:
 +
| {{{field|Coordinates}}}
 +
|-
 +
! Venue:
 +
| {{{field|Venue}}}
 +
|-
 +
! Decription:
 +
| {{{field|Description}}}
 +
|-
 +
! Webpage:
 +
| {{{field|Webpage}}}
 +
|-
 +
! Contact phone:
 +
| {{{field|Contact phone}}}
 +
|-
 +
! Contact email:
 +
| {{{field|Contact email}}}
 +
|}
 +
{{{end template}}}
  
 +
'''Free text:'''
  
    <label for="latInput">Latitude</label>
+
{{{standard input|free text|rows=10}}}
    <input id="latInput"/>
 
    <label for="lngInput">Longitude</label>
 
    <input id="lngInput"/>
 
    <div id="map" style="height : 200px"></div>
 
  
<!--
 
  
    <link rel="stylesheet" href="https://culturaitaliana.org/w/en/leaflet.css"/>
+
{{{standard input|summary}}}
    <script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
 
  
<script src="https://culturaitaliana.org/w/en/leaflet.js"></script>
+
{{{standard input|minor edit}}} {{{standard input|watch}}}
  
-->
+
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 
+
</includeonly>
<script>
 
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);
 
var updateMarker = function(lat, lng) {
 
    marker
 
        .setLatLng([lat, lng])
 
        .bindPopup("Your location :  " + marker.getLatLng().toString())
 
        .openPopup();
 
    return false;
 
};
 
 
 
 
 
map.on('click', function(e) {
 
    $('#latInput').val(e.latlng.lat);
 
    $('#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}}}
 

Latest revision as of 06:30, 4 September 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.