Digital library html

From Redazione
Jump to navigation Jump to search
 
(31 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" 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 13: 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 35: 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">
+
<img class="loading" style="display:none" src="/w/extensions/PageForms/skins/loading.gif">
 +
<input class="simpleupload_btn" data-id="input_2" type="button" value="Upload" name="">
 +
<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>
  
</div>
 
 
<!--------------------------Key people-------------------------->
 
 
<div class="ci_form_section">
 
<span class="ci_form_section_label">
 
Key people
 
</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 63: Line 88:
  
  
<!--------------------------Library headquarters country-------------------------->
+
<!--------------------------Library headquarters country--------------------------
  
 
<div class="ci_form_section">
 
<div class="ci_form_section">
Line 70: 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[Headquarters country]">
 
<option></option>
 
<option></option>
 
<option>Afghanistan</option>
 
<option>Afghanistan</option>
Line 305: Line 330:
  
 
</div>
 
</div>
 +
-->
  
 +
<!--------------------------Library approximate number-------------------------->
  
<!--------------------------Active from - Active to-------------------------->
+
<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>
 +
 
 +
</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 352: 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 385: 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>
 
</table>
 
</table>
 +
 +
<span class="ci_form_section_help">
 +
Leave the field on the right empty if still active
 +
</span>
 +
 +
</div>
 +
 +
-->
 +
 +
<!--------------------------Website-------------------------->
 +
 +
<div class="ci_form_section">
 +
<span class="ci_form_section_label">
 +
Website
 +
</span>
 +
 +
<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 394: 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 435: Line 538:
  
 
</div>
 
</div>
 +
</form>
 
</div>
 
</div>
  
Line 441: 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