Digital library html

From Redazione
Jump to navigation Jump to search
 
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
 +
This form is meant to add an outline of a Digital library (that is a website allowing to access and read book contents) to be published
 +
both on [[Digital libraries|this page]], and on the [https://culturaitaliana.org/ front-end part of this project] (in construction at {{#time: F Y}}), in more interactive way. Following, the notice could be also included in the newsletters
 +
sent to visitors and affiliated users of this platform, inasmuch as they
 +
are usually welcome.
 +
 +
The authors of the content will be mentioned (as affiliated to a given organization) at the end of the notice 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!
 +
 +
'''The form contains a field "logo" visible only once the page is created, where to upload the logo of the library'''
 +
 +
 +
 +
{{CI notice box |
 +
{{#ifeq: {{PAGENAME}} | FormEdit/Digital library |
 +
The form will be created in the path
 +
{{CI text highlight|Digital libraries/[Name]}}
 +
| Attention, this form is meant to be created at a fixed path. Please create it [[Special:FormEdit/Digital library|from here]].
 +
}}
 +
}}
 +
  
 
<html>
 
<html>
<div class="ci_form_container" style="max-width:500px;background:;border:0px solid #ccc;box-shadow: #ccc 2px 2px 4px 4px">
+
 
 +
<div class="ci_form_container">
 +
 
 +
<! ***attention! this will be stripped by PageForms
 +
but nonetheless without it will not work !
 +
-->
 +
<form class= method="post" >
  
 
<div class="ci_form" action="" method="post">
 
<div class="ci_form" action="" method="post">
Line 12: Line 42:
 
Digital_library_Library headquarters country
 
Digital_library_Library headquarters country
 
Digital_library_Books approximate number
 
Digital_library_Books approximate number
Digital_library_Active to
+
Digital_library_Active from - Active to
Digital_library_Active from
 
Digital_library_Languages
 
 
Digital_library_Website
 
Digital_library_Website
 +
Digital_library_Opac
 +
Digital_library_Digital resource example url
  
 
-->
 
-->
Line 26: Line 56:
 
</span>
 
</span>
  
<input class="ci_form_input" type="text" placeholder="" name="Form Digital library[Name]" value="">
+
<input class="ci_form_input" type="text" placeholder="" name="Form digital library[Name]" value="">
  
 
<span class="ci_form_section_help">
 
<span class="ci_form_section_help">
The name of the digital library
 
 
</span>
 
</span>
  
Line 37: Line 66:
 
<!--------------------------Logo-------------------------->
 
<!--------------------------Logo-------------------------->
  
<div class="ci_form_section">
+
<div class="ci_form_section" id="logo_section">
 
<span class="ci_form_section_label">
 
<span class="ci_form_section_label">
 
Logo
 
Logo
 
</span>
 
</span>
 +
<span class="inputSpan">
  
<input class="ci_form_input" type="text" placeholder="" name="Form Digital library[Logo]" value="">
+
<input id="input_2" class="ci_form_input" disabled="disabled" type="text" placeholder="" name="Form digital library[Logo]" value="">
 
 
<span class="ci_form_section_help">
 
The official logo of the digital library
 
</span>
 
 
 
</div>
 
 
 
<!--------------------------Key people-------------------------->
 
  
<div class="ci_form_section">
+
<img class="loading" style="display:none" src="/w/extensions/PageForms/skins/loading.gif">
<span class="ci_form_section_label">
+
<input class="simpleupload_btn" data-id="input_2" type="button" value="Upload" name="">
Key people
+
<input class="simpleupload_rmv_btn" style="display:none" data-id="input_2" type="button" value="Remove" name="">
 +
<input class="simpleupload" style="width:0;height:0;overflow:hidden" data-id="input_2" type="file" name="">
 +
<input type="hidden" name="path" class="simpleupload_path" value="</html>{{PAGENAME}}<html>">
 
</span>
 
</span>
  
<input class="ci_form_input" type="text" placeholder="" name="Form Digital library[Key people]" value="">
 
  
 
<span class="ci_form_section_help">
 
<span class="ci_form_section_help">
The name of the key people about the digital library
 
 
</span>
 
</span>
  
Line 66: Line 88:
  
  
<!--------------------------Library headquarters country-------------------------->
+
<!--------------------------Library headquarters country--------------------------
  
 
<div class="ci_form_section">
 
<div class="ci_form_section">
Line 73: Line 95:
 
</span>
 
</span>
  
 
+
<select id="select_countries" class="ci_form_input" name="Form digital library[Headquarters country]">
<select id="select_countries" class="ci_form_input" name="Form Digital library [Library headquarters country]">
 
 
<option></option>
 
<option></option>
 
<option>Afghanistan</option>
 
<option>Afghanistan</option>
Line 306: Line 327:
  
 
<span class="ci_form_section_help">
 
<span class="ci_form_section_help">
The country of the digital library  
+
</span>
 +
 
 +
</div>
 +
-->
 +
 
 +
<!--------------------------Library approximate number-------------------------->
 +
 
 +
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Approximate number of books 
 +
</span>
 +
 
 +
<input type="text" class="ci_form_input" name="Form digital library[Books approximate number]">
 +
</select>
 +
 
 +
 
 +
<span class="ci_form_section_help">
 +
Enter the number of books available in Italian language<!-- or the order of magnitude of number of books of the library, eg. 1000, 10000, etc.-->
 
</span>
 
</span>
  
Line 312: Line 350:
  
  
<!--------------------------Active to-------------------------->
+
<!--------------------------Active from - Active to--------------------------
  
 
<div class="ci_form_section">
 
<div class="ci_form_section">
 
<span class="ci_form_section_label">
 
<span class="ci_form_section_label">
Active to
+
Active from - to
 
</span>
 
</span>
  
<input class="ci_form_input" type="text" placeholder="" name="Form Digital library[Active to]" value="">
+
<table>
 +
<tr><td> <select class="ci_form_input" name="Form digital library[Active from]">
 +
<option></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="ci_form_input" name="Form digital library[Active to]">
 +
<option></option>
 +
<option>2020</option>
 +
<option>2019</option>
 +
<option>2018</option>
 +
<option>2017</option>
 +
<option>2016</option>
 +
<option>2015</option>
 +
<option>2014</option>
 +
<option>2013</option>
 +
<option>2012</option>
 +
<option>2011</option>
 +
<option>2010</option>
 +
<option>2009</option>
 +
<option>2008</option>
 +
<option>2007</option>
 +
<option>2006</option>
 +
<option>2005</option>
 +
<option>2004</option>
 +
<option>2003</option>
 +
<option>2002</option>
 +
<option>2001</option>
 +
<option>2000</option>
 +
<option>1999</option>
 +
<option>1998</option>
 +
<option>1997</option>
 +
<option>1996</option>
 +
<option>1995</option>
 +
<option>1994</option>
 +
<option>1993</option>
 +
<option>1992</option>
 +
<option>1991</option>
 +
<option>1990</option>
 +
<option>1989</option>
 +
<option>1988</option>
 +
<option>1987</option>
 +
<option>1986</option>
 +
<option>1985</option>
 +
<option>1984</option>
 +
<option>1983</option>
 +
<option>1982</option>
 +
<option>1981</option>
 +
<option>1980</option>
 +
<option>1979</option>
 +
<option>1978</option>
 +
<option>1977</option>
 +
<option>1976</option>
 +
<option>1975</option>
 +
<option>1974</option>
 +
<option>1973</option>
 +
<option>1972</option>
 +
<option>1971</option>
 +
<option>1970</option>
 +
</select>
 +
</td> </tr>
 +
</table>
  
 
<span class="ci_form_section_help">
 
<span class="ci_form_section_help">
 +
Leave the field on the right empty if still active
 
</span>
 
</span>
  
 +
</div>
 +
 +
-->
  
<!--------------------------Active from-------------------------->
+
<!--------------------------Website-------------------------->
  
 
<div class="ci_form_section">
 
<div class="ci_form_section">
 
<span class="ci_form_section_label">
 
<span class="ci_form_section_label">
Active from
+
Website
 
</span>
 
</span>
  
<input class="ci_form_input" type="text" placeholder="" name="Form Digital library[Active from]" value="">
+
<input class="ci_form_input" type="text" placeholder="" name="Form digital library[Website]" value="">
  
 
<span class="ci_form_section_help">
 
<span class="ci_form_section_help">
Line 339: Line 494:
 
</div>
 
</div>
  
<!--------------------------Languages-------------------------->
+
 
 +
<!--------------------------Opac-------------------------->
  
 
<div class="ci_form_section">
 
<div class="ci_form_section">
 
<span class="ci_form_section_label">
 
<span class="ci_form_section_label">
Languages
+
Opac
 
</span>
 
</span>
  
<input class="ci_form_input" type="text" placeholder="" name="Form Digital library[Languages]" value="">
+
<input class="ci_form_input" type="text" placeholder="" name="Form digital library[Opac url]" value="">
  
 
<span class="ci_form_section_help">
 
<span class="ci_form_section_help">
The main languages of the library
+
Enter the url of the opac or the index/catalog page of digital resources
 
</span>
 
</span>
  
 
</div>
 
</div>
  
<!--------------------------Website-------------------------->
+
 
 +
<!--------------------------Digital resource example url-------------------------->
  
 
<div class="ci_form_section">
 
<div class="ci_form_section">
 
<span class="ci_form_section_label">
 
<span class="ci_form_section_label">
Website
+
Digital resource example url
 
</span>
 
</span>
  
<input class="ci_form_input" type="text" placeholder="" name="Form Digital library[Website]" value="">
+
<input class="ci_form_input" type="text" placeholder="" name="Form digital library[Digital resource example url]" value="">
  
 
<span class="ci_form_section_help">
 
<span class="ci_form_section_help">
 +
(Optionally) enter the url of a representative digital resource
 
</span>
 
</span>
  
Line 380: Line 538:
  
 
</div>
 
</div>
 +
</form>
 
</div>
 
</div>
  
Line 386: Line 545:
  
  
$(function(){
+
$ci(function(){
 +
/*
 +
$('#select_countries option:contains("</html>{{#ci_visitorCountry:}}<html>")').prop('selected',true);
 +
*/
 +
$ci('.ci_form textarea').autosize();
 +
 
 +
 
 +
 
 +
if("</html>{{PAGENAME}}<html>" == "FormEdit/Digital library") {
 +
$ci('#logo_section').hide();
 +
}
 +
 
 +
 
  
$('#select_countries option:contains("</html>{{#ci_visitorCountry:}}<html>")').prop('selected',true);
 
  
$('.ci_form textarea').autosize();
+
$ci('form').submit(function() {
 +
// ***attention !!!
 +
// otherwise pageforms will not retrieve it!
 +
$ci('input').removeAttr('disabled');
 +
return true;
 +
});
  
 
});
 
});

Latest revision as of 21:58, 7 January 2021

This form is meant to add an outline of a Digital library (that is a website allowing to access and read book contents) to be published both on this page, and on the front-end part of this project (in construction at May 2024), in more interactive way. Following, the notice could be also included in the newsletters sent to visitors and affiliated users of this platform, inasmuch as they are usually welcome.

The authors of the content will be mentioned (as affiliated to a given organization) at the end of the notice 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!

The form contains a field "logo" visible only once the page is created, where to upload the logo of the library


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


Enter the number of books available in Italian language
Enter the url of the opac or the index/catalog page of digital resources
(Optionally) enter the url of a representative digital resource