aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorpacien2020-05-20 04:00:31 +0200
committerNotkea2020-05-22 01:02:18 +0200
commit9f07fa37b8c7772308ef49538803acdb1ce1ab81 (patch)
tree7d4f48f4251d900cf3373662722db166c0103c03 /example
parent9adf35eef92ee0842a080a6462ba13d4a17eb5e3 (diff)
downloadldgallery-9f07fa37b8c7772308ef49538803acdb1ce1ab81.tar.gz
example: add text, pdf, audio and video examples
Diffstat (limited to 'example')
-rw-r--r--example/src/Misc Media/A Trip to the Moon.mp4bin0 -> 916818 bytes
-rw-r--r--example/src/Misc Media/Beethoven - Fifth Symphony intro.oggbin0 -> 131121 bytes
-rw-r--r--example/src/Misc Media/European Social Charter (Revised).pdfbin0 -> 183134 bytes
-rw-r--r--example/src/Misc Media/Universal Declaration of Human Rights.txt157
-rw-r--r--example/src/gallery.yaml4
5 files changed, 161 insertions, 0 deletions
diff --git a/example/src/Misc Media/A Trip to the Moon.mp4 b/example/src/Misc Media/A Trip to the Moon.mp4
new file mode 100644
index 0000000..b268c10
--- /dev/null
+++ b/example/src/Misc Media/A Trip to the Moon.mp4
Binary files differ
diff --git a/example/src/Misc Media/Beethoven - Fifth Symphony intro.ogg b/example/src/Misc Media/Beethoven - Fifth Symphony intro.ogg
new file mode 100644
index 0000000..e5f9653
--- /dev/null
+++ b/example/src/Misc Media/Beethoven - Fifth Symphony intro.ogg
Binary files differ
diff --git a/example/src/Misc Media/European Social Charter (Revised).pdf b/example/src/Misc Media/European Social Charter (Revised).pdf
new file mode 100644
index 0000000..422a17e
--- /dev/null
+++ b/example/src/Misc Media/European Social Charter (Revised).pdf
Binary files differ
diff --git a/example/src/Misc Media/Universal Declaration of Human Rights.txt b/example/src/Misc Media/Universal Declaration of Human Rights.txt
new file mode 100644
index 0000000..1d7e539
--- /dev/null
+++ b/example/src/Misc Media/Universal Declaration of Human Rights.txt
@@ -0,0 +1,157 @@
1Universal Declaration of Human Rights
2
3Preamble
4Whereas recognition of the inherent dignity and of the equal and inalienable rights of all members of the human family is the foundation of freedom, justice and peace in the world,
5
6Whereas disregard and contempt for human rights have resulted in barbarous acts which have outraged the conscience of mankind, and the advent of a world in which human beings shall enjoy freedom of speech and belief and freedom from fear and want has been proclaimed as the highest aspiration of the common people,
7
8Whereas it is essential, if man is not to be compelled to have recourse, as a last resort, to rebellion against tyranny and oppression, that human rights should be protected by the rule of law,
9
10Whereas it is essential to promote the development of friendly relations between nations,
11
12Whereas the peoples of the United Nations have in the Charter reaffirmed their faith in fundamental human rights, in the dignity and worth of the human person and in the equal rights of men and women and have determined to promote social progress and better standards of life in larger freedom,
13
14Whereas Member States have pledged themselves to achieve, in co-operation with the United Nations, the promotion of universal respect for and observance of human rights and fundamental freedoms,
15
16Whereas a common understanding of these rights and freedoms is of the greatest importance for the full realization of this pledge,
17
18Now, Therefore THE GENERAL ASSEMBLY proclaims THIS UNIVERSAL DECLARATION OF HUMAN RIGHTS as a common standard of achievement for all peoples and all nations, to the end that every individual and every organ of society, keeping this Declaration constantly in mind, shall strive by teaching and education to promote respect for these rights and freedoms and by progressive measures, national and international, to secure their universal and effective recognition and observance, both among the peoples of Member States themselves and among the peoples of territories under their jurisdiction.
19
20Article 1.
21
22All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.
23
24Article 2.
25
26Everyone is entitled to all the rights and freedoms set forth in this Declaration, without distinction of any kind, such as race, colour, sex, language, religion, political or other opinion, national or social origin, property, birth or other status. Furthermore, no distinction shall be made on the basis of the political, jurisdictional or international status of the country or territory to which a person belongs, whether it be independent, trust, non-self-governing or under any other limitation of sovereignty.
27
28Article 3.
29
30Everyone has the right to life, liberty and security of person.
31
32Article 4.
33
34No one shall be held in slavery or servitude; slavery and the slave trade shall be prohibited in all their forms.
35
36Article 5.
37
38No one shall be subjected to torture or to cruel, inhuman or degrading treatment or punishment.
39
40Article 6.
41
42Everyone has the right to recognition everywhere as a person before the law.
43
44Article 7.
45
46All are equal before the law and are entitled without any discrimination to equal protection of the law. All are entitled to equal protection against any discrimination in violation of this Declaration and against any incitement to such discrimination.
47
48Article 8.
49
50Everyone has the right to an effective remedy by the competent national tribunals for acts violating the fundamental rights granted him by the constitution or by law.
51
52Article 9.
53
54No one shall be subjected to arbitrary arrest, detention or exile.
55
56Article 10.
57
58Everyone is entitled in full equality to a fair and public hearing by an independent and impartial tribunal, in the determination of his rights and obligations and of any criminal charge against him.
59
60Article 11.
61
62(1) Everyone charged with a penal offence has the right to be presumed innocent until proved guilty according to law in a public trial at which he has had all the guarantees necessary for his defence.
63(2) No one shall be held guilty of any penal offence on account of any act or omission which did not constitute a penal offence, under national or international law, at the time when it was committed. Nor shall a heavier penalty be imposed than the one that was applicable at the time the penal offence was committed.
64
65Article 12.
66
67No one shall be subjected to arbitrary interference with his privacy, family, home or correspondence, nor to attacks upon his honour and reputation. Everyone has the right to the protection of the law against such interference or attacks.
68
69Article 13.
70
71(1) Everyone has the right to freedom of movement and residence within the borders of each state.
72(2) Everyone has the right to leave any country, including his own, and to return to his country.
73
74Article 14.
75
76(1) Everyone has the right to seek and to enjoy in other countries asylum from persecution.
77(2) This right may not be invoked in the case of prosecutions genuinely arising from non-political crimes or from acts contrary to the purposes and principles of the United Nations.
78
79Article 15.
80
81(1) Everyone has the right to a nationality.
82(2) No one shall be arbitrarily deprived of his nationality nor denied the right to change his nationality.
83
84Article 16.
85
86(1) Men and women of full age, without any limitation due to race, nationality or religion, have the right to marry and to found a family. They are entitled to equal rights as to marriage, during marriage and at its dissolution.
87(2) Marriage shall be entered into only with the free and full consent of the intending spouses.
88(3) The family is the natural and fundamental group unit of society and is entitled to protection by society and the State.
89
90Article 17.
91
92(1) Everyone has the right to own property alone as well as in association with others.
93(2) No one shall be arbitrarily deprived of his property.
94
95Article 18.
96
97Everyone has the right to freedom of thought, conscience and religion; this right includes freedom to change his religion or belief, and freedom, either alone or in community with others and in public or private, to manifest his religion or belief in teaching, practice, worship and observance.
98
99Article 19.
100
101Everyone has the right to freedom of opinion and expression; this right includes freedom to hold opinions without interference and to seek, receive and impart information and ideas through any media and regardless of frontiers.
102
103Article 20.
104
105(1) Everyone has the right to freedom of peaceful assembly and association.
106(2) No one may be compelled to belong to an association.
107
108Article 21.
109
110(1) Everyone has the right to take part in the government of his country, directly or through freely chosen representatives.
111(2) Everyone has the right of equal access to public service in his country.
112(3) The will of the people shall be the basis of the authority of government; this will shall be expressed in periodic and genuine elections which shall be by universal and equal suffrage and shall be held by secret vote or by equivalent free voting procedures.
113
114Article 22.
115
116Everyone, as a member of society, has the right to social security and is entitled to realization, through national effort and international co-operation and in accordance with the organization and resources of each State, of the economic, social and cultural rights indispensable for his dignity and the free development of his personality.
117
118Article 23.
119
120(1) Everyone has the right to work, to free choice of employment, to just and favourable conditions of work and to protection against unemployment.
121(2) Everyone, without any discrimination, has the right to equal pay for equal work.
122(3) Everyone who works has the right to just and favourable remuneration ensuring for himself and his family an existence worthy of human dignity, and supplemented, if necessary, by other means of social protection.
123(4) Everyone has the right to form and to join trade unions for the protection of his interests.
124
125Article 24.
126
127Everyone has the right to rest and leisure, including reasonable limitation of working hours and periodic holidays with pay.
128
129Article 25.
130
131(1) Everyone has the right to a standard of living adequate for the health and well-being of himself and of his family, including food, clothing, housing and medical care and necessary social services, and the right to security in the event of unemployment, sickness, disability, widowhood, old age or other lack of livelihood in circumstances beyond his control.
132(2) Motherhood and childhood are entitled to special care and assistance. All children, whether born in or out of wedlock, shall enjoy the same social protection.
133
134Article 26.
135
136(1) Everyone has the right to education. Education shall be free, at least in the elementary and fundamental stages. Elementary education shall be compulsory. Technical and professional education shall be made generally available and higher education shall be equally accessible to all on the basis of merit.
137(2) Education shall be directed to the full development of the human personality and to the strengthening of respect for human rights and fundamental freedoms. It shall promote understanding, tolerance and friendship among all nations, racial or religious groups, and shall further the activities of the United Nations for the maintenance of peace.
138(3) Parents have a prior right to choose the kind of education that shall be given to their children.
139
140Article 27.
141
142(1) Everyone has the right freely to participate in the cultural life of the community, to enjoy the arts and to share in scientific advancement and its benefits.
143(2) Everyone has the right to the protection of the moral and material interests resulting from any scientific, literary or artistic production of which he is the author.
144
145Article 28.
146
147Everyone is entitled to a social and international order in which the rights and freedoms set forth in this Declaration can be fully realized.
148
149Article 29.
150
151(1) Everyone has duties to the community in which alone the free and full development of his personality is possible.
152(2) In the exercise of his rights and freedoms, everyone shall be subject only to such limitations as are determined by law solely for the purpose of securing due recognition and respect for the rights and freedoms of others and of meeting the just requirements of morality, public order and the general welfare in a democratic society.
153(3) These rights and freedoms may in no case be exercised contrary to the purposes and principles of the United Nations.
154
155Article 30.
156
157Nothing in this Declaration may be interpreted as implying for any State, group or person any right to engage in any activity or to perform any act aimed at the destruction of any of the rights and freedoms set forth herein.
diff --git a/example/src/gallery.yaml b/example/src/gallery.yaml
index b569910..fc91313 100644
--- a/example/src/gallery.yaml
+++ b/example/src/gallery.yaml
@@ -7,6 +7,10 @@
7 7
8includedFiles: 8includedFiles:
9 - '*.jpg' 9 - '*.jpg'
10 - '*.txt'
11 - '*.pdf'
12 - '*.ogg'
13 - '*.mp4'
10 14
11#excludedFiles: 15#excludedFiles:
12# - "*.md" 16# - "*.md"