Digital library html

From Redazione
Jump to navigation Jump to search
 
(27 intermediate revisions by the same user 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">
 
<div class="ci_form_container">
  
Line 18: Line 43:
 
Digital_library_Books approximate number
 
Digital_library_Books approximate number
 
Digital_library_Active from - Active to
 
Digital_library_Active from - Active to
Digital_library_Languages
 
 
Digital_library_Website
 
Digital_library_Website
 +
Digital_library_Opac
 +
Digital_library_Digital resource example url
  
 
-->
 
-->
Line 40: 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">
 
</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 68: Line 88:
  
  
<!--------------------------Library headquarters country-------------------------->
+
<!--------------------------Library headquarters country--------------------------
  
 
<div class="ci_form_section">
 
<div class="ci_form_section">
Line 310: Line 330:
  
 
</div>
 
</div>
 +
-->
 +
 +
<!--------------------------Library approximate number-------------------------->
  
 +
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Approximate number of books 
 +
</span>
  
<!--------------------------Active from - Active to-------------------------->
+
<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>
 +
 
 +
</div>
 +
 
 +
 
 +
<!--------------------------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 from-to
+
Active from - to
 
</span>
 
</span>
  
 
<table>
 
<table>
<tr><td> <select class="cultura_italiana_form_input" name="Form digital library[Active from]">
+
<tr><td> <select class="ci_form_input" name="Form digital library[Active from]">
 
<option></option>
 
<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>1990</option>
 
<option>1991</option>
 
<option>1991</option>
Line 357: Line 415:
  
  
<select class="cultura_italiana_form_input" name="Form digital library[Active to]">
+
<select class="ci_form_input" name="Form digital library[Active to]">
 
<option></option>
 
<option></option>
 
<option>2020</option>
 
<option>2020</option>
Line 390: Line 448:
 
<option>1991</option>
 
<option>1991</option>
 
<option>1990</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>
 
</select>
 
</td> </tr>
 
</td> </tr>
Line 395: Line 473:
  
 
<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>
 
</div>
  
<!--------------------------Languages-------------------------->
+
-->
 +
 
 +
<!--------------------------Website-------------------------->
  
 
<div class="ci_form_section">
 
<div class="ci_form_section">
 
<span class="ci_form_section_label">
 
<span class="ci_form_section_label">
Languages
+
Website
 
</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[Website]" value="">
  
 
<span class="ci_form_section_help">
 
<span class="ci_form_section_help">
The main languages of the library
 
 
</span>
 
</span>
  
 
</div>
 
</div>
  
<!--------------------------Website-------------------------->
+
 
 +
<!--------------------------Opac-------------------------->
 +
 
 +
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Opac
 +
</span>
 +
 
 +
<input class="ci_form_input" type="text" placeholder="" name="Form digital library[Opac url]" value="">
 +
 
 +
<span class="ci_form_section_help">
 +
Enter the url of the opac or the index/catalog page of digital resources
 +
</span>
 +
 
 +
</div>
 +
 
 +
 
 +
<!--------------------------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 447: Line 545:
  
  
$(function(){
+
$ci(function(){
 
/*
 
/*
 
$('#select_countries option:contains("</html>{{#ci_visitorCountry:}}<html>")').prop('selected',true);
 
$('#select_countries option:contains("</html>{{#ci_visitorCountry:}}<html>")').prop('selected',true);
 
*/
 
*/
$('.ci_form textarea').autosize();
+
$ci('.ci_form textarea').autosize();
 +
 
 +
 
 +
 
 +
if("</html>{{PAGENAME}}<html>" == "FormEdit/Digital library") {
 +
$ci('#logo_section').hide();
 +
}
 +
 
 +
 
 +
 
 +
 
 +
$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