Compare commits
No commits in common. "master" and "poster" have entirely different histories.
10
.gitignore
vendored
@ -1,11 +1 @@
|
|||||||
venv/
|
venv/
|
||||||
site/*.html
|
|
||||||
site/en/*.html
|
|
||||||
site/atom_blog.xml
|
|
||||||
site/atom_events.xml
|
|
||||||
poster.html
|
|
||||||
poster.pdf
|
|
||||||
poster_light.png
|
|
||||||
poster_dark.png
|
|
||||||
http.access.log
|
|
||||||
http.error.log
|
|
||||||
|
661
LICENCE
@ -1,661 +0,0 @@
|
|||||||
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 19 November 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The GNU Affero General Public License is a free, copyleft license for
|
|
||||||
software and other kinds of works, specifically designed to ensure
|
|
||||||
cooperation with the community in the case of network server software.
|
|
||||||
|
|
||||||
The licenses for most software and other practical works are designed
|
|
||||||
to take away your freedom to share and change the works. By contrast,
|
|
||||||
our General Public Licenses are intended to guarantee your freedom to
|
|
||||||
share and change all versions of a program--to make sure it remains free
|
|
||||||
software for all its users.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
|
||||||
have the freedom to distribute copies of free software (and charge for
|
|
||||||
them if you wish), that you receive source code or can get it if you
|
|
||||||
want it, that you can change the software or use pieces of it in new
|
|
||||||
free programs, and that you know you can do these things.
|
|
||||||
|
|
||||||
Developers that use our General Public Licenses protect your rights
|
|
||||||
with two steps: (1) assert copyright on the software, and (2) offer
|
|
||||||
you this License which gives you legal permission to copy, distribute
|
|
||||||
and/or modify the software.
|
|
||||||
|
|
||||||
A secondary benefit of defending all users' freedom is that
|
|
||||||
improvements made in alternate versions of the program, if they
|
|
||||||
receive widespread use, become available for other developers to
|
|
||||||
incorporate. Many developers of free software are heartened and
|
|
||||||
encouraged by the resulting cooperation. However, in the case of
|
|
||||||
software used on network servers, this result may fail to come about.
|
|
||||||
The GNU General Public License permits making a modified version and
|
|
||||||
letting the public access it on a server without ever releasing its
|
|
||||||
source code to the public.
|
|
||||||
|
|
||||||
The GNU Affero General Public License is designed specifically to
|
|
||||||
ensure that, in such cases, the modified source code becomes available
|
|
||||||
to the community. It requires the operator of a network server to
|
|
||||||
provide the source code of the modified version running there to the
|
|
||||||
users of that server. Therefore, public use of a modified version, on
|
|
||||||
a publicly accessible server, gives the public access to the source
|
|
||||||
code of the modified version.
|
|
||||||
|
|
||||||
An older license, called the Affero General Public License and
|
|
||||||
published by Affero, was designed to accomplish similar goals. This is
|
|
||||||
a different license, not a version of the Affero GPL, but Affero has
|
|
||||||
released a new version of the Affero GPL which permits relicensing under
|
|
||||||
this license.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
0. Definitions.
|
|
||||||
|
|
||||||
"This License" refers to version 3 of the GNU Affero General Public License.
|
|
||||||
|
|
||||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
||||||
works, such as semiconductor masks.
|
|
||||||
|
|
||||||
"The Program" refers to any copyrightable work licensed under this
|
|
||||||
License. Each licensee is addressed as "you". "Licensees" and
|
|
||||||
"recipients" may be individuals or organizations.
|
|
||||||
|
|
||||||
To "modify" a work means to copy from or adapt all or part of the work
|
|
||||||
in a fashion requiring copyright permission, other than the making of an
|
|
||||||
exact copy. The resulting work is called a "modified version" of the
|
|
||||||
earlier work or a work "based on" the earlier work.
|
|
||||||
|
|
||||||
A "covered work" means either the unmodified Program or a work based
|
|
||||||
on the Program.
|
|
||||||
|
|
||||||
To "propagate" a work means to do anything with it that, without
|
|
||||||
permission, would make you directly or secondarily liable for
|
|
||||||
infringement under applicable copyright law, except executing it on a
|
|
||||||
computer or modifying a private copy. Propagation includes copying,
|
|
||||||
distribution (with or without modification), making available to the
|
|
||||||
public, and in some countries other activities as well.
|
|
||||||
|
|
||||||
To "convey" a work means any kind of propagation that enables other
|
|
||||||
parties to make or receive copies. Mere interaction with a user through
|
|
||||||
a computer network, with no transfer of a copy, is not conveying.
|
|
||||||
|
|
||||||
An interactive user interface displays "Appropriate Legal Notices"
|
|
||||||
to the extent that it includes a convenient and prominently visible
|
|
||||||
feature that (1) displays an appropriate copyright notice, and (2)
|
|
||||||
tells the user that there is no warranty for the work (except to the
|
|
||||||
extent that warranties are provided), that licensees may convey the
|
|
||||||
work under this License, and how to view a copy of this License. If
|
|
||||||
the interface presents a list of user commands or options, such as a
|
|
||||||
menu, a prominent item in the list meets this criterion.
|
|
||||||
|
|
||||||
1. Source Code.
|
|
||||||
|
|
||||||
The "source code" for a work means the preferred form of the work
|
|
||||||
for making modifications to it. "Object code" means any non-source
|
|
||||||
form of a work.
|
|
||||||
|
|
||||||
A "Standard Interface" means an interface that either is an official
|
|
||||||
standard defined by a recognized standards body, or, in the case of
|
|
||||||
interfaces specified for a particular programming language, one that
|
|
||||||
is widely used among developers working in that language.
|
|
||||||
|
|
||||||
The "System Libraries" of an executable work include anything, other
|
|
||||||
than the work as a whole, that (a) is included in the normal form of
|
|
||||||
packaging a Major Component, but which is not part of that Major
|
|
||||||
Component, and (b) serves only to enable use of the work with that
|
|
||||||
Major Component, or to implement a Standard Interface for which an
|
|
||||||
implementation is available to the public in source code form. A
|
|
||||||
"Major Component", in this context, means a major essential component
|
|
||||||
(kernel, window system, and so on) of the specific operating system
|
|
||||||
(if any) on which the executable work runs, or a compiler used to
|
|
||||||
produce the work, or an object code interpreter used to run it.
|
|
||||||
|
|
||||||
The "Corresponding Source" for a work in object code form means all
|
|
||||||
the source code needed to generate, install, and (for an executable
|
|
||||||
work) run the object code and to modify the work, including scripts to
|
|
||||||
control those activities. However, it does not include the work's
|
|
||||||
System Libraries, or general-purpose tools or generally available free
|
|
||||||
programs which are used unmodified in performing those activities but
|
|
||||||
which are not part of the work. For example, Corresponding Source
|
|
||||||
includes interface definition files associated with source files for
|
|
||||||
the work, and the source code for shared libraries and dynamically
|
|
||||||
linked subprograms that the work is specifically designed to require,
|
|
||||||
such as by intimate data communication or control flow between those
|
|
||||||
subprograms and other parts of the work.
|
|
||||||
|
|
||||||
The Corresponding Source need not include anything that users
|
|
||||||
can regenerate automatically from other parts of the Corresponding
|
|
||||||
Source.
|
|
||||||
|
|
||||||
The Corresponding Source for a work in source code form is that
|
|
||||||
same work.
|
|
||||||
|
|
||||||
2. Basic Permissions.
|
|
||||||
|
|
||||||
All rights granted under this License are granted for the term of
|
|
||||||
copyright on the Program, and are irrevocable provided the stated
|
|
||||||
conditions are met. This License explicitly affirms your unlimited
|
|
||||||
permission to run the unmodified Program. The output from running a
|
|
||||||
covered work is covered by this License only if the output, given its
|
|
||||||
content, constitutes a covered work. This License acknowledges your
|
|
||||||
rights of fair use or other equivalent, as provided by copyright law.
|
|
||||||
|
|
||||||
You may make, run and propagate covered works that you do not
|
|
||||||
convey, without conditions so long as your license otherwise remains
|
|
||||||
in force. You may convey covered works to others for the sole purpose
|
|
||||||
of having them make modifications exclusively for you, or provide you
|
|
||||||
with facilities for running those works, provided that you comply with
|
|
||||||
the terms of this License in conveying all material for which you do
|
|
||||||
not control copyright. Those thus making or running the covered works
|
|
||||||
for you must do so exclusively on your behalf, under your direction
|
|
||||||
and control, on terms that prohibit them from making any copies of
|
|
||||||
your copyrighted material outside their relationship with you.
|
|
||||||
|
|
||||||
Conveying under any other circumstances is permitted solely under
|
|
||||||
the conditions stated below. Sublicensing is not allowed; section 10
|
|
||||||
makes it unnecessary.
|
|
||||||
|
|
||||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
||||||
|
|
||||||
No covered work shall be deemed part of an effective technological
|
|
||||||
measure under any applicable law fulfilling obligations under article
|
|
||||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
|
||||||
similar laws prohibiting or restricting circumvention of such
|
|
||||||
measures.
|
|
||||||
|
|
||||||
When you convey a covered work, you waive any legal power to forbid
|
|
||||||
circumvention of technological measures to the extent such circumvention
|
|
||||||
is effected by exercising rights under this License with respect to
|
|
||||||
the covered work, and you disclaim any intention to limit operation or
|
|
||||||
modification of the work as a means of enforcing, against the work's
|
|
||||||
users, your or third parties' legal rights to forbid circumvention of
|
|
||||||
technological measures.
|
|
||||||
|
|
||||||
4. Conveying Verbatim Copies.
|
|
||||||
|
|
||||||
You may convey verbatim copies of the Program's source code as you
|
|
||||||
receive it, in any medium, provided that you conspicuously and
|
|
||||||
appropriately publish on each copy an appropriate copyright notice;
|
|
||||||
keep intact all notices stating that this License and any
|
|
||||||
non-permissive terms added in accord with section 7 apply to the code;
|
|
||||||
keep intact all notices of the absence of any warranty; and give all
|
|
||||||
recipients a copy of this License along with the Program.
|
|
||||||
|
|
||||||
You may charge any price or no price for each copy that you convey,
|
|
||||||
and you may offer support or warranty protection for a fee.
|
|
||||||
|
|
||||||
5. Conveying Modified Source Versions.
|
|
||||||
|
|
||||||
You may convey a work based on the Program, or the modifications to
|
|
||||||
produce it from the Program, in the form of source code under the
|
|
||||||
terms of section 4, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) The work must carry prominent notices stating that you modified
|
|
||||||
it, and giving a relevant date.
|
|
||||||
|
|
||||||
b) The work must carry prominent notices stating that it is
|
|
||||||
released under this License and any conditions added under section
|
|
||||||
7. This requirement modifies the requirement in section 4 to
|
|
||||||
"keep intact all notices".
|
|
||||||
|
|
||||||
c) You must license the entire work, as a whole, under this
|
|
||||||
License to anyone who comes into possession of a copy. This
|
|
||||||
License will therefore apply, along with any applicable section 7
|
|
||||||
additional terms, to the whole of the work, and all its parts,
|
|
||||||
regardless of how they are packaged. This License gives no
|
|
||||||
permission to license the work in any other way, but it does not
|
|
||||||
invalidate such permission if you have separately received it.
|
|
||||||
|
|
||||||
d) If the work has interactive user interfaces, each must display
|
|
||||||
Appropriate Legal Notices; however, if the Program has interactive
|
|
||||||
interfaces that do not display Appropriate Legal Notices, your
|
|
||||||
work need not make them do so.
|
|
||||||
|
|
||||||
A compilation of a covered work with other separate and independent
|
|
||||||
works, which are not by their nature extensions of the covered work,
|
|
||||||
and which are not combined with it such as to form a larger program,
|
|
||||||
in or on a volume of a storage or distribution medium, is called an
|
|
||||||
"aggregate" if the compilation and its resulting copyright are not
|
|
||||||
used to limit the access or legal rights of the compilation's users
|
|
||||||
beyond what the individual works permit. Inclusion of a covered work
|
|
||||||
in an aggregate does not cause this License to apply to the other
|
|
||||||
parts of the aggregate.
|
|
||||||
|
|
||||||
6. Conveying Non-Source Forms.
|
|
||||||
|
|
||||||
You may convey a covered work in object code form under the terms
|
|
||||||
of sections 4 and 5, provided that you also convey the
|
|
||||||
machine-readable Corresponding Source under the terms of this License,
|
|
||||||
in one of these ways:
|
|
||||||
|
|
||||||
a) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by the
|
|
||||||
Corresponding Source fixed on a durable physical medium
|
|
||||||
customarily used for software interchange.
|
|
||||||
|
|
||||||
b) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by a
|
|
||||||
written offer, valid for at least three years and valid for as
|
|
||||||
long as you offer spare parts or customer support for that product
|
|
||||||
model, to give anyone who possesses the object code either (1) a
|
|
||||||
copy of the Corresponding Source for all the software in the
|
|
||||||
product that is covered by this License, on a durable physical
|
|
||||||
medium customarily used for software interchange, for a price no
|
|
||||||
more than your reasonable cost of physically performing this
|
|
||||||
conveying of source, or (2) access to copy the
|
|
||||||
Corresponding Source from a network server at no charge.
|
|
||||||
|
|
||||||
c) Convey individual copies of the object code with a copy of the
|
|
||||||
written offer to provide the Corresponding Source. This
|
|
||||||
alternative is allowed only occasionally and noncommercially, and
|
|
||||||
only if you received the object code with such an offer, in accord
|
|
||||||
with subsection 6b.
|
|
||||||
|
|
||||||
d) Convey the object code by offering access from a designated
|
|
||||||
place (gratis or for a charge), and offer equivalent access to the
|
|
||||||
Corresponding Source in the same way through the same place at no
|
|
||||||
further charge. You need not require recipients to copy the
|
|
||||||
Corresponding Source along with the object code. If the place to
|
|
||||||
copy the object code is a network server, the Corresponding Source
|
|
||||||
may be on a different server (operated by you or a third party)
|
|
||||||
that supports equivalent copying facilities, provided you maintain
|
|
||||||
clear directions next to the object code saying where to find the
|
|
||||||
Corresponding Source. Regardless of what server hosts the
|
|
||||||
Corresponding Source, you remain obligated to ensure that it is
|
|
||||||
available for as long as needed to satisfy these requirements.
|
|
||||||
|
|
||||||
e) Convey the object code using peer-to-peer transmission, provided
|
|
||||||
you inform other peers where the object code and Corresponding
|
|
||||||
Source of the work are being offered to the general public at no
|
|
||||||
charge under subsection 6d.
|
|
||||||
|
|
||||||
A separable portion of the object code, whose source code is excluded
|
|
||||||
from the Corresponding Source as a System Library, need not be
|
|
||||||
included in conveying the object code work.
|
|
||||||
|
|
||||||
A "User Product" is either (1) a "consumer product", which means any
|
|
||||||
tangible personal property which is normally used for personal, family,
|
|
||||||
or household purposes, or (2) anything designed or sold for incorporation
|
|
||||||
into a dwelling. In determining whether a product is a consumer product,
|
|
||||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
|
||||||
product received by a particular user, "normally used" refers to a
|
|
||||||
typical or common use of that class of product, regardless of the status
|
|
||||||
of the particular user or of the way in which the particular user
|
|
||||||
actually uses, or expects or is expected to use, the product. A product
|
|
||||||
is a consumer product regardless of whether the product has substantial
|
|
||||||
commercial, industrial or non-consumer uses, unless such uses represent
|
|
||||||
the only significant mode of use of the product.
|
|
||||||
|
|
||||||
"Installation Information" for a User Product means any methods,
|
|
||||||
procedures, authorization keys, or other information required to install
|
|
||||||
and execute modified versions of a covered work in that User Product from
|
|
||||||
a modified version of its Corresponding Source. The information must
|
|
||||||
suffice to ensure that the continued functioning of the modified object
|
|
||||||
code is in no case prevented or interfered with solely because
|
|
||||||
modification has been made.
|
|
||||||
|
|
||||||
If you convey an object code work under this section in, or with, or
|
|
||||||
specifically for use in, a User Product, and the conveying occurs as
|
|
||||||
part of a transaction in which the right of possession and use of the
|
|
||||||
User Product is transferred to the recipient in perpetuity or for a
|
|
||||||
fixed term (regardless of how the transaction is characterized), the
|
|
||||||
Corresponding Source conveyed under this section must be accompanied
|
|
||||||
by the Installation Information. But this requirement does not apply
|
|
||||||
if neither you nor any third party retains the ability to install
|
|
||||||
modified object code on the User Product (for example, the work has
|
|
||||||
been installed in ROM).
|
|
||||||
|
|
||||||
The requirement to provide Installation Information does not include a
|
|
||||||
requirement to continue to provide support service, warranty, or updates
|
|
||||||
for a work that has been modified or installed by the recipient, or for
|
|
||||||
the User Product in which it has been modified or installed. Access to a
|
|
||||||
network may be denied when the modification itself materially and
|
|
||||||
adversely affects the operation of the network or violates the rules and
|
|
||||||
protocols for communication across the network.
|
|
||||||
|
|
||||||
Corresponding Source conveyed, and Installation Information provided,
|
|
||||||
in accord with this section must be in a format that is publicly
|
|
||||||
documented (and with an implementation available to the public in
|
|
||||||
source code form), and must require no special password or key for
|
|
||||||
unpacking, reading or copying.
|
|
||||||
|
|
||||||
7. Additional Terms.
|
|
||||||
|
|
||||||
"Additional permissions" are terms that supplement the terms of this
|
|
||||||
License by making exceptions from one or more of its conditions.
|
|
||||||
Additional permissions that are applicable to the entire Program shall
|
|
||||||
be treated as though they were included in this License, to the extent
|
|
||||||
that they are valid under applicable law. If additional permissions
|
|
||||||
apply only to part of the Program, that part may be used separately
|
|
||||||
under those permissions, but the entire Program remains governed by
|
|
||||||
this License without regard to the additional permissions.
|
|
||||||
|
|
||||||
When you convey a copy of a covered work, you may at your option
|
|
||||||
remove any additional permissions from that copy, or from any part of
|
|
||||||
it. (Additional permissions may be written to require their own
|
|
||||||
removal in certain cases when you modify the work.) You may place
|
|
||||||
additional permissions on material, added by you to a covered work,
|
|
||||||
for which you have or can give appropriate copyright permission.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, for material you
|
|
||||||
add to a covered work, you may (if authorized by the copyright holders of
|
|
||||||
that material) supplement the terms of this License with terms:
|
|
||||||
|
|
||||||
a) Disclaiming warranty or limiting liability differently from the
|
|
||||||
terms of sections 15 and 16 of this License; or
|
|
||||||
|
|
||||||
b) Requiring preservation of specified reasonable legal notices or
|
|
||||||
author attributions in that material or in the Appropriate Legal
|
|
||||||
Notices displayed by works containing it; or
|
|
||||||
|
|
||||||
c) Prohibiting misrepresentation of the origin of that material, or
|
|
||||||
requiring that modified versions of such material be marked in
|
|
||||||
reasonable ways as different from the original version; or
|
|
||||||
|
|
||||||
d) Limiting the use for publicity purposes of names of licensors or
|
|
||||||
authors of the material; or
|
|
||||||
|
|
||||||
e) Declining to grant rights under trademark law for use of some
|
|
||||||
trade names, trademarks, or service marks; or
|
|
||||||
|
|
||||||
f) Requiring indemnification of licensors and authors of that
|
|
||||||
material by anyone who conveys the material (or modified versions of
|
|
||||||
it) with contractual assumptions of liability to the recipient, for
|
|
||||||
any liability that these contractual assumptions directly impose on
|
|
||||||
those licensors and authors.
|
|
||||||
|
|
||||||
All other non-permissive additional terms are considered "further
|
|
||||||
restrictions" within the meaning of section 10. If the Program as you
|
|
||||||
received it, or any part of it, contains a notice stating that it is
|
|
||||||
governed by this License along with a term that is a further
|
|
||||||
restriction, you may remove that term. If a license document contains
|
|
||||||
a further restriction but permits relicensing or conveying under this
|
|
||||||
License, you may add to a covered work material governed by the terms
|
|
||||||
of that license document, provided that the further restriction does
|
|
||||||
not survive such relicensing or conveying.
|
|
||||||
|
|
||||||
If you add terms to a covered work in accord with this section, you
|
|
||||||
must place, in the relevant source files, a statement of the
|
|
||||||
additional terms that apply to those files, or a notice indicating
|
|
||||||
where to find the applicable terms.
|
|
||||||
|
|
||||||
Additional terms, permissive or non-permissive, may be stated in the
|
|
||||||
form of a separately written license, or stated as exceptions;
|
|
||||||
the above requirements apply either way.
|
|
||||||
|
|
||||||
8. Termination.
|
|
||||||
|
|
||||||
You may not propagate or modify a covered work except as expressly
|
|
||||||
provided under this License. Any attempt otherwise to propagate or
|
|
||||||
modify it is void, and will automatically terminate your rights under
|
|
||||||
this License (including any patent licenses granted under the third
|
|
||||||
paragraph of section 11).
|
|
||||||
|
|
||||||
However, if you cease all violation of this License, then your
|
|
||||||
license from a particular copyright holder is reinstated (a)
|
|
||||||
provisionally, unless and until the copyright holder explicitly and
|
|
||||||
finally terminates your license, and (b) permanently, if the copyright
|
|
||||||
holder fails to notify you of the violation by some reasonable means
|
|
||||||
prior to 60 days after the cessation.
|
|
||||||
|
|
||||||
Moreover, your license from a particular copyright holder is
|
|
||||||
reinstated permanently if the copyright holder notifies you of the
|
|
||||||
violation by some reasonable means, this is the first time you have
|
|
||||||
received notice of violation of this License (for any work) from that
|
|
||||||
copyright holder, and you cure the violation prior to 30 days after
|
|
||||||
your receipt of the notice.
|
|
||||||
|
|
||||||
Termination of your rights under this section does not terminate the
|
|
||||||
licenses of parties who have received copies or rights from you under
|
|
||||||
this License. If your rights have been terminated and not permanently
|
|
||||||
reinstated, you do not qualify to receive new licenses for the same
|
|
||||||
material under section 10.
|
|
||||||
|
|
||||||
9. Acceptance Not Required for Having Copies.
|
|
||||||
|
|
||||||
You are not required to accept this License in order to receive or
|
|
||||||
run a copy of the Program. Ancillary propagation of a covered work
|
|
||||||
occurring solely as a consequence of using peer-to-peer transmission
|
|
||||||
to receive a copy likewise does not require acceptance. However,
|
|
||||||
nothing other than this License grants you permission to propagate or
|
|
||||||
modify any covered work. These actions infringe copyright if you do
|
|
||||||
not accept this License. Therefore, by modifying or propagating a
|
|
||||||
covered work, you indicate your acceptance of this License to do so.
|
|
||||||
|
|
||||||
10. Automatic Licensing of Downstream Recipients.
|
|
||||||
|
|
||||||
Each time you convey a covered work, the recipient automatically
|
|
||||||
receives a license from the original licensors, to run, modify and
|
|
||||||
propagate that work, subject to this License. You are not responsible
|
|
||||||
for enforcing compliance by third parties with this License.
|
|
||||||
|
|
||||||
An "entity transaction" is a transaction transferring control of an
|
|
||||||
organization, or substantially all assets of one, or subdividing an
|
|
||||||
organization, or merging organizations. If propagation of a covered
|
|
||||||
work results from an entity transaction, each party to that
|
|
||||||
transaction who receives a copy of the work also receives whatever
|
|
||||||
licenses to the work the party's predecessor in interest had or could
|
|
||||||
give under the previous paragraph, plus a right to possession of the
|
|
||||||
Corresponding Source of the work from the predecessor in interest, if
|
|
||||||
the predecessor has it or can get it with reasonable efforts.
|
|
||||||
|
|
||||||
You may not impose any further restrictions on the exercise of the
|
|
||||||
rights granted or affirmed under this License. For example, you may
|
|
||||||
not impose a license fee, royalty, or other charge for exercise of
|
|
||||||
rights granted under this License, and you may not initiate litigation
|
|
||||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
||||||
any patent claim is infringed by making, using, selling, offering for
|
|
||||||
sale, or importing the Program or any portion of it.
|
|
||||||
|
|
||||||
11. Patents.
|
|
||||||
|
|
||||||
A "contributor" is a copyright holder who authorizes use under this
|
|
||||||
License of the Program or a work on which the Program is based. The
|
|
||||||
work thus licensed is called the contributor's "contributor version".
|
|
||||||
|
|
||||||
A contributor's "essential patent claims" are all patent claims
|
|
||||||
owned or controlled by the contributor, whether already acquired or
|
|
||||||
hereafter acquired, that would be infringed by some manner, permitted
|
|
||||||
by this License, of making, using, or selling its contributor version,
|
|
||||||
but do not include claims that would be infringed only as a
|
|
||||||
consequence of further modification of the contributor version. For
|
|
||||||
purposes of this definition, "control" includes the right to grant
|
|
||||||
patent sublicenses in a manner consistent with the requirements of
|
|
||||||
this License.
|
|
||||||
|
|
||||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
|
||||||
patent license under the contributor's essential patent claims, to
|
|
||||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
|
||||||
propagate the contents of its contributor version.
|
|
||||||
|
|
||||||
In the following three paragraphs, a "patent license" is any express
|
|
||||||
agreement or commitment, however denominated, not to enforce a patent
|
|
||||||
(such as an express permission to practice a patent or covenant not to
|
|
||||||
sue for patent infringement). To "grant" such a patent license to a
|
|
||||||
party means to make such an agreement or commitment not to enforce a
|
|
||||||
patent against the party.
|
|
||||||
|
|
||||||
If you convey a covered work, knowingly relying on a patent license,
|
|
||||||
and the Corresponding Source of the work is not available for anyone
|
|
||||||
to copy, free of charge and under the terms of this License, through a
|
|
||||||
publicly available network server or other readily accessible means,
|
|
||||||
then you must either (1) cause the Corresponding Source to be so
|
|
||||||
available, or (2) arrange to deprive yourself of the benefit of the
|
|
||||||
patent license for this particular work, or (3) arrange, in a manner
|
|
||||||
consistent with the requirements of this License, to extend the patent
|
|
||||||
license to downstream recipients. "Knowingly relying" means you have
|
|
||||||
actual knowledge that, but for the patent license, your conveying the
|
|
||||||
covered work in a country, or your recipient's use of the covered work
|
|
||||||
in a country, would infringe one or more identifiable patents in that
|
|
||||||
country that you have reason to believe are valid.
|
|
||||||
|
|
||||||
If, pursuant to or in connection with a single transaction or
|
|
||||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
|
||||||
covered work, and grant a patent license to some of the parties
|
|
||||||
receiving the covered work authorizing them to use, propagate, modify
|
|
||||||
or convey a specific copy of the covered work, then the patent license
|
|
||||||
you grant is automatically extended to all recipients of the covered
|
|
||||||
work and works based on it.
|
|
||||||
|
|
||||||
A patent license is "discriminatory" if it does not include within
|
|
||||||
the scope of its coverage, prohibits the exercise of, or is
|
|
||||||
conditioned on the non-exercise of one or more of the rights that are
|
|
||||||
specifically granted under this License. You may not convey a covered
|
|
||||||
work if you are a party to an arrangement with a third party that is
|
|
||||||
in the business of distributing software, under which you make payment
|
|
||||||
to the third party based on the extent of your activity of conveying
|
|
||||||
the work, and under which the third party grants, to any of the
|
|
||||||
parties who would receive the covered work from you, a discriminatory
|
|
||||||
patent license (a) in connection with copies of the covered work
|
|
||||||
conveyed by you (or copies made from those copies), or (b) primarily
|
|
||||||
for and in connection with specific products or compilations that
|
|
||||||
contain the covered work, unless you entered into that arrangement,
|
|
||||||
or that patent license was granted, prior to 28 March 2007.
|
|
||||||
|
|
||||||
Nothing in this License shall be construed as excluding or limiting
|
|
||||||
any implied license or other defenses to infringement that may
|
|
||||||
otherwise be available to you under applicable patent law.
|
|
||||||
|
|
||||||
12. No Surrender of Others' Freedom.
|
|
||||||
|
|
||||||
If conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot convey a
|
|
||||||
covered work so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you may
|
|
||||||
not convey it at all. For example, if you agree to terms that obligate you
|
|
||||||
to collect a royalty for further conveying from those to whom you convey
|
|
||||||
the Program, the only way you could satisfy both those terms and this
|
|
||||||
License would be to refrain entirely from conveying the Program.
|
|
||||||
|
|
||||||
13. Remote Network Interaction; Use with the GNU General Public License.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, if you modify the
|
|
||||||
Program, your modified version must prominently offer all users
|
|
||||||
interacting with it remotely through a computer network (if your version
|
|
||||||
supports such interaction) an opportunity to receive the Corresponding
|
|
||||||
Source of your version by providing access to the Corresponding Source
|
|
||||||
from a network server at no charge, through some standard or customary
|
|
||||||
means of facilitating copying of software. This Corresponding Source
|
|
||||||
shall include the Corresponding Source for any work covered by version 3
|
|
||||||
of the GNU General Public License that is incorporated pursuant to the
|
|
||||||
following paragraph.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, you have
|
|
||||||
permission to link or combine any covered work with a work licensed
|
|
||||||
under version 3 of the GNU General Public License into a single
|
|
||||||
combined work, and to convey the resulting work. The terms of this
|
|
||||||
License will continue to apply to the part which is the covered work,
|
|
||||||
but the work with which it is combined will remain governed by version
|
|
||||||
3 of the GNU General Public License.
|
|
||||||
|
|
||||||
14. Revised Versions of this License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions of
|
|
||||||
the GNU Affero General Public License from time to time. Such new versions
|
|
||||||
will be similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Program specifies that a certain numbered version of the GNU Affero General
|
|
||||||
Public License "or any later version" applies to it, you have the
|
|
||||||
option of following the terms and conditions either of that numbered
|
|
||||||
version or of any later version published by the Free Software
|
|
||||||
Foundation. If the Program does not specify a version number of the
|
|
||||||
GNU Affero General Public License, you may choose any version ever published
|
|
||||||
by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Program specifies that a proxy can decide which future
|
|
||||||
versions of the GNU Affero General Public License can be used, that proxy's
|
|
||||||
public statement of acceptance of a version permanently authorizes you
|
|
||||||
to choose that version for the Program.
|
|
||||||
|
|
||||||
Later license versions may give you additional or different
|
|
||||||
permissions. However, no additional obligations are imposed on any
|
|
||||||
author or copyright holder as a result of your choosing to follow a
|
|
||||||
later version.
|
|
||||||
|
|
||||||
15. Disclaimer of Warranty.
|
|
||||||
|
|
||||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
|
||||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
|
||||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
|
||||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
|
||||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
|
||||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
16. Limitation of Liability.
|
|
||||||
|
|
||||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
|
||||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
|
||||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
|
||||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
|
||||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
|
||||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
|
||||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGES.
|
|
||||||
|
|
||||||
17. Interpretation of Sections 15 and 16.
|
|
||||||
|
|
||||||
If the disclaimer of warranty and limitation of liability provided
|
|
||||||
above cannot be given local legal effect according to their terms,
|
|
||||||
reviewing courts shall apply local law that most closely approximates
|
|
||||||
an absolute waiver of all civil liability in connection with the
|
|
||||||
Program, unless a warranty or assumption of liability accompanies a
|
|
||||||
copy of the Program in return for a fee.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
|
||||||
possible use to the public, the best way to achieve this is to make it
|
|
||||||
free software which everyone can redistribute and change under these terms.
|
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
|
||||||
to attach them to the start of each source file to most effectively
|
|
||||||
state the exclusion of warranty; and each file should have at least
|
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
|
||||||
Copyright (C) <year> <name of author>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If your software can interact with users remotely through a computer
|
|
||||||
network, you should also make sure that it provides a way for users to
|
|
||||||
get its source. For example, if your program is a web application, its
|
|
||||||
interface could display a "Source" link that leads users to an archive
|
|
||||||
of the code. There are many ways you could offer source, and different
|
|
||||||
solutions will be better for different programs; see section 13 for the
|
|
||||||
specific requirements.
|
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or school,
|
|
||||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
||||||
For more information on this, and how to apply and follow the GNU AGPL, see
|
|
||||||
<https://www.gnu.org/licenses/>.
|
|
56
README.md
@ -2,41 +2,27 @@
|
|||||||
|
|
||||||
Redisign of dmz.rs .
|
Redisign of dmz.rs .
|
||||||
|
|
||||||
## Build site
|
# STILL NOT COMPLETED
|
||||||
|
|
||||||
Run
|
### TODO:
|
||||||
|
|
||||||
```
|
- [x] create themes switcher
|
||||||
python atom_gen.py
|
- [x] "demo"
|
||||||
python prep.py
|
- [x] propagate to all pages
|
||||||
python build_pages.py
|
- [x] store theme to localStorage
|
||||||
```
|
- [x] read "user agent" for default theme
|
||||||
|
- [x] invert images and icons
|
||||||
|
- update projects section
|
||||||
|
- create blogging system
|
||||||
|
- create xmpp bot that connects to events section.
|
||||||
|
- [ ] make responsive
|
||||||
|
- create menus for smaller screens
|
||||||
|
- [x] created one menu
|
||||||
|
- this might be enough
|
||||||
|
- [x] adjust the mesh depending on the screen size
|
||||||
|
- no mesh on small screens
|
||||||
|
- tweak other random issues with layout
|
||||||
|
- make webring system
|
||||||
|
- make english version (localisation)
|
||||||
|
|
||||||
Complete website will be contained in `site/`. You can copy this to server.
|
<!-- there is no place like ~/home -->
|
||||||
|
|
||||||
## Development server
|
|
||||||
|
|
||||||
To start a development server, first build site, then run (possibly with `sudo`)
|
|
||||||
|
|
||||||
```
|
|
||||||
nginx -p . -c nginx.dev.conf
|
|
||||||
```
|
|
||||||
|
|
||||||
To stop it:
|
|
||||||
|
|
||||||
```
|
|
||||||
nginx -p . -s stop
|
|
||||||
```
|
|
||||||
|
|
||||||
## TODO:
|
|
||||||
|
|
||||||
- [x] create page builder
|
|
||||||
- rename `prep.py` to more informative name (`build_events.py`)
|
|
||||||
- [ ] create blogging system
|
|
||||||
- [ ] create xmpp bot that connects to events section.
|
|
||||||
- [ ] webring system
|
|
||||||
- [x] make page
|
|
||||||
- [ ] populate page
|
|
||||||
- [x] make english version
|
|
||||||
- double check spelling and wording
|
|
||||||
- add account and donations page and style them with the site style
|
|
||||||
|
73
atom_gen.py
@ -1,73 +0,0 @@
|
|||||||
#! /usr/bin/env python3
|
|
||||||
|
|
||||||
# needs lowdown and feegden installed
|
|
||||||
# feedgen can be installed with pip
|
|
||||||
# also expects that *.md files are in blog/ directory
|
|
||||||
|
|
||||||
from feedgen.feed import FeedGenerator
|
|
||||||
import datetime
|
|
||||||
import subprocess
|
|
||||||
import os
|
|
||||||
|
|
||||||
blogs_dir = os.fsencode("blog")
|
|
||||||
|
|
||||||
def blogposts_list_gen():
|
|
||||||
output_list = []
|
|
||||||
for file in os.listdir(blogs_dir):
|
|
||||||
filename = os.fsdecode(file)
|
|
||||||
if filename.endswith(".md"):
|
|
||||||
full_path = "blog/" + filename
|
|
||||||
|
|
||||||
author = subprocess.run("lowdown -X author " + full_path, capture_output=True, shell=True, text=True).stdout.strip()
|
|
||||||
title = subprocess.run("lowdown -X title " + full_path, capture_output=True, shell=True, text=True).stdout.strip()
|
|
||||||
time = subprocess.run("lowdown -X time " + full_path, capture_output=True, shell=True, text=True).stdout.strip()
|
|
||||||
content_html = subprocess.run("lowdown " + full_path, capture_output=True, shell=True, text=True).stdout.strip()
|
|
||||||
|
|
||||||
output_list.append([author, title, time, content_html, full_path])
|
|
||||||
return output_list
|
|
||||||
|
|
||||||
def events_list_gen():
|
|
||||||
output_list = []
|
|
||||||
events_file = open("dogadjaji.csv", "r")
|
|
||||||
for line in events_file.readlines():
|
|
||||||
date, time, location, title = line.split(", ")
|
|
||||||
author = "Decentrala"
|
|
||||||
content_html = f"Event is taking place at {location} on {date} at {time}. For more information see the forum at https://forum.dmz.rs"
|
|
||||||
|
|
||||||
output_list.append([author, title, content_html])
|
|
||||||
events_file.close()
|
|
||||||
return output_list
|
|
||||||
|
|
||||||
def feedgen(blogs, events):
|
|
||||||
fg_blog = FeedGenerator()
|
|
||||||
fg_blog.id('http://dmz.rs/')
|
|
||||||
fg_blog.title('Decentrala Blog')
|
|
||||||
fg_blog.author( {'name':'Decentrala','email':'dmz@dmz.rs'} )
|
|
||||||
fg_blog.link( href='https://dmz.rs/atom_blog.xml', rel='self' )
|
|
||||||
|
|
||||||
fg_events = FeedGenerator()
|
|
||||||
fg_events.id('http://dmz.rs/')
|
|
||||||
fg_events.title('Decentrala Blog')
|
|
||||||
fg_events.author( {'name':'Decentrala','email':'dmz@dmz.rs'} )
|
|
||||||
fg_events.link( href='https://dmz.rs/atom_events.xml', rel='self' )
|
|
||||||
|
|
||||||
for post in blogs:
|
|
||||||
fe_blogs = fg_blog.add_entry()
|
|
||||||
fe_blogs.id("https://dmz.rs/" + post[4][:-3] + ".html")
|
|
||||||
fe_blogs.author({'name': post[0]})
|
|
||||||
fe_blogs.title(post[1])
|
|
||||||
fe_blogs.updated(post[2])
|
|
||||||
fe_blogs.content(content=post[3], type='html')
|
|
||||||
|
|
||||||
for event in events:
|
|
||||||
fe_events = fg_events.add_entry()
|
|
||||||
fe_events.id("https://dmz.rs/pages/events.html")
|
|
||||||
fe_events.author({'name': event[0]})
|
|
||||||
fe_events.title(event[1])
|
|
||||||
fe_events.updated(datetime.datetime.now(datetime.timezone.utc))
|
|
||||||
fe_events.content(content=event[2], type='html')
|
|
||||||
|
|
||||||
fg_blog.atom_file('site/atom_blog.xml')
|
|
||||||
fg_events.atom_file('site/atom_events.xml')
|
|
||||||
|
|
||||||
feedgen(blogposts_list_gen(), events_list_gen())
|
|
1
blog.py
Executable file → Normal file
@ -1,4 +1,3 @@
|
|||||||
#! /usr/bin/env python3
|
|
||||||
# just testing markdown library for now
|
# just testing markdown library for now
|
||||||
|
|
||||||
from markdown import markdown as to_markdown
|
from markdown import markdown as to_markdown
|
||||||
|
43
blogs/Lorem Ipsum.html
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<h1>Nulla possent lacrimas huius</h1>
|
||||||
|
<h2>Fratres quoque</h2>
|
||||||
|
<p>Lorem markdownum pariter: lata per tuae quo salus rorant septemfluus mecum
|
||||||
|
summisque feres potes Ulixes. Aeacus Tritonida reicere non convocat pariter
|
||||||
|
neque arma refovet quoque stabunt in. Velamina inrita, silvestribus, ut sarcina
|
||||||
|
memori, bellaque dummodo.</p>
|
||||||
|
<p>Factis dixit macies coissent! Nactasque molliter quam in memorant velamine;
|
||||||
|
praemia mundi <em>illo</em> Achille <strong>de</strong>.</p>
|
||||||
|
<h2>Velut Procrin</h2>
|
||||||
|
<p>Vobis <a href="http://www.palmae.net/aquis-inmota.html">grave</a> fessos ita Belides; poena
|
||||||
|
hora oculis celebrandaque audita guttur ad custodia exprobravit. Pacis monuere
|
||||||
|
et crimen loquor <em>contigit quae</em>! Nondum iudex, auro moratur rogaberis manet.
|
||||||
|
Faciem in dolor adusque, sum soror pectoris in reppulit superest caesis, Hebrum
|
||||||
|
e natura sonabunt. Incensaque An monitae, in animoque vulnerat terra cavo
|
||||||
|
torquet qui humili perque, cristis alii fruitur adacto.</p>
|
||||||
|
<ul>
|
||||||
|
<li>Est velavit idem</li>
|
||||||
|
<li>Naupliades tenebant instanti ense iactura ut nutantem</li>
|
||||||
|
<li>Miserarum corpore habet</li>
|
||||||
|
</ul>
|
||||||
|
<h2>Ad utque sic Charybdis iamque sequenti genitore</h2>
|
||||||
|
<p>Hesperien arida. Tibi caelo clavigeram saxoque capillos doleamne faveas testes
|
||||||
|
senex <strong>rudente lacrimis</strong> insula Cnosiacaeque? Dant ablato adulterium gemino,
|
||||||
|
pluvialibus una, dependent iactura illum redit atque dixi pondera. Eumque
|
||||||
|
sanguis errare, formasque parabat volubilibus satis creaverat dextera Iuppiter
|
||||||
|
te sero, est. Opem duceret quam tum pollentibus ramumque tauri; at Saturnia
|
||||||
|
erigitur imitamine ferens adunca delapsaque viminis, terras.</p>
|
||||||
|
<h2>Denique ostendit femina tamen</h2>
|
||||||
|
<p>Telum in ab utque ut et mihi <strong>auras Midan</strong> meo genus membra comites ne. Orbis
|
||||||
|
via necis. Romana deus, sub frangunt furor crepuscula equorum Teleboasque templa
|
||||||
|
virgineumque belua obsita est. Fragorem Somnus; ducebas placido oscula.</p>
|
||||||
|
<blockquote>
|
||||||
|
<p>Inmota manifesta producit, inquit verbisque fluctus iamque, quo fuerat ipse
|
||||||
|
nostra, iussit <strong>nec tenebat</strong>. Pars procul, pietate crinales meus <em>totiens</em>
|
||||||
|
haustus frondes, per sedebat. Domum vincite.</p>
|
||||||
|
</blockquote>
|
||||||
|
<h2>De curaque quoque reddat numina quae veniam</h2>
|
||||||
|
<p>Fessus iacit tantum elimat a medios vinoque finita adspergine liquerat munere
|
||||||
|
vultibus Atridae pecus positoque reluxit. Veniebat videtur laesae quod vacca,
|
||||||
|
lolium neu Perseus fraude nominibus contraria.</p>
|
||||||
|
<p>Parat <strong>ferus</strong> in actis terebrata animaeque <strong>quoque</strong>, deos et morte agitantem
|
||||||
|
ore. Proelia casus Gryneus. Quis mihi <em>ille cur</em> Assyrius per siquis, ille
|
||||||
|
Hecabe Arethusa, erigite perfectis.</p>
|
53
blogs/Lorem Ipsum.md
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
# Nulla possent lacrimas huius
|
||||||
|
|
||||||
|
## Fratres quoque
|
||||||
|
|
||||||
|
Lorem markdownum pariter: lata per tuae quo salus rorant septemfluus mecum
|
||||||
|
summisque feres potes Ulixes. Aeacus Tritonida reicere non convocat pariter
|
||||||
|
neque arma refovet quoque stabunt in. Velamina inrita, silvestribus, ut sarcina
|
||||||
|
memori, bellaque dummodo.
|
||||||
|
|
||||||
|
Factis dixit macies coissent! Nactasque molliter quam in memorant velamine;
|
||||||
|
praemia mundi *illo* Achille **de**.
|
||||||
|
|
||||||
|
## Velut Procrin
|
||||||
|
|
||||||
|
Vobis [grave](http://www.palmae.net/aquis-inmota.html) fessos ita Belides; poena
|
||||||
|
hora oculis celebrandaque audita guttur ad custodia exprobravit. Pacis monuere
|
||||||
|
et crimen loquor *contigit quae*! Nondum iudex, auro moratur rogaberis manet.
|
||||||
|
Faciem in dolor adusque, sum soror pectoris in reppulit superest caesis, Hebrum
|
||||||
|
e natura sonabunt. Incensaque An monitae, in animoque vulnerat terra cavo
|
||||||
|
torquet qui humili perque, cristis alii fruitur adacto.
|
||||||
|
|
||||||
|
- Est velavit idem
|
||||||
|
- Naupliades tenebant instanti ense iactura ut nutantem
|
||||||
|
- Miserarum corpore habet
|
||||||
|
|
||||||
|
## Ad utque sic Charybdis iamque sequenti genitore
|
||||||
|
|
||||||
|
Hesperien arida. Tibi caelo clavigeram saxoque capillos doleamne faveas testes
|
||||||
|
senex **rudente lacrimis** insula Cnosiacaeque? Dant ablato adulterium gemino,
|
||||||
|
pluvialibus una, dependent iactura illum redit atque dixi pondera. Eumque
|
||||||
|
sanguis errare, formasque parabat volubilibus satis creaverat dextera Iuppiter
|
||||||
|
te sero, est. Opem duceret quam tum pollentibus ramumque tauri; at Saturnia
|
||||||
|
erigitur imitamine ferens adunca delapsaque viminis, terras.
|
||||||
|
|
||||||
|
## Denique ostendit femina tamen
|
||||||
|
|
||||||
|
Telum in ab utque ut et mihi **auras Midan** meo genus membra comites ne. Orbis
|
||||||
|
via necis. Romana deus, sub frangunt furor crepuscula equorum Teleboasque templa
|
||||||
|
virgineumque belua obsita est. Fragorem Somnus; ducebas placido oscula.
|
||||||
|
|
||||||
|
> Inmota manifesta producit, inquit verbisque fluctus iamque, quo fuerat ipse
|
||||||
|
> nostra, iussit **nec tenebat**. Pars procul, pietate crinales meus *totiens*
|
||||||
|
> haustus frondes, per sedebat. Domum vincite.
|
||||||
|
|
||||||
|
## De curaque quoque reddat numina quae veniam
|
||||||
|
|
||||||
|
Fessus iacit tantum elimat a medios vinoque finita adspergine liquerat munere
|
||||||
|
vultibus Atridae pecus positoque reluxit. Veniebat videtur laesae quod vacca,
|
||||||
|
lolium neu Perseus fraude nominibus contraria.
|
||||||
|
|
||||||
|
Parat **ferus** in actis terebrata animaeque **quoque**, deos et morte agitantem
|
||||||
|
ore. Proelia casus Gryneus. Quis mihi *ille cur* Assyrius per siquis, ille
|
||||||
|
Hecabe Arethusa, erigite perfectis.
|
@ -1,42 +0,0 @@
|
|||||||
#! /usr/bin/env python3
|
|
||||||
import os
|
|
||||||
|
|
||||||
PAGES = [
|
|
||||||
{'name': 'index', 'titleSR': 'Početna', 'titleEN': 'Home', 'style': 'home'},
|
|
||||||
{'name': 'account', 'titleSR': 'Nalog', 'titleEN': 'Account', 'style': 'account'},
|
|
||||||
{'name': 'contact', 'titleSR': 'Kontakt', 'titleEN': 'Contact', 'style': 'contact'},
|
|
||||||
{'name': 'events', 'titleSR': 'Događaji', 'titleEN': 'Events', 'style': 'events'},
|
|
||||||
{'name': 'events_archive', 'titleSR': 'Arhiva događaja', 'titleEN': 'Events archive', 'style': 'events'},
|
|
||||||
{'name': 'services', 'titleSR': 'Servisi', 'titleEN': 'Services', 'style': 'services'},
|
|
||||||
{'name': 'webring', 'titleSR': 'Webring', 'titleEN': 'Webring', 'style': ''},
|
|
||||||
]
|
|
||||||
|
|
||||||
def buildPage(filename: str, pageTitle: str, pageHtml: str, pageStyle: str, template: str) -> str:
|
|
||||||
template = template.replace('<!--TITLE-->', pageTitle)
|
|
||||||
style = '' if not pageStyle else f'<link rel=\"stylesheet\" href=\"/styles/{pageStyle}.css\">'
|
|
||||||
template = template.replace('<!--ADDITIONAL_STYLE-->', style)
|
|
||||||
template = template.replace('PAGE_NAME', filename)
|
|
||||||
template = template.replace('<!--MAIN-->', pageHtml)
|
|
||||||
return template
|
|
||||||
|
|
||||||
def main():
|
|
||||||
os.makedirs('site/en/', exist_ok=True)
|
|
||||||
with open('template/page-en.html') as fTempEN, open('template/page-sr.html') as fTempSR:
|
|
||||||
templateSR = fTempSR.read()
|
|
||||||
templateEN = fTempEN.read()
|
|
||||||
for page in PAGES:
|
|
||||||
with open(f'pages/sr/{page["name"]}.html') as f:
|
|
||||||
pageHtml = f.read()
|
|
||||||
html = buildPage(page['name'], page['titleSR'], pageHtml, page['style'], templateSR)
|
|
||||||
f = open(f'site/{page["name"]}.html', 'w')
|
|
||||||
f.write(html)
|
|
||||||
f.close()
|
|
||||||
with open(f'pages/en/{page["name"]}.html') as f:
|
|
||||||
pageHtml = f.read()
|
|
||||||
html = buildPage(page['name'], page['titleEN'], pageHtml, page['style'], templateEN)
|
|
||||||
f = open(f'site/en/{page["name"]}.html', 'w')
|
|
||||||
f.write(html)
|
|
||||||
f.close()
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
main()
|
|
@ -1,80 +1,20 @@
|
|||||||
datum, vreme, lokacija, tema
|
datum, vreme, lokacija, tema
|
||||||
20-12-2022, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u računarske mreze, firewall
|
03-05-2023, 12:00, Cvijeta Zuzoric https://www.openstreetmap.org/node/256367543, Otvaranje izlozbe (Q&A)
|
||||||
03-01-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Hakaton žurka
|
|
||||||
16-01-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Radionica privatnosti na internetu
|
|
||||||
04-01-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Hakaton žurka
|
|
||||||
13-02-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u Bitcoin radonica
|
|
||||||
14-02-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Privacy & Security predavanje
|
|
||||||
20-02-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cyber reconnisance radionica
|
|
||||||
21-02-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u konfiguraciju servera radionica (pomerena)
|
|
||||||
27-02-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Šta je Decentrala + hakaton
|
|
||||||
03-03-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u python
|
|
||||||
10-03-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u python
|
|
||||||
13-03-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, TLS (SSL) kriptografija
|
|
||||||
14-03-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Matrix chat protokol
|
|
||||||
20-03-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, LDAP protokol radionica
|
|
||||||
21-03-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Android reverse engineering
|
|
||||||
25-03-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Open hackerspace day - film
|
|
||||||
27-03-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, SQL baze podataka
|
|
||||||
28-03-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Esolang
|
|
||||||
03-04-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Pentest radionica
|
|
||||||
04-04-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Runtime modification of Android apps
|
|
||||||
10-04-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Hakaton
|
|
||||||
11-04-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u OpenBSD
|
|
||||||
17-04-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Lan party
|
|
||||||
18-04-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Pentest radionica nastavak
|
|
||||||
23-04-2023, 19:00, Polyhedra https://www.openstreetmap.org/node/4856556781, Uvod u mreže
|
|
||||||
03-05-2023, 12:00, Cvijeta Zuzorić https://www.openstreetmap.org/node/256367543, Otvaranje izlozbe (Q&A)
|
|
||||||
03-05-2023, 18:00, KC Grad https://www.openstreetmap.org/node/4118716889, Linux install fest
|
03-05-2023, 18:00, KC Grad https://www.openstreetmap.org/node/4118716889, Linux install fest
|
||||||
04-05-2023, 17:00, Cvijeta Zuzorić https://www.openstreetmap.org/node/256367543, ULUS izlozba (Q&A)
|
04-05-2023, 17:00, Cvijeta Zuzoric https://www.openstreetmap.org/node/256367543, ULUS izlozba (Q&A)
|
||||||
04-05-2023, 18:00, Polyhedra https://www.openstreetmap.org/node/4856556781, Uvod u racunarske mreze
|
04-05-2023, 18:00, Polyhedra https://www.openstreetmap.org/node/4856556781, Uvod u racunarske mreze
|
||||||
04-05-2023, 21:00, n/a, Online sastanak sa Zajednicom za slobodnu tehnologiju iz Kikinde
|
04-05-2023, 21:00, n/a, Online sastanak sa Zajednicom za slobodnu tehnologiju iz Kikinde
|
||||||
05-05-2023, 15:30, Cvijeta Zuzorić https://www.openstreetmap.org/node/256367543, ULUS izlozba (Q&A)
|
05-05-2023, 15:30, Cvijeta Zuzoric https://www.openstreetmap.org/node/256367543, ULUS izlozba (Q&A)
|
||||||
06-05-2023, 12:00, Cvijeta Zuzorić https://www.openstreetmap.org/node/256367543, ULUS izlozba (Q&A)
|
06-05-2023, 12:00, Cvijeta Zuzoric https://www.openstreetmap.org/node/256367543, ULUS izlozba (Q&A)
|
||||||
07-05-2023, 16:00, Cvijeta Zuzorić https://www.openstreetmap.org/node/256367543, ULUS izlozba (diskusija)
|
07-05-2023, 16:00, Cvijeta Zuzoric https://www.openstreetmap.org/node/256367543, ULUS izlozba (diskusija)
|
||||||
08-05-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Linux install day
|
08-05-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Linux install day
|
||||||
09-05-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cryptoparty - Uvod u privatnost
|
09-05-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cryptoparty - Uvod u privatnost
|
||||||
11-05-2023, 18:00, Polyhedra https://www.openstreetmap.org/node/4856556781, Uvod u računarske mreže
|
11-05-2023, 18:00, Polyhedra https://www.openstreetmap.org/node/4856556781, Uvod u racunarske mreze
|
||||||
05-06-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Šifre
|
01-08-2023, 19:00, DC Krov, Tehno veče
|
||||||
06-06-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Random i kriptografija
|
07-08-2023, 19:00, DC Krov, Linux ricing
|
||||||
12-06-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Uvod u Blender
|
08-08-2023, 19:00, DC Krov, Lambda račun
|
||||||
13-06-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cybersecurity odbrana
|
14-08-2023, 19:00, DC Krov, Linux distro diskusija
|
||||||
19-06-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Pisanje BASH skripti
|
15-08-2023, 19:00, DC Krov, Pirati 777 mora
|
||||||
20-06-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cybersecurity odbrana
|
21-08-2023, 19:00, DC Krov, Python vežbe
|
||||||
26-06-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Python vežbe
|
22-08-2023, 19:00, DC Krov, Autentifikacija na internetu
|
||||||
27-06-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cybersecurity odbrana
|
28-08-2023, 19:00, DC Krov, Kviz
|
||||||
03-07-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, DNS
|
|
||||||
04-07-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cybersecurity odbrana
|
|
||||||
10-07-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Blender, 3D modelovanje
|
|
||||||
11-07-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cybersecurity odbrana
|
|
||||||
17-07-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, OpenGL
|
|
||||||
18-07-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cybersecurity odbrana
|
|
||||||
24-07-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Web scraping
|
|
||||||
25-07-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cybersecurity odbrana
|
|
||||||
31-07-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Python - Web development
|
|
||||||
01-08-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Tehno veče
|
|
||||||
07-08-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Linux ricing
|
|
||||||
08-08-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Lambda račun
|
|
||||||
14-08-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Linux distro diskusija
|
|
||||||
15-08-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Pirati 777 mora
|
|
||||||
21-08-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Python vežbe
|
|
||||||
22-08-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Autentifikacija na internetu
|
|
||||||
28-08-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Podešavanje Mail servera
|
|
||||||
29-08-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Prevođenje wiki-a
|
|
||||||
04-09-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Hakaton
|
|
||||||
05-09-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cybersecurity - phishing
|
|
||||||
11-09-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Radionica kreativnog pisanja
|
|
||||||
12-09-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Tehno veče
|
|
||||||
18-09-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cybersecurity - kako početi?
|
|
||||||
19-09-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Stop reklamama - diskusija
|
|
||||||
25-09-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Email server E02
|
|
||||||
26-09-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Lambda račun E02
|
|
||||||
02-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Šamirov algoritam za deljenje tajni
|
|
||||||
03-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Hackathon
|
|
||||||
09-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Lighting talks
|
|
||||||
16-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Audio radionica
|
|
||||||
17-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Libreboot
|
|
||||||
23-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Tor
|
|
||||||
24-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Cybersecurity card game
|
|
||||||
30-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, Resavanje Rubikove kocke
|
|
||||||
31-10-2023, 19:00, DC Krov https://www.openstreetmap.org/node/10594728522, vim
|
|
|
114
image_poster.py
@ -1,114 +0,0 @@
|
|||||||
#! /usr/bin/env python3
|
|
||||||
|
|
||||||
import argparse
|
|
||||||
import freetype
|
|
||||||
import io
|
|
||||||
from PIL import Image, ImageDraw, ImageFont
|
|
||||||
import csv
|
|
||||||
import datetime as dt
|
|
||||||
from dateutil import relativedelta
|
|
||||||
|
|
||||||
CURRENT_TIME = dt.date.today()
|
|
||||||
NEXT_MONTH = CURRENT_TIME + relativedelta.relativedelta(months=1, day=1)
|
|
||||||
DAYS_OF_WEEK_SR = ("PON", "UTO", "SRE", "ČET", "PET", "SUB", "NED")
|
|
||||||
MONTHS_SR = ("Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust",\
|
|
||||||
"Septembar", "Oktobar", "Novembar", "Decembar")
|
|
||||||
|
|
||||||
def parseArgs(parser):
|
|
||||||
"""
|
|
||||||
Parse all arguments and return the list of argument values
|
|
||||||
"""
|
|
||||||
parser.add_argument("month", metavar = "MM", help = "two digit number representing the month for which to generate poster", default = "empty", nargs = "?")
|
|
||||||
return parser.parse_args()
|
|
||||||
|
|
||||||
def load_events(csv_path:str, month:int) -> list[dict]:
|
|
||||||
events = []
|
|
||||||
with open(csv_path) as csv_file:
|
|
||||||
csv_reader = csv.reader(csv_file)
|
|
||||||
next(csv_reader, None)
|
|
||||||
for event in csv_reader:
|
|
||||||
event_date = event[0]
|
|
||||||
event_date_parsed = dt.datetime.strptime(event_date, "%d-%m-%Y").date()
|
|
||||||
event_time = event[1]
|
|
||||||
event_title = event[3]
|
|
||||||
current_event = {"date":event_date_parsed,
|
|
||||||
"time":event_time,
|
|
||||||
"title":event_title.strip()}
|
|
||||||
if event_date_parsed >= month:
|
|
||||||
events.append(current_event)
|
|
||||||
return events
|
|
||||||
|
|
||||||
def drawPoster(events, bg, fg, month:int):
|
|
||||||
fontFacade = ImageFont.truetype('./site/font/Facade-Sud.woff', size=110)
|
|
||||||
fontIosevka = ImageFont.truetype('./site/font/iosevka-regular.woff', size=60)
|
|
||||||
fontIosevkaSmall = ImageFont.truetype('./site/font/iosevka-regular.woff', size=45)
|
|
||||||
|
|
||||||
W = 1200
|
|
||||||
H = 1500
|
|
||||||
img = Image.new('RGB', (W, H), bg)
|
|
||||||
draw = ImageDraw.Draw(img)
|
|
||||||
|
|
||||||
header = "DECENTRALA"
|
|
||||||
_, _, w, _ = draw.textbbox((0, 0), header, font=fontFacade)
|
|
||||||
draw.text(((W-w)/2, 120), header, font=fontFacade, fill=fg)
|
|
||||||
|
|
||||||
subheader = f"Plan za {MONTHS_SR[month.month - 1]}"
|
|
||||||
_, _, w, _ = draw.textbbox((0, 0), subheader, font=fontIosevka)
|
|
||||||
draw.text(((W-w)/2, 240), subheader, font=fontIosevka, fill=fg)
|
|
||||||
|
|
||||||
height = 410
|
|
||||||
|
|
||||||
draw.text((120, height), "Radionice pocinju u 19h u DC Krovu", font=fontIosevkaSmall, fill=fg)
|
|
||||||
height += 100
|
|
||||||
|
|
||||||
for event in events:
|
|
||||||
date = DAYS_OF_WEEK_SR[event["date"].weekday()]
|
|
||||||
day = event["date"].day
|
|
||||||
title = event["title"]
|
|
||||||
pad = " " if event["date"].day < 10 else ""
|
|
||||||
eventText = f"{date} {day}. {pad} {title}"
|
|
||||||
draw.text((120, height), eventText, font=fontIosevkaSmall, fill=fg)
|
|
||||||
height += 70
|
|
||||||
|
|
||||||
def drawCircle(x, y):
|
|
||||||
r = 10
|
|
||||||
draw.ellipse((x - r, y - r, x + r, y+r), fill=fg, outline=(0, 0, 0), width=0)
|
|
||||||
|
|
||||||
LCX = 950 # logo center x
|
|
||||||
LCY = 1200 # logo center y
|
|
||||||
d = 50 # delta
|
|
||||||
drawCircle(LCX - d, LCY)
|
|
||||||
drawCircle(LCX, LCY)
|
|
||||||
drawCircle(LCX, LCY - d)
|
|
||||||
drawCircle(LCX, LCY + d)
|
|
||||||
drawCircle(LCX + d, LCY)
|
|
||||||
|
|
||||||
draw.line([(LCX - d, LCY), (LCX + d, LCY)], fill=fg, width=5, joint=None)
|
|
||||||
draw.line([(LCX, LCY), (LCX, LCY + d), (LCX + d, LCY), (LCX, LCY - d)], fill=fg, width=5, joint=None)
|
|
||||||
draw.text((LCX - 1.7*d, LCY + 1.5*d), "dmz.rs", font=fontIosevka, fill=fg)
|
|
||||||
|
|
||||||
return img
|
|
||||||
|
|
||||||
def main():
|
|
||||||
# Parse arguments
|
|
||||||
parser = argparse.ArgumentParser(description="Generate images of the poster")
|
|
||||||
args = parseArgs(parser)
|
|
||||||
|
|
||||||
# Set month based on user input
|
|
||||||
month = NEXT_MONTH
|
|
||||||
if args.month.isdigit():
|
|
||||||
month = dt.date(CURRENT_TIME.year, int(args.month), 1)
|
|
||||||
elif args.month != "empty":
|
|
||||||
print("Month has to be specified as a number. I will use next month as the default")
|
|
||||||
|
|
||||||
# Load events and draw a poseter
|
|
||||||
events = load_events("dogadjaji.csv", month)
|
|
||||||
|
|
||||||
img = drawPoster(events, (0, 0, 0), (20, 250, 50), month)
|
|
||||||
img.save('poster_dark.png')
|
|
||||||
|
|
||||||
img = drawPoster(events, (255, 255, 255), (0, 0, 0), month)
|
|
||||||
img.save('poster_light.png')
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
main()
|
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
BIN
img/favicon.ico
Normal file
After Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 602 B After Width: | Height: | Size: 602 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 566 B After Width: | Height: | Size: 566 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
78
index.html
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="/styles/style.css">
|
||||||
|
<link rel="stylesheet" href="/styles/home.css">
|
||||||
|
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||||
|
<script src="/scripts/main.js" defer></script>
|
||||||
|
<title>Decentrala</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<a class="logo" href="/index.html">Decentrala</a>
|
||||||
|
<span>
|
||||||
|
<button id="theme-switcher">turn the lights off</button>
|
||||||
|
<a class="account" href="/pages/account.html">Nalog</a>
|
||||||
|
</span>
|
||||||
|
</header>
|
||||||
|
<div id="main">
|
||||||
|
<h1>Dobrodosli!</h1>
|
||||||
|
<p>
|
||||||
|
Mi smo <em>Decentrala</em> - grupa entuzijasta okupljena oko ideja decentralizacije i slobodnog sirenja znanja.
|
||||||
|
Zvuci interesantno? Evo jos nekih stvari o nama:
|
||||||
|
</p>
|
||||||
|
<dl>
|
||||||
|
<dt>Znanje:</dt>
|
||||||
|
<dd>Sve nase radionice su besplatne i otvorene za sve zainteresovane, a ako imate nesto sto zelite da
|
||||||
|
podelite, najavite se na nasem <a href="https://forum.dmz.rs">Forumu</a> i odrzite radionicu kod nas!</dd>
|
||||||
|
<dt>Akcije:</dt>
|
||||||
|
<dd>Povremeno organizujemo razlicite akcije, hakatone, crypto-partije, izlozbe i slicne dogadjaje otvorene za sve
|
||||||
|
zainteresovane. </dd>
|
||||||
|
<dt>Servisi:</dt>
|
||||||
|
<dd>Na nasim serverima pokrecemo neke servise (email, git, wiki i druge) koji su otvoreni za sve i koje mozes
|
||||||
|
koristiti sa ili bez naseg naloga.</dd>
|
||||||
|
<dt>Ljudi:</dt>
|
||||||
|
<dd>Lorem ipsum dolor sit amet.</dd>
|
||||||
|
</dl>
|
||||||
|
<p>
|
||||||
|
Ako si procitao sve i i dalje si zainteresovan, mozes da napravis <a href="/pages/account.html">nalog</a> na nasem
|
||||||
|
serveru koji ce
|
||||||
|
ti omoguciti da koristis sve nase <a href="/pages/services.html">servise</a>, a ako prvo hoces da vidis kako to
|
||||||
|
sve izgleda u realnosti, mozes da dodjes na neki od nasih <a href="/pages/events.html">dogadjaja</a>, i tamo nas
|
||||||
|
upoznas!
|
||||||
|
</p>
|
||||||
|
<img id="mesh" src="/img/mesh-light.svg">
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<div id="sections-menu">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</div>
|
||||||
|
<button id="sections-button" opened="false"><img src="/img/strelica-closed-light.svg" alt="OpenMenu"></button>
|
||||||
|
<span class="sections">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</span>
|
||||||
|
<span class="copyleft">
|
||||||
|
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="/img/cc-light.svg"
|
||||||
|
alt="CreativeCommons"></a>
|
||||||
|
<a href=""><img src="/img/w-light.svg" alt="Webring"></a>
|
||||||
|
<a href="https://gitea.dmz.rs/eline/decentrala-website-static-new"><img src="/img/git-light.svg"
|
||||||
|
alt="SourceCode"></a>
|
||||||
|
<a href="https://balkan.fedive.rs/@decentrala"><img src="/img/mastodon-light.svg" alt="Mastodon"></a>
|
||||||
|
<span>Decentrala © 2023</span>
|
||||||
|
</span>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
@ -1,23 +0,0 @@
|
|||||||
# Start nginx in this directory with `nginx -p . -c nginx.conf`
|
|
||||||
# Stop nginx with `nginx -p . -s stop`
|
|
||||||
events {}
|
|
||||||
|
|
||||||
http {
|
|
||||||
# edit this for your system
|
|
||||||
include /etc/nginx/mime.types;
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 9001;
|
|
||||||
access_log http.access.log;
|
|
||||||
error_log http.error.log;
|
|
||||||
|
|
||||||
root site/;
|
|
||||||
|
|
||||||
error_page 404 /404.html;
|
|
||||||
location / {
|
|
||||||
autoindex off;
|
|
||||||
default_type "text/html";
|
|
||||||
try_files $uri $uri.html /$uri/index.html /index.html;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
54
pages/account.html
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="/styles/style.css">
|
||||||
|
<link rel="stylesheet" href="/styles/account.css">
|
||||||
|
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||||
|
<script src="/scripts/main.js" defer></script>
|
||||||
|
<title>Decentrala - Nalog</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<a class="logo" href="/index.html">Decentrala</a>
|
||||||
|
<span>
|
||||||
|
<button id="theme-switcher">turn the lights off</button>
|
||||||
|
<a class="account" href="/pages/account.html">Nalog</a>
|
||||||
|
</span>
|
||||||
|
</header>
|
||||||
|
<div id="main">
|
||||||
|
Ova stranica je trenutno u izradi...
|
||||||
|
<img id="mesh" src="/img/mesh-light.svg">
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<div id="sections-menu">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</div>
|
||||||
|
<button id="sections-button" opened="false"><img src="/img/strelica-closed-light.svg" alt="OpenMenu"></button>
|
||||||
|
<span class="sections">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</span>
|
||||||
|
<span class="copyleft">
|
||||||
|
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="/img/cc-light.svg"
|
||||||
|
alt="CreativeCommons"></a>
|
||||||
|
<a href=""><img src="/img/w-light.svg" alt="Webring"></a>
|
||||||
|
<a href="https://gitea.dmz.rs/eline/decentrala-website-static-new"><img src="/img/git-light.svg"
|
||||||
|
alt="SourceCode"></a>
|
||||||
|
<a href="https://balkan.fedive.rs/@decentrala"><img src="/img/mastodon-light.svg" alt="Mastodon"></a>
|
||||||
|
<span>Decentrala © 2023</span>
|
||||||
|
</span>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
54
pages/blog.html
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="/styles/style.css">
|
||||||
|
<link rel="stylesheet" href="/styles/blog.css">
|
||||||
|
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||||
|
<script src="/scripts/main.js" defer></script>
|
||||||
|
<title>Decentrala - Blog</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<a class="logo" href="/index.html">Decentrala</a>
|
||||||
|
<span>
|
||||||
|
<button id="theme-switcher">turn the lights off</button>
|
||||||
|
<a class="account" href="/pages/account.html">Nalog</a>
|
||||||
|
</span>
|
||||||
|
</header>
|
||||||
|
<div id="main">
|
||||||
|
Ova stranica je trenutno u izradi...
|
||||||
|
<img id="mesh" src="/img/mesh-light.svg">
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<div id="sections-menu">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</div>
|
||||||
|
<button id="sections-button" opened="false"><img src="/img/strelica-closed-light.svg" alt="OpenMenu"></button>
|
||||||
|
<span class="sections">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</span>
|
||||||
|
<span class="copyleft">
|
||||||
|
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="/img/cc-light.svg"
|
||||||
|
alt="CreativeCommons"></a>
|
||||||
|
<a href=""><img src="/img/w-light.svg" alt="Webring"></a>
|
||||||
|
<a href="https://gitea.dmz.rs/eline/decentrala-website-static-new"><img src="/img/git-light.svg"
|
||||||
|
alt="SourceCode"></a>
|
||||||
|
<a href="https://balkan.fedive.rs/@decentrala"><img src="/img/mastodon-light.svg" alt="Mastodon"></a>
|
||||||
|
<span>Decentrala © 2023</span>
|
||||||
|
</span>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
59
pages/contact.html
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="/styles/style.css">
|
||||||
|
<link rel="stylesheet" href="/styles/contact.css">
|
||||||
|
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||||
|
<script src="/scripts/main.js" defer></script>
|
||||||
|
<title>Decentrala - Kontakt</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<a class="logo" href="/index.html">Decentrala</a>
|
||||||
|
<span>
|
||||||
|
<button id="theme-switcher">turn the lights off</button>
|
||||||
|
<a class="account" href="/pages/account.html">Nalog</a>
|
||||||
|
</span>
|
||||||
|
</header>
|
||||||
|
<div id="main">
|
||||||
|
<h1>Kontakt</h1>
|
||||||
|
<p>Mozes nam poslati mail na <a href="mailto:dmz@dmz.rs">dmz@dmz.rs</a> ili se mozes pridruziti nasem <a
|
||||||
|
href="https://forum.dmz.rs">Forumu</a>.</p>
|
||||||
|
<p>Takodje smo i na <a href="https://balkan.fedive.rs/@decentrala">Fediversu!</a></p>
|
||||||
|
<p style="position: relative; top: 5rem;">U slucaju da nadjete <em>bug</em> na sajtu, bili bismo jako zahvalni
|
||||||
|
ako bi mogli da nam ga prijavite (npr. putem emaila).</p>
|
||||||
|
<img id="mesh" src="/img/mesh-light.svg">
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<div id="sections-menu">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</div>
|
||||||
|
<button id="sections-button" opened="false"><img src="/img/strelica-closed-light.svg" alt="OpenMenu"></button>
|
||||||
|
<span class="sections">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</span>
|
||||||
|
<span class="copyleft">
|
||||||
|
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="/img/cc-light.svg"
|
||||||
|
alt="CreativeCommons"></a>
|
||||||
|
<a href=""><img src="/img/w-light.svg" alt="Webring"></a>
|
||||||
|
<a href="https://gitea.dmz.rs/eline/decentrala-website-static-new"><img src="/img/git-light.svg"
|
||||||
|
alt="SourceCode"></a>
|
||||||
|
<a href="https://balkan.fedive.rs/@decentrala"><img src="/img/mastodon-light.svg" alt="Mastodon"></a>
|
||||||
|
<span>Decentrala © 2023</span>
|
||||||
|
</span>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
@ -1,8 +0,0 @@
|
|||||||
<h1>Account</h1>
|
|
||||||
<p>If you have created an account on dmz.rs, you can use our XMPP and e-mail server, as well as other services that support LDAP login.<p>
|
|
||||||
<p>For more on XMPP see <a href="https://wiki.dmz.rs/en/tutorial/conversations">this tutorial</a>. <p>
|
|
||||||
<p>You can see settings for the <a href="https://thunderbird.org">Thundebird</a> mail client on this <a href="/img/mailsettings.png">image</a>.<p>
|
|
||||||
|
|
||||||
<p><a href="/account/register/">Register</a><p>
|
|
||||||
<p><a href="/account/unregister/">Delete account</a><p>
|
|
||||||
<p><a href="/account/changepassword/">Change password</a><p>
|
|
@ -1,5 +0,0 @@
|
|||||||
<h1>Contact</h1>
|
|
||||||
<p>You can send mail to <a href="mailto:dmz@dmz.rs">dmz@dmz.rs</a> or you can register on <a href="https://forum.dmz.rs">our Forum</a>.</p>
|
|
||||||
<p>Also, we are available on the <a href="https://balkan.fedive.rs/@decentrala">Fediverse!</a></p>
|
|
||||||
<br>
|
|
||||||
<p>If you find a bug on the site, please do tell us. We would be very grateful.</p>
|
|
@ -1,2 +0,0 @@
|
|||||||
<h1>Events</h1>
|
|
||||||
<p>Following list contains all forthcoming events. Held events are listed in <a href="/en/events_archive">archive</a></p><br>
|
|
@ -1,2 +0,0 @@
|
|||||||
<h1>Events archive</h1>
|
|
||||||
<p>All events that we organized so far.</p><br>
|
|
@ -1,31 +0,0 @@
|
|||||||
<h1>Welcome!</h1>
|
|
||||||
<p>
|
|
||||||
We are <em>Decentrala</em> - a group of enthusiasts gathered around the idea of decentralization and knowledge sharing.
|
|
||||||
Here are some more facts about us:
|
|
||||||
</p>
|
|
||||||
<dl>
|
|
||||||
<dt>Knowledge:</dt>
|
|
||||||
<dd>
|
|
||||||
All our workshops are free and open to everyone.
|
|
||||||
Also, if you have something to share, feel free to announce the event on the <a href="https://forum.dmz.rs"></a>Forum</a>.
|
|
||||||
</dd>
|
|
||||||
<dt>Actions:</dt>
|
|
||||||
<dd>From time to time we organize actions, hackathons, crypto parties, exhibitions, etc.</dd>
|
|
||||||
<dt>Services:</dt>
|
|
||||||
<dd>Our servers run various services (like e-mail, git, wiki, etc...) that are open to everyone.</dd>
|
|
||||||
<dt>Donations:</dt>
|
|
||||||
<dd>
|
|
||||||
Decentrala accepts donations exclusively from persons and without any obligations.
|
|
||||||
We are independent and we try to keep it that way.
|
|
||||||
You can donate old hardware (laptops, phones, PC components) to us, and we will find a use for it in Decentrala or give it to people who need it.
|
|
||||||
Also, you can donate bitcoin and monero by sending to the following addresses:
|
|
||||||
<p>Bitcoin: bc1qjhsfgq79wuzzv32yml9zglwzf9qcwfj3atuy74</p>
|
|
||||||
<p>Monero: 8BESz45LnxrgCwZP32KieiN1D4LinCfsS1YjdFHfGXrVCmPs35167QsW1gd7qbff4UAtBbT6oWrkbfZnJm71HornVRiRZFS</p>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
<p>
|
|
||||||
If you are still interested, you can create an <a href="/en/account">account</a>
|
|
||||||
on our server which will enable the use of all our <a href="/en/services">services</a>.
|
|
||||||
If you want to see first how it all looks, you can come to one of our
|
|
||||||
<a href="/en/events">event</a>, and meet us there!
|
|
||||||
</p>
|
|
@ -1,54 +0,0 @@
|
|||||||
<h1>Services</h1>
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th>Service</th>
|
|
||||||
<th>Description</th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="/account">E-mail</a></td>
|
|
||||||
<td>E-mail account that you can use with any e-mail client (for example, with the <a href="https://www.thunderbird.net/">Thunderbird</a>).</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="https://forum.dmz.rs/">Forum</a></td>
|
|
||||||
<td>Forum for general discussion and <a href="/events">event</a> organization.</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Chat</td>
|
|
||||||
<td>
|
|
||||||
We have our XMPP server, on which you can make an account.
|
|
||||||
If you already have an account, you can find us at group <a href="decentrala@conference.dmz.rs">decentrala@conference.dmz.rs</a>.
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="https://gitea.dmz.rs/">Git</a></td>
|
|
||||||
<td><a href="https://gitea.io/en-us/">Gitea</a> instance on which we host our code and resources (including the code for this site).
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="https://wiki.dmz.rs/">Wiki</a></td>
|
|
||||||
<td><a href="https://js.wiki/">Wiki.js</a> instance on which we publish documentation for our projects,
|
|
||||||
<a href="/events">events</a> resources, and tutorials.
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="https://search.dmz.rs/">Search</a></td>
|
|
||||||
<td><a href="https://github.com/searxng/searxng/">SearXNG</a> instance used for Web searching.</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="https://pastebin.dmz.rs/">Pastebin</a></td>
|
|
||||||
<td><a href="https://privatebin.info/">PrivateBin</a> instance we use for sharing text files</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="ssh://soft.dmz.rs:2222/">Soft Serve</a></td>
|
|
||||||
<td>
|
|
||||||
<a href="https://github.com/charmbracelet/soft-serve">Soft Serve</a> instance that we use as a replacement for the Gitea service.
|
|
||||||
Soft Serve works entirely from the terminal.
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<p>
|
|
||||||
These are some of the services we currently maintain on our servers.
|
|
||||||
To use these services, you can register for each service separately,
|
|
||||||
or you can create a unique <a href="/en/account">account</a>
|
|
||||||
on our server and use all services with the same account.
|
|
||||||
</p>
|
|
@ -1,5 +0,0 @@
|
|||||||
<h1>Webring</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://pionir.org">Pionir school</a></li>
|
|
||||||
<li><a href="https://tilda.center">Tilda Center</a></li>
|
|
||||||
</ul>
|
|
102
pages/events.html
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="/styles/style.css">
|
||||||
|
<link rel="stylesheet" href="/styles/events.css">
|
||||||
|
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||||
|
<script src="/scripts/main.js" defer></script>
|
||||||
|
<title>Decentrala - Dogadjaji</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<a class="logo" href="/index.html">Decentrala</a>
|
||||||
|
<span>
|
||||||
|
<button id="theme-switcher">turn the lights off</button>
|
||||||
|
<a class="account" href="/pages/account.html">Nalog</a>
|
||||||
|
</span>
|
||||||
|
</header>
|
||||||
|
<div id="main">
|
||||||
|
<h1>Dogadjaji</h1>
|
||||||
|
<!-- dogadjaji start -->
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>Datum</th>
|
||||||
|
<th>Vreme</th>
|
||||||
|
<th>Mesto</th>
|
||||||
|
<th>Tema</th>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td> Petak, 5. Maj 2023. </td>
|
||||||
|
<td> 15:30h </td>
|
||||||
|
<td> <a href="https://www.openstreetmap.org/node/256367543"> Cvijeta Zuzoric </a> </td>
|
||||||
|
<td> ULUS izlozba (Q&A) </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> Subota, 6. Maj 2023. </td>
|
||||||
|
<td> 12:00h </td>
|
||||||
|
<td> <a href="https://www.openstreetmap.org/node/256367543"> Cvijeta Zuzoric </a> </td>
|
||||||
|
<td> ULUS izlozba (Q&A) </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> Nedelja, 7. Maj 2023. </td>
|
||||||
|
<td> 16:00h </td>
|
||||||
|
<td> <a href="https://www.openstreetmap.org/node/256367543"> Cvijeta Zuzoric </a> </td>
|
||||||
|
<td> ULUS izlozba (diskusija) </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> Ponedeljak, 8. Maj 2023. </td>
|
||||||
|
<td> 19:00h </td>
|
||||||
|
<td> <a href="https://www.openstreetmap.org/node/10594728522"> DC Krov </a> </td>
|
||||||
|
<td> Linux install day </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> Utorak, 9. Maj 2023. </td>
|
||||||
|
<td> 19:00h </td>
|
||||||
|
<td> <a href="https://www.openstreetmap.org/node/10594728522"> DC Krov </a> </td>
|
||||||
|
<td> Cryptoparty - Uvod u privatnost </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> Cetvrtak, 11. Maj 2023. </td>
|
||||||
|
<td> 18:00h </td>
|
||||||
|
<td> <a href="https://www.openstreetmap.org/node/4856556781"> Polyhedra </a> </td>
|
||||||
|
<td> Uvod u racunarske mreze </td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
<!-- dogadjaji end -->
|
||||||
|
<img id="mesh" src="/img/mesh-light.svg">
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<div id="sections-menu">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</div>
|
||||||
|
<button id="sections-button" opened="false"><img src="/img/strelica-closed-light.svg" alt="OpenMenu"></button>
|
||||||
|
<span class="sections">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</span>
|
||||||
|
<span class="copyleft">
|
||||||
|
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="/img/cc-light.svg"
|
||||||
|
alt="CreativeCommons"></a>
|
||||||
|
<a href=""><img src="/img/w-light.svg" alt="Webring"></a>
|
||||||
|
<a href="https://gitea.dmz.rs/eline/decentrala-website-static-new"><img src="/img/git-light.svg"
|
||||||
|
alt="SourceCode"></a>
|
||||||
|
<a href="https://balkan.fedive.rs/@decentrala"><img src="/img/mastodon-light.svg" alt="Mastodon"></a>
|
||||||
|
<span>Decentrala © 2023</span>
|
||||||
|
</span>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
54
pages/projects.html
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="/styles/style.css">
|
||||||
|
<link rel="stylesheet" href="/styles/projects.css">
|
||||||
|
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||||
|
<script src="/scripts/main.js" defer></script>
|
||||||
|
<title>Decentrala - Projekti</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<a class="logo" href="/index.html">Decentrala</a>
|
||||||
|
<span>
|
||||||
|
<button id="theme-switcher">turn the lights off</button>
|
||||||
|
<a class="account" href="/pages/account.html">Nalog</a>
|
||||||
|
</span>
|
||||||
|
</header>
|
||||||
|
<div id="main">
|
||||||
|
Ova stranica je trenutno u izradi...
|
||||||
|
<img id="mesh" src="/img/mesh-light.svg">
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<div id="sections-menu">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</div>
|
||||||
|
<button id="sections-button" opened="false"><img src="/img/strelica-closed-light.svg" alt="OpenMenu"></button>
|
||||||
|
<span class="sections">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</span>
|
||||||
|
<span class="copyleft">
|
||||||
|
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="/img/cc-light.svg"
|
||||||
|
alt="CreativeCommons"></a>
|
||||||
|
<a href=""><img src="/img/w-light.svg" alt="Webring"></a>
|
||||||
|
<a href="https://gitea.dmz.rs/eline/decentrala-website-static-new"><img src="/img/git-light.svg"
|
||||||
|
alt="SourceCode"></a>
|
||||||
|
<a href="https://balkan.fedive.rs/@decentrala"><img src="/img/mastodon-light.svg" alt="Mastodon"></a>
|
||||||
|
<span>Decentrala © 2023</span>
|
||||||
|
</span>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
95
pages/services.html
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="/styles/style.css">
|
||||||
|
<link rel="stylesheet" href="/styles/services.css">
|
||||||
|
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||||
|
<script src="/scripts/main.js" defer></script>
|
||||||
|
<title>Decentrala - Servisi</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<a class="logo" href="/index.html">Decentrala</a>
|
||||||
|
<span>
|
||||||
|
<button id="theme-switcher">turn the lights off</button>
|
||||||
|
<a class="account" href="/pages/account.html">Nalog</a>
|
||||||
|
</span>
|
||||||
|
</header>
|
||||||
|
<div id="main">
|
||||||
|
<h1>Servisi</h1>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>Servis</th>
|
||||||
|
<th>Opis</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="">Email</a></td>
|
||||||
|
<td>Email nalog koji mozes koristiti putem naseg <a href="/index.html">mail web interfejsa</a> ili na bilo kom
|
||||||
|
email
|
||||||
|
klijentu generalne namene, na primer <a href="https://www.thunderbird.net/">Thunderbird-u</a>. Bolji od
|
||||||
|
Gmail-a. </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="https://forum.dmz.rs/">Forum</a></td>
|
||||||
|
<td>Forum na kojem obicno organizujemo nase <a href="/pages/events.html">dogadjaje</a>. Bolji od Reddit-a.
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Chat</td>
|
||||||
|
<td>Odrzavamo svoj XMPP server, na kojem mozes napraviti nalog ili ako vec imas nalog mozes nas naci u grupi <a
|
||||||
|
href="decentrala@conference.dmz.rs">decentrala@conference.dmz.rs</a> . Bolji od WhatsApp-a.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="https://gitea.dmz.rs/">Git</a></td>
|
||||||
|
<td><a href="https://gitea.io/en-us/">Gitea</a> instanca na kojoj drzimo kod kao i ostale resurse za nase <a
|
||||||
|
href="/pages/projects.html">projekte</a>,
|
||||||
|
<a href="/pages/events.html">dogadjaje</a>, kao i neke nase random projekte kao i projekte nasih
|
||||||
|
prijatelja.
|
||||||
|
Ovo moze bit dom tvog sledeceg projekta. Bolji od Github-a.
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="https://wiki.dmz.rs/">Wiki</a></td>
|
||||||
|
<td><a href="https://js.wiki/">Wiki.js</a> instanca koju koristimo da dokumentujemo nase <a
|
||||||
|
href="/pages/projects.html">projekte</a> kao i
|
||||||
|
ostale <a href="/pages/events.html">dogadjaje</a>. </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<p>Ovo su neki od servisa koje trenutno odrzavamo na nasim serverima. Da bi koristio ove servise, <em>mozes</em> se
|
||||||
|
registrujes za svaki servis posebno, ali mozes i da da napravis <a href="/pages/account.html">nalog</a> na nasem
|
||||||
|
serveru i koristis sve servis sa istim nalogom.</p>
|
||||||
|
<img id="mesh" src="/img/mesh-light.svg">
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<div id="sections-menu">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</div>
|
||||||
|
<button id="sections-button" opened="false"><img src="/img/strelica-closed-light.svg" alt="OpenMenu"></button>
|
||||||
|
<span class="sections">
|
||||||
|
<a href="/pages/events.html">Dogadjaji</a>
|
||||||
|
<a href="/pages/projects.html">Projekti</a>
|
||||||
|
<a href="/pages/blog.html">Blog</a>
|
||||||
|
<a href="/pages/services.html">Servisi</a>
|
||||||
|
<a href="/pages/contact.html">Kontakt</a>
|
||||||
|
</span>
|
||||||
|
<span class="copyleft">
|
||||||
|
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="/img/cc-light.svg"
|
||||||
|
alt="CreativeCommons"></a>
|
||||||
|
<a href=""><img src="/img/w-light.svg" alt="Webring"></a>
|
||||||
|
<a href="https://gitea.dmz.rs/eline/decentrala-website-static-new"><img src="/img/git-light.svg"
|
||||||
|
alt="SourceCode"></a>
|
||||||
|
<a href="https://balkan.fedive.rs/@decentrala"><img src="/img/mastodon-light.svg" alt="Mastodon"></a>
|
||||||
|
<span>Decentrala © 2023</span>
|
||||||
|
</span>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
@ -1,8 +0,0 @@
|
|||||||
<h1>Nalog</h1>
|
|
||||||
<p>Ako si napravio nalog na dmz.rs možeš koristiti naš XMPP i e-mail server, kao i ostale servise koji podržavaju LDAP login.<p>
|
|
||||||
<p>Za više o XMPP-u pogledaj <a href="https://wiki.dmz.rs/en/tutorial/conversations">tutorial</a>. <p>
|
|
||||||
<p>Podešavanja za <a href="https://thunderbird.org">Thundebird</a> mail klijent možeš pogledati na <a href="/img/mailsettings.png">slici</a>.<p>
|
|
||||||
|
|
||||||
<p><a href="/account/register/">Registruj se</a><p>
|
|
||||||
<p><a href="/account/unregister/">Izbriši nalog</a><p>
|
|
||||||
<p><a href="/account/changepassword/">Promeni lozinku</a><p>
|
|
@ -1,2 +0,0 @@
|
|||||||
Ova stranica je trenutno u izradi...
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
<h1>Kontakt</h1>
|
|
||||||
<p>Možeš nam poslati mejl na adresu <a href="mailto:dmz@dmz.rs">dmz@dmz.rs</a> ili se možeš pridružiti našem <a href="https://forum.dmz.rs">Forumu</a>.</p>
|
|
||||||
<p>Takođe smo dostupni i na <a href="https://balkan.fedive.rs/@decentrala">Fediversu!</a></p>
|
|
||||||
<br>
|
|
||||||
<p>U slučaju da pronađeš <em>bug</em> na sajtu, bili bismo ti jako zahvalni ako nam ga prijaviš.</p>
|
|
@ -1,2 +0,0 @@
|
|||||||
<h1>Događaji</h1>
|
|
||||||
<p>Naredna lista sadrži sve predstojeće događaje. Za listu održanih događaja pogledajte <a href="/events_archive">arhivu</a></p><br>
|
|
@ -1,2 +0,0 @@
|
|||||||
<h1>Arhiva događaja</h1>
|
|
||||||
<p>Svi događaji koje smo do sada organzivali.</p><br>
|
|
@ -1,32 +0,0 @@
|
|||||||
<h1>Dobrodošao!</h1>
|
|
||||||
<p>
|
|
||||||
Mi smo <em>Decentrala</em> - grupa entuzijasta okupljena oko ideja decentralizacije i slobodnog širenja znanja.
|
|
||||||
Zvuči interesantno? Evo još nekih stvari o nama:
|
|
||||||
</p>
|
|
||||||
<dl>
|
|
||||||
<dt>Znanje:</dt>
|
|
||||||
<dd>Sve naše radionice su besplatne i otvorene za sve zainteresovane.
|
|
||||||
Ako želiš nešto da podeliš najavi se na našem <a href="https://forum.dmz.rs">Forumu</a> i održi radionicu kod nas!
|
|
||||||
</dd>
|
|
||||||
<dt>Akcije:</dt>
|
|
||||||
<dd>Povremeno organizujemo različite akcije, hakatone, crypto-partije, izložbe i slične događaje otvorene za sve
|
|
||||||
zainteresovane. </dd>
|
|
||||||
<dt>Servisi:</dt>
|
|
||||||
<dd>Na našim serverima pokrećemo razne servise (email, git, wiki i druge) koji su otvoreni za sve i koji se mogu
|
|
||||||
koristiti sa ili bez našeg naloga.</dd>
|
|
||||||
<dt>Donacije:</dt>
|
|
||||||
<dd>
|
|
||||||
Decentrala prihvata donacije isključivo od fizičkih lica i bez obaveza.
|
|
||||||
Nezavisni smo i trudimo se da to održimo.
|
|
||||||
Možeš nam donirati stari hardver (laptopove, telefone, PC komponente), a mi ćemo mu naći upotrebu u Decentrali ili dati ljudima kojima je potreban.
|
|
||||||
Takođe možeš donirati bitcoin i monero, slanjem na naredne adrese:
|
|
||||||
<p>Bitcoin: bc1qjhsfgq79wuzzv32yml9zglwzf9qcwfj3atuy74</p>
|
|
||||||
<p>Monero: 8BESz45LnxrgCwZP32KieiN1D4LinCfsS1YjdFHfGXrVCmPs35167QsW1gd7qbff4UAtBbT6oWrkbfZnJm71HornVRiRZFS</p>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
<p>
|
|
||||||
Ako si i dalje zainteresovan, možeš napraviti <a href="/account">nalog</a> na našem serveru koji će ti
|
|
||||||
omogućiti korišćenje svih naših <a href="/services">servisa</a>.
|
|
||||||
Ako želiš prvo da vidiš kako to sve izgleda u realnosti, možeš doći na neki od naših <a
|
|
||||||
href="/events">događaja</a>, i tu nas upoznati!
|
|
||||||
</p>
|
|
@ -1 +0,0 @@
|
|||||||
Ova stranica je trenutno u izradi...
|
|
@ -1,58 +0,0 @@
|
|||||||
<h1>Servisi</h1>
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th>Servis</th>
|
|
||||||
<th>Opis</th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="/account">E-mail</a></td>
|
|
||||||
<td>E-mail nalog koji možeš da koristiš sa bilo kojim email
|
|
||||||
klijentom generalne namene (na primer <a href="https://www.thunderbird.net/">Thunderbird</a>-om).</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="https://forum.dmz.rs/">Forum</a></td>
|
|
||||||
<td>Forum na kom obično organizujemo naše <a href="/events">događaje</a>.
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Chat</td>
|
|
||||||
<td>Održavamo sopstveni XMPP server, na kojem možeš da napraviš nalog.
|
|
||||||
Ako već poseduješ nalog možeš da nas nađeš u grupi <a
|
|
||||||
href="decentrala@conference.dmz.rs">decentrala@conference.dmz.rs</a>.
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="https://gitea.dmz.rs/">Git</a></td>
|
|
||||||
<td><a href="https://gitea.io/en-us/">Gitea</a> instanca na kojoj držimo kôd kao i ostale resurse za naše
|
|
||||||
<a href="/projects">projekte</a>, <a href="/events">događaje</a>, kao i projekte naših
|
|
||||||
prijatelja.
|
|
||||||
Ovo može biti dom tvog sledećeg projekta. Bolji od Github-a.
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="https://wiki.dmz.rs/">Wiki</a></td>
|
|
||||||
<td><a href="https://js.wiki/">Wiki.js</a> instanca koju koristimo da dokumentujemo naše
|
|
||||||
<a href="/projects">projekte</a> kao i ostale <a href="/events">događaje</a>.
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="https://search.dmz.rs/">Search</a></td>
|
|
||||||
<td><a href="https://github.com/searxng/searxng/">SearXNG</a> instanca koju koristimo za pretraživanje Interneta.
|
|
||||||
Bolji od Google-a.
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="https://pastebin.dmz.rs/">Pastebin</a></td>
|
|
||||||
<td><a href="https://privatebin.info/">PrivateBin</a> instanca koju koristimo za brzo deljenje tekstualnih fajlova
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="ssh://soft.dmz.rs:2222/">Soft Serve</a></td>
|
|
||||||
<td><a href="https://github.com/charmbracelet/soft-serve">Soft Serve</a> instanca koju koristimo kao zamenu za Gitea servis.
|
|
||||||
Soft Serve radi potpuno iz terminala
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<p>Ovo su neki od servisa koje trenutno održavamo na našim serverima. Da bi koristio ove servise, <em>možeš</em> da se
|
|
||||||
registuješ na svaki servis posebno, a možeš i da napraviš jedinstveni <a href="/account">nalog</a> na našem
|
|
||||||
serveru i da koristiš sve servise sa istim nalogom.</p>
|
|
@ -1,5 +0,0 @@
|
|||||||
<h1>Webring</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://pionir.org">Slobodna škola Pionir</a></li>
|
|
||||||
<li><a href="https://tilda.center">Tilda Centar</a></li>
|
|
||||||
</ul>
|
|
9
poster.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<html><head><link rel="stylesheet" href="styles/poster.css"><head><body><main><h1>DECENTRALA</h1><h2>Plan za Avgust</h2><table><tr><td>UTO</td><td>1.</td><td> Tehno veče</td></tr>
|
||||||
|
<tr><td>PON</td><td>7.</td><td> Linux ricing</td></tr>
|
||||||
|
<tr><td>UTO</td><td>8.</td><td> Lambda račun</td></tr>
|
||||||
|
<tr><td>PON</td><td>14.</td><td> Linux distro diskusija</td></tr>
|
||||||
|
<tr><td>UTO</td><td>15.</td><td> Pirati 777 mora</td></tr>
|
||||||
|
<tr><td>PON</td><td>21.</td><td> Python vežbe</td></tr>
|
||||||
|
<tr><td>UTO</td><td>22.</td><td> Autentifikacija na internetu</td></tr>
|
||||||
|
<tr><td>PON</td><td>28.</td><td> Kviz</td></tr>
|
||||||
|
</table><p>Radionice počinju u <strong>19h</strong> u Društvenom centru Krov u <strong>Kraljice Marije 47</strong>.</p><p>Ulaz u zgradu je u prolazu pored Štark prodavnice slatkiša, odmah pored menjačnice. DC Krov je na poslednjem spratu.</p><div id=link>dmz.rs</div></main></body></html>
|
30
poster.py
Executable file → Normal file
@ -1,4 +1,3 @@
|
|||||||
#! /usr/bin/env python3
|
|
||||||
import csv
|
import csv
|
||||||
import datetime as dt
|
import datetime as dt
|
||||||
from dateutil import relativedelta
|
from dateutil import relativedelta
|
||||||
@ -6,9 +5,8 @@ from dateutil import relativedelta
|
|||||||
EVENTS_CSV_PATH = "dogadjaji.csv"
|
EVENTS_CSV_PATH = "dogadjaji.csv"
|
||||||
CURRENT_TIME = dt.date.today()
|
CURRENT_TIME = dt.date.today()
|
||||||
NEXT_MONTH = CURRENT_TIME + relativedelta.relativedelta(months=1, day=1)
|
NEXT_MONTH = CURRENT_TIME + relativedelta.relativedelta(months=1, day=1)
|
||||||
DAYS_OF_WEEK_SR = ("PON", "UTO", "SRE", "ČET", "PET", "SUB", "NED")
|
DAYS_OF_WEEK_SR = ("PON", "UTO", "SRE", "CET", "PET", "SUB", "NED")
|
||||||
MONTHS_SR = ("Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust",\
|
MONTHS_SR = ("Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar")
|
||||||
"Septembar", "Oktobar", "Novembar", "Decembar")
|
|
||||||
|
|
||||||
def load_events(csv_path:str) -> list[dict]:
|
def load_events(csv_path:str) -> list[dict]:
|
||||||
events = []
|
events = []
|
||||||
@ -22,9 +20,11 @@ def load_events(csv_path:str) -> list[dict]:
|
|||||||
event_title = event[3]
|
event_title = event[3]
|
||||||
current_event = {"date":event_date_parsed,
|
current_event = {"date":event_date_parsed,
|
||||||
"time":event_time,
|
"time":event_time,
|
||||||
"title":event_title.strip()}
|
"title":event_title}
|
||||||
|
|
||||||
if event_date_parsed >= NEXT_MONTH:
|
if event_date_parsed >= NEXT_MONTH:
|
||||||
events.append(current_event)
|
events.append(current_event)
|
||||||
|
|
||||||
return events
|
return events
|
||||||
|
|
||||||
def render_table(events:list[dict])-> str:
|
def render_table(events:list[dict])-> str:
|
||||||
@ -33,23 +33,18 @@ def render_table(events:list[dict])-> str:
|
|||||||
date = DAYS_OF_WEEK_SR[event["date"].weekday()]
|
date = DAYS_OF_WEEK_SR[event["date"].weekday()]
|
||||||
day = event["date"].day
|
day = event["date"].day
|
||||||
title = event["title"]
|
title = event["title"]
|
||||||
html += f"\t\t\t<tr> <td>{date}</td> <td>{day}.</td> <td>{title}</td> </tr>\n"
|
html += f"<tr><td>{date}</td><td>{day}.</td><td>{title}</td></tr>\n"
|
||||||
return html
|
return html
|
||||||
|
|
||||||
def render_page(table: str) -> str:
|
def render_page(table: str) -> str:
|
||||||
head = "<head><meta charset=\"UTF-8\"><link rel=\"stylesheet\"\
|
head = "<head><link rel=\"stylesheet\" href=\"styles/poster.css\"><head>"
|
||||||
href=\"styles/poster.css\"><head>"
|
|
||||||
header = "<h1>DECENTRALA</h1>"
|
header = "<h1>DECENTRALA</h1>"
|
||||||
subheader = f"<h2>Plan za {MONTHS_SR[NEXT_MONTH.month - 1]}</h2>"
|
subheader = f"<h2>Plan za {MONTHS_SR[NEXT_MONTH.month - 1]}</h2>"
|
||||||
link = "<div id=link><img src=\"/img/logo-light.svg\"> dmz.rs</div>"
|
link = "<div id=link>dmz.rs</div>"
|
||||||
p1 = "<p>Radionice počinju u <strong>19h</strong> u Društvenom centru Krov\
|
p1 = "<p>Radionice počinju u <strong>19h</strong> u Društvenom centru Krov u <strong>Kraljice Marije 47</strong>.</p>"
|
||||||
u <strong>Kraljice Marije 47</strong>.</p>"
|
p2 = "<p>Ulaz u zgradu je u prolazu pored Štark prodavnice slatkiša, odmah pored menjačnice. DC Krov je na poslednjem spratu.</p>"
|
||||||
p2 = "<p>Ulaz u zgradu je u prolazu pored Štark prodavnice slatkiša, odmah\
|
return f"<html>{head}<body><main>{header}{subheader}<table>{table}</table>{p1}{p2}{link}</main></body></html>"
|
||||||
pored menjačnice. DC Krov je na poslednjem spratu.</p>"
|
|
||||||
footer = f"{p1}{p2}{link}"
|
|
||||||
return f"<html>{head}<body><main>{header}{subheader}\
|
|
||||||
<table>{table}</table>{footer}</main></body></html>"
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
events = load_events(EVENTS_CSV_PATH)
|
events = load_events(EVENTS_CSV_PATH)
|
||||||
table = render_table(events)
|
table = render_table(events)
|
||||||
@ -58,5 +53,6 @@ def main():
|
|||||||
f.write(page)
|
f.write(page)
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
184
prep.py
Executable file → Normal file
@ -1,88 +1,130 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python
|
||||||
|
|
||||||
import csv
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
from functools import cmp_to_key
|
||||||
|
|
||||||
DAYS_SR = ["PON", "UTO", "SRE", "ČET", "PET", "SUB", "NED"]
|
days = [
|
||||||
DAYS_EN = ["MON ", "TUE", "WED", "THU", "FRI", "SAT", "SUN"]
|
"Ponedeljak",
|
||||||
|
"Utorak",
|
||||||
|
"Sreda",
|
||||||
|
"Cetvrtak",
|
||||||
|
"Petak",
|
||||||
|
"Subota",
|
||||||
|
"Nedelja",
|
||||||
|
]
|
||||||
|
|
||||||
def load_events(csv_path:str) -> list[dict]:
|
months = [
|
||||||
events = []
|
"Januar",
|
||||||
with open(csv_path) as csv_file:
|
"Februar",
|
||||||
csv_reader = csv.reader(csv_file)
|
"Mart",
|
||||||
next(csv_reader, None)
|
"April",
|
||||||
for event in csv_reader:
|
"Maj",
|
||||||
event_date = event[0]
|
"Jun",
|
||||||
event_date_parsed = datetime.strptime(event_date, "%d-%m-%Y").date()
|
"Jul",
|
||||||
event_time = event[1]
|
"Avgust",
|
||||||
event_location = event[2]
|
"Septembar",
|
||||||
event_title = event[3]
|
"Oktobar",
|
||||||
current_event = {"date":event_date_parsed,
|
"Novembar",
|
||||||
"time":event_time,
|
"Decembar",
|
||||||
"location": event_location,
|
]
|
||||||
"title":event_title.strip()}
|
|
||||||
events.append(current_event)
|
|
||||||
return events
|
|
||||||
|
|
||||||
def build_html(events: list[dict], dayNames: list[str]) -> str:
|
|
||||||
events_html = []
|
|
||||||
for event in events:
|
|
||||||
title = event["title"]
|
|
||||||
location = event["location"]
|
|
||||||
date = event["date"]
|
|
||||||
date = dayNames[date.weekday()]+", "+str(date.day)+". "+str(date.month)+". "+str(date.year)+", "
|
|
||||||
time = event["time"]+"h"
|
|
||||||
event_html = []
|
|
||||||
event_html.append(f"<div class='date'>{date} {time}</div>")
|
|
||||||
event_html.append(f"<div class='title'>{title}</div>")
|
|
||||||
if "https://" in location:
|
|
||||||
place,link = location.split("https://")
|
|
||||||
event_html.append(f"<div class='place'><a href=\"https://{link}\">@{place.strip()}</a></div>")
|
|
||||||
else:
|
|
||||||
event_html.append(f"<div class='place'>@{location.strip()}</div>")
|
|
||||||
|
|
||||||
event_html = "".join(event_html)
|
|
||||||
events_html.append(f"\n<div class='event'>{event_html}</div>")
|
|
||||||
return events_html
|
|
||||||
|
|
||||||
events = sorted(load_events("dogadjaji.csv"), key=lambda e: e["date"])
|
|
||||||
|
|
||||||
today = datetime.today().date()
|
today = datetime.today().date()
|
||||||
|
|
||||||
past_events = list(filter(lambda e: e["date"] <= today, events))
|
def parse_date(date):
|
||||||
new_events = list(filter(lambda e: e["date"] >= today, events))
|
return datetime.strptime(date,"%d-%m-%Y").date()
|
||||||
|
|
||||||
|
def compare_events(one, two):
|
||||||
|
one = parse_date(one.split(", ")[0])
|
||||||
|
two = parse_date(two.split(", ")[0])
|
||||||
|
if one>two:
|
||||||
|
return 1
|
||||||
|
elif one==two:
|
||||||
|
return 0
|
||||||
|
else:
|
||||||
|
return -1
|
||||||
|
|
||||||
|
def is_past_event(event):
|
||||||
|
return event < today
|
||||||
|
|
||||||
|
def load_events():
|
||||||
|
events = []
|
||||||
|
with open("dogadjaji.txt", "rt") as file:
|
||||||
|
file.readline()
|
||||||
|
for event in file.readlines():
|
||||||
|
event = event.strip()
|
||||||
|
if event != "":
|
||||||
|
events.append(event)
|
||||||
|
return events
|
||||||
|
|
||||||
|
def write_events(events):
|
||||||
|
with open("dogadjaji.txt", "wt") as file:
|
||||||
|
file.write("datum, vreme, lokacija, tema\n")
|
||||||
|
for event in events:
|
||||||
|
file.write(event+"\n")
|
||||||
|
|
||||||
|
def sort_events(events):
|
||||||
|
return sorted(events, key = cmp_to_key(compare_events))
|
||||||
|
|
||||||
|
|
||||||
page_template = ""
|
events = load_events()
|
||||||
|
events = sort_events(events)
|
||||||
|
write_events(events)
|
||||||
|
|
||||||
# Build Serbian Events page
|
start = "<table>\n<tr>\n<th>Datum</th>\n<th>Vreme</th>\n<th>Mesto</th>\n<th>Tema</th>\n</tr>\n"
|
||||||
new_events_html = build_html(new_events, DAYS_SR)
|
end="\n</table>"
|
||||||
with open("pages/sr/events.html", "r") as file:
|
future_events = []
|
||||||
page_template = ([line for line in file])[:2]
|
|
||||||
|
|
||||||
with open("pages/sr/events.html", "w") as file:
|
for event in events:
|
||||||
file.writelines(page_template + new_events_html)
|
date, time, location, title = event.split(", ")
|
||||||
|
date = parse_date(date)
|
||||||
|
if is_past_event(date):
|
||||||
|
continue
|
||||||
|
date = days[date.weekday()]+", "+str(date.day)+". "+months[date.month-1]+" "+str(date.year)+"."
|
||||||
|
time = time+"h"
|
||||||
|
future_event = []
|
||||||
|
future_event.append("<td> "+date+" </td>")
|
||||||
|
future_event.append("<td> "+time+" </td>")
|
||||||
|
if "https://" in location:
|
||||||
|
place,link = location.split("https://")
|
||||||
|
future_event.append("<td> <a href=\"https://"+link+"\""+"> "+place.strip()+" </a> </td>")
|
||||||
|
else:
|
||||||
|
future_event.append("<td> "+location.strip()+" </td>")
|
||||||
|
future_event.append("<td> "+title+" </td>")
|
||||||
|
future_events.append("<tr>\n"+"\n".join(future_event)+"\n</tr>")
|
||||||
|
|
||||||
# Build English Events page
|
events = []
|
||||||
new_events_html = build_html(new_events, DAYS_EN)
|
events.append(start)
|
||||||
with open("pages/en/events.html", "r") as file:
|
|
||||||
page_template = ([line for line in file])[:2]
|
|
||||||
|
|
||||||
with open("pages/en/events.html", "w") as file:
|
for event in future_events:
|
||||||
file.writelines(page_template + new_events_html)
|
events.append(event)
|
||||||
|
|
||||||
# Build Serbian Archive page
|
events.append(end)
|
||||||
past_events_html = build_html(past_events, DAYS_SR)
|
|
||||||
with open("pages/sr/events_archive.html", "r") as file:
|
|
||||||
page_template = ([line for line in file])[:2]
|
|
||||||
|
|
||||||
with open("pages/sr/events_archive.html", "w") as file:
|
with open("pages/dogadjaji.html","rt") as file:
|
||||||
file.writelines(page_template + past_events_html)
|
html = file.readlines()
|
||||||
|
|
||||||
# Build English Archive page
|
new_html = []
|
||||||
past_events_html = build_html(past_events, DAYS_EN)
|
|
||||||
with open("pages/en/events_archive.html", "r") as file:
|
|
||||||
page_template = ([line for line in file])[:2]
|
|
||||||
|
|
||||||
with open("pages/en/events_archive.html", "w") as file:
|
i=0
|
||||||
file.writelines(page_template + past_events_html)
|
while i<len(html):
|
||||||
|
original_line = html[i]
|
||||||
|
line = original_line.strip()
|
||||||
|
if line == '<!-- dogadjaji start -->':
|
||||||
|
new_html.append(original_line)
|
||||||
|
for event in events:
|
||||||
|
new_html.append(event+"\n")
|
||||||
|
new_html.append(" <!-- dogadjaji end -->\n")
|
||||||
|
while line!='<!-- dogadjaji end -->':
|
||||||
|
i+=1
|
||||||
|
line=html[i].strip()
|
||||||
|
i+=1
|
||||||
|
while i<len(html):
|
||||||
|
new_html.append(html[i])
|
||||||
|
i+=1
|
||||||
|
else:
|
||||||
|
new_html.append(original_line)
|
||||||
|
i+=1
|
||||||
|
|
||||||
|
|
||||||
|
with open("pages/dogadjaji.html","wt") as file:
|
||||||
|
file.writelines(new_html)
|
@ -1,8 +1,8 @@
|
|||||||
const theme_switcher = document.getElementById("theme-switcher");
|
const theme_switcher = document.getElementById("theme-switcher");
|
||||||
const imgs = document.getElementsByTagName("img");
|
const imgs = document.getElementsByTagName("img");
|
||||||
const sections_button = document.getElementById("sections-button");
|
const sections_button = document.getElementById("sections-button");
|
||||||
const sections_menu = document.getElementsByTagName("nav")[0];
|
const sections_menu = document.getElementById("sections-menu");
|
||||||
const main = document.getElementsByTagName("main")[0];
|
const main = document.getElementById("main");
|
||||||
|
|
||||||
let theme = window.localStorage.getItem("theme");
|
let theme = window.localStorage.getItem("theme");
|
||||||
|
|
||||||
@ -22,8 +22,7 @@ if (theme !== null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
theme_switcher.addEventListener("click", () => {
|
theme_switcher.addEventListener("click", () => {
|
||||||
const attribute = theme_switcher.getAttribute("title") ?? "off"
|
if (theme_switcher.textContent.indexOf("off") !== -1) {
|
||||||
if (attribute.indexOf("off") !== -1) {
|
|
||||||
changeToDarkTheme();
|
changeToDarkTheme();
|
||||||
} else {
|
} else {
|
||||||
changeToLightTheme();
|
changeToLightTheme();
|
||||||
@ -31,7 +30,7 @@ theme_switcher.addEventListener("click", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function changeToDarkTheme() {
|
function changeToDarkTheme() {
|
||||||
theme_switcher?.setAttribute("title", "turn the light on");
|
theme_switcher.textContent = "turn the light on";
|
||||||
document.documentElement.style.setProperty("--border", "var(--dark-border)");
|
document.documentElement.style.setProperty("--border", "var(--dark-border)");
|
||||||
document.documentElement.style.setProperty("--text", "var(--dark-text)");
|
document.documentElement.style.setProperty("--text", "var(--dark-text)");
|
||||||
document.documentElement.style.setProperty("--bg", "var(--dark-bg)");
|
document.documentElement.style.setProperty("--bg", "var(--dark-bg)");
|
||||||
@ -42,7 +41,7 @@ function changeToDarkTheme() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function changeToLightTheme() {
|
function changeToLightTheme() {
|
||||||
theme_switcher?.setAttribute("title", "turn the light off");
|
theme_switcher.textContent = "turn the light off";
|
||||||
document.documentElement.style.setProperty("--border", "var(--light-border)");
|
document.documentElement.style.setProperty("--border", "var(--light-border)");
|
||||||
document.documentElement.style.setProperty("--text", "var(--light-text)");
|
document.documentElement.style.setProperty("--text", "var(--light-text)");
|
||||||
document.documentElement.style.setProperty("--bg", "var(--light-bg)");
|
document.documentElement.style.setProperty("--bg", "var(--light-bg)");
|
||||||
@ -85,10 +84,12 @@ window.addEventListener("resize", () => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
main.addEventListener("click", () => {
|
main.addEventListener("click", (event) => {
|
||||||
if (sections_button.getAttribute("opened") === "true") {
|
if (sections_button.getAttribute("opened") === "true") {
|
||||||
closeMenu();
|
closeMenu();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
DEBUG;
|
||||||
|
console.log(window.innerWidth);
|
||||||
|
console.log(window.innerHeight);
|
0
site/.gitignore
vendored
@ -1,19 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="/styles/style.css">
|
|
||||||
<link rel="stylesheet" href="/styles/404.css">
|
|
||||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
|
||||||
<script src="/scripts/main.js" defer></script>
|
|
||||||
<title>404</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<main>
|
|
||||||
<img src="/img/logo-light.svg" alt="Logo">
|
|
||||||
<p>Requested resource was not found</p>
|
|
||||||
<p><a href="/">Go back to Homepage</a></p>
|
|
||||||
</main>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 66 KiB |
@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
width="20"
|
|
||||||
height="20"
|
|
||||||
viewBox="0 0 5.2916667 5.2916666"
|
|
||||||
version="1.1"
|
|
||||||
id="svg1"
|
|
||||||
xml:space="preserve"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
|
||||||
id="defs1" /><g
|
|
||||||
id="layer1"><path
|
|
||||||
id="path2"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;stroke-width:0.352999;stroke-linejoin:round"
|
|
||||||
d="M 2.6434889,0.17372798 A 0.49603044,0.49603044 0 0 0 2.1474722,0.66974458 0.49603044,0.49603044 0 0 0 2.6434889,1.1657897 0.49603044,0.49603044 0 0 0 2.9134465,1.0850992 L 4.2150262,2.3807419 A 0.49603044,0.49603044 0 0 0 4.1463813,2.5645005 H 3.1320271 A 0.49603044,0.49603044 0 0 0 2.6434889,2.1505729 0.49603044,0.49603044 0 0 0 2.1604593,2.5645005 H 1.1507581 A 0.49603044,0.49603044 0 0 0 0.66221981,2.1505729 0.49603044,0.49603044 0 0 0 0.16620324,2.646618 0.49603044,0.49603044 0 0 0 0.66221981,3.1426345 0.49603044,0.49603044 0 0 0 1.145021,2.7301914 h 1.0156952 a 0.49603044,0.49603044 0 0 0 0.3724833,0.3949749 l -0.00122,1.0183782 A 0.49603044,0.49603044 0 0 0 2.1474801,4.6219219 0.49603044,0.49603044 0 0 0 2.6434968,5.1179387 0.49603044,0.49603044 0 0 0 3.1395417,4.6219219 0.49603044,0.49603044 0 0 0 3.036274,4.3197964 L 4.326465,3.0364841 A 0.49603044,0.49603044 0 0 0 4.6294466,3.1426345 0.49603044,0.49603044 0 0 0 5.1254634,2.646618 0.49603044,0.49603044 0 0 0 4.6294466,2.1505729 0.49603044,0.49603044 0 0 0 4.3258658,2.257323 L 3.0354385,0.97286893 A 0.49603044,0.49603044 0 0 0 3.1395339,0.66974458 0.49603044,0.49603044 0 0 0 2.6434889,0.17372798 Z M 3.1262902,2.7301914 h 1.0203475 a 0.49603044,0.49603044 0 0 0 0.068759,0.1830162 L 2.9144742,4.2072235 A 0.49603044,0.49603044 0 0 0 2.6976917,4.1289593 l 0.0012,-0.9950873 A 0.49603044,0.49603044 0 0 0 3.1262902,2.7301914 Z" /></g></svg>
|
|
Before Width: | Height: | Size: 1.9 KiB |
@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
width="20"
|
|
||||||
height="20"
|
|
||||||
viewBox="0 0 5.2916667 5.2916666"
|
|
||||||
version="1.1"
|
|
||||||
id="svg1"
|
|
||||||
xml:space="preserve"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
|
||||||
id="defs1" /><g
|
|
||||||
id="layer1"><path
|
|
||||||
id="path2"
|
|
||||||
style="fill:#000000;fill-opacity:1;stroke-width:0.352999;stroke-linejoin:round"
|
|
||||||
d="M 2.6434889,0.17372798 A 0.49603044,0.49603044 0 0 0 2.1474722,0.66974458 0.49603044,0.49603044 0 0 0 2.6434889,1.1657897 0.49603044,0.49603044 0 0 0 2.9134465,1.0850992 L 4.2150262,2.3807419 A 0.49603044,0.49603044 0 0 0 4.1463813,2.5645005 H 3.1320271 A 0.49603044,0.49603044 0 0 0 2.6434889,2.1505729 0.49603044,0.49603044 0 0 0 2.1604593,2.5645005 H 1.1507581 A 0.49603044,0.49603044 0 0 0 0.66221981,2.1505729 0.49603044,0.49603044 0 0 0 0.16620324,2.646618 0.49603044,0.49603044 0 0 0 0.66221981,3.1426345 0.49603044,0.49603044 0 0 0 1.145021,2.7301914 h 1.0156952 a 0.49603044,0.49603044 0 0 0 0.3724833,0.3949749 l -0.00122,1.0183782 A 0.49603044,0.49603044 0 0 0 2.1474801,4.6219219 0.49603044,0.49603044 0 0 0 2.6434968,5.1179387 0.49603044,0.49603044 0 0 0 3.1395417,4.6219219 0.49603044,0.49603044 0 0 0 3.036274,4.3197964 L 4.326465,3.0364841 A 0.49603044,0.49603044 0 0 0 4.6294466,3.1426345 0.49603044,0.49603044 0 0 0 5.1254634,2.646618 0.49603044,0.49603044 0 0 0 4.6294466,2.1505729 0.49603044,0.49603044 0 0 0 4.3258658,2.257323 L 3.0354385,0.97286893 A 0.49603044,0.49603044 0 0 0 3.1395339,0.66974458 0.49603044,0.49603044 0 0 0 2.6434889,0.17372798 Z M 3.1262902,2.7301914 h 1.0203475 a 0.49603044,0.49603044 0 0 0 0.068759,0.1830162 L 2.9144742,4.2072235 A 0.49603044,0.49603044 0 0 0 2.6976917,4.1289593 l 0.0012,-0.9950873 A 0.49603044,0.49603044 0 0 0 3.1262902,2.7301914 Z" /></g></svg>
|
|
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 41 KiB |
@ -1,21 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
width="40"
|
|
||||||
height="40"
|
|
||||||
viewBox="0 0 10 10"
|
|
||||||
version="1.1"
|
|
||||||
id="svg5"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg">
|
|
||||||
<defs
|
|
||||||
id="defs2" />
|
|
||||||
<g
|
|
||||||
id="layer1">
|
|
||||||
<path
|
|
||||||
id="path1336"
|
|
||||||
style="fill:#181715;stroke-width:0.504542;fill-opacity:1"
|
|
||||||
d="M 10 0 L 8.8911133 0.57714844 L 8.8862305 0.58544922 L 0.96435547 4.2792969 A 10 10 0 0 0 1.574707 5.3740234 L 7.6362305 2.5473633 L 4.1142578 8.0756836 A 10 10 0 0 0 5.1674805 8.7485352 L 8.6904297 3.21875 L 8.6904297 9.9086914 A 10 10 0 0 0 9.9404297 9.9975586 L 9.9404297 1.2568359 L 9.9453125 1.2490234 L 10 0 z " />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 773 B |
@ -1,21 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
width="40"
|
|
||||||
height="40"
|
|
||||||
viewBox="0 0 10 10"
|
|
||||||
version="1.1"
|
|
||||||
id="svg5"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg">
|
|
||||||
<defs
|
|
||||||
id="defs2" />
|
|
||||||
<g
|
|
||||||
id="layer1">
|
|
||||||
<path
|
|
||||||
id="path1336"
|
|
||||||
style="fill:#181715;fill-opacity:1;stroke-width:0.504542"
|
|
||||||
d="M 5 0.0029296875 L 4.375 1.0859375 L 4.375 1.0952148 L 0.35400391 7.4072266 A 8.75 8.75 0 0 0 1.4614258 7.9956055 L 4.375 3.4213867 L 4.375 8.7265625 A 8.75 8.75 0 0 0 5 8.75 A 8.75 8.75 0 0 0 5.625 8.7265625 L 5.625 3.4213867 L 8.5390625 7.9956055 A 8.75 8.75 0 0 0 9.6464844 7.4072266 L 5.625 1.0952148 L 5.625 1.0859375 L 5 0.0029296875 z " />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 799 B |
@ -1,12 +0,0 @@
|
|||||||
main {
|
|
||||||
max-width: fit-content;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
gap: 1rem;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
main img {
|
|
||||||
width: min(70vw, 15rem);
|
|
||||||
}
|
|
@ -1,65 +0,0 @@
|
|||||||
.event {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
}
|
|
||||||
|
|
||||||
.event:hover {
|
|
||||||
border-bottom: 5px var(--hightlight) solid;
|
|
||||||
}
|
|
||||||
|
|
||||||
.event:hover>div {
|
|
||||||
padding-bottom: calc(0.5rem - 5px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.event>div {
|
|
||||||
padding-top: 0.5rem;
|
|
||||||
padding-bottom: 0.5rem;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.date {
|
|
||||||
width: 250px;
|
|
||||||
font-size: 0.9em;
|
|
||||||
overflow-x: hidden;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
|
||||||
border-left: 2px solid var(--border);
|
|
||||||
font-weight: bold;
|
|
||||||
padding-left: 1rem;
|
|
||||||
padding-right: 0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.place {
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 1160px) {
|
|
||||||
.event {
|
|
||||||
flex-direction: column;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
border-left: 3px solid var(--border);
|
|
||||||
}
|
|
||||||
|
|
||||||
.event > div {
|
|
||||||
padding: 0 0.5rem;
|
|
||||||
white-space: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.event:hover {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.event:hover> div {
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.date {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
|
||||||
border-left: none;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,149 +0,0 @@
|
|||||||
/* Copyright (c) 2023 Luka Ivanovic */
|
|
||||||
/* https://github.com/luka-hash/css-reset */
|
|
||||||
/* This code is licensed under MIT licence */
|
|
||||||
|
|
||||||
*,
|
|
||||||
*::before,
|
|
||||||
*::after {
|
|
||||||
box-sizing: border-box;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
html,
|
|
||||||
body {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
a,
|
|
||||||
article,
|
|
||||||
audio,
|
|
||||||
blockquote,
|
|
||||||
body,
|
|
||||||
canvas,
|
|
||||||
caption,
|
|
||||||
code,
|
|
||||||
dd,
|
|
||||||
del,
|
|
||||||
details,
|
|
||||||
div,
|
|
||||||
dl,
|
|
||||||
dt,
|
|
||||||
em,
|
|
||||||
fieldset,
|
|
||||||
figcaption,
|
|
||||||
figure,
|
|
||||||
footer,
|
|
||||||
form,
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6,
|
|
||||||
header,
|
|
||||||
hgroup,
|
|
||||||
html,
|
|
||||||
iframe,
|
|
||||||
img,
|
|
||||||
ins,
|
|
||||||
kbd,
|
|
||||||
label,
|
|
||||||
legend,
|
|
||||||
li,
|
|
||||||
mark,
|
|
||||||
menu,
|
|
||||||
nav,
|
|
||||||
ol,
|
|
||||||
output,
|
|
||||||
p,
|
|
||||||
pre,
|
|
||||||
s,
|
|
||||||
section,
|
|
||||||
small,
|
|
||||||
span,
|
|
||||||
strong,
|
|
||||||
sub,
|
|
||||||
summary,
|
|
||||||
sup,
|
|
||||||
table,
|
|
||||||
tbody,
|
|
||||||
td,
|
|
||||||
tfoot,
|
|
||||||
th,
|
|
||||||
thead,
|
|
||||||
time,
|
|
||||||
tr,
|
|
||||||
ul,
|
|
||||||
video {
|
|
||||||
border: 0;
|
|
||||||
font-size: 100%;
|
|
||||||
font: inherit;
|
|
||||||
vertical-align: baseline;
|
|
||||||
}
|
|
||||||
|
|
||||||
article,
|
|
||||||
details,
|
|
||||||
figcaption,
|
|
||||||
figure,
|
|
||||||
footer,
|
|
||||||
header,
|
|
||||||
hgroup,
|
|
||||||
menu,
|
|
||||||
nav,
|
|
||||||
section {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
line-height: 1.5;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol,
|
|
||||||
ul {
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote {
|
|
||||||
quotes: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote::before,
|
|
||||||
blockquote::after {
|
|
||||||
content: '';
|
|
||||||
content: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
|
||||||
border-collapse: collapse;
|
|
||||||
border-spacing: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
img,
|
|
||||||
picture,
|
|
||||||
video,
|
|
||||||
canvas,
|
|
||||||
svg {
|
|
||||||
display: block;
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
button,
|
|
||||||
textarea,
|
|
||||||
select {
|
|
||||||
font: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
p,
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6 {
|
|
||||||
overflow-wrap: break-word;
|
|
||||||
hyphens: auto;
|
|
||||||
}
|
|
4
styles/account.css
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
h1 {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
4
styles/contact.css
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
h1 {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
30
styles/events.css
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
table {
|
||||||
|
table-layout: fixed;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
th,
|
||||||
|
td {
|
||||||
|
padding: 0 1rem 0 1rem;
|
||||||
|
text-align: left;
|
||||||
|
border-left: 2px solid var(--border);
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
padding: 1rem 1rem 0 1rem;
|
||||||
|
border-bottom: 2px solid var(--border);
|
||||||
|
}
|
||||||
|
|
||||||
|
td:nth-child(odd) {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
padding: 0 1rem 1rem 1rem;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
@ -1,3 +1,8 @@
|
|||||||
|
h1 {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
dl {
|
dl {
|
||||||
padding: 1rem 0;
|
padding: 1rem 0;
|
||||||
}
|
}
|
@ -40,6 +40,7 @@ h2 {
|
|||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
@ -62,15 +63,7 @@ td:nth-child(2) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#link {
|
#link {
|
||||||
margin-top: 4rem;
|
margin-top: 8rem;
|
||||||
|
text-align: right;
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
width: fit-content;
|
}
|
||||||
float: right;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#link img {
|
|
||||||
width: 4rem;
|
|
||||||
}
|
|
@ -20,3 +20,8 @@ td {
|
|||||||
padding: 0 1rem 1rem 1rem;
|
padding: 0 1rem 1rem 1rem;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
@ -5,7 +5,9 @@
|
|||||||
--dark-text: #ffffff;
|
--dark-text: #ffffff;
|
||||||
--dark-bg: #181715;
|
--dark-bg: #181715;
|
||||||
--dark-border: #ffffff;
|
--dark-border: #ffffff;
|
||||||
|
|
||||||
--hightlight: #72dec2;
|
--hightlight: #72dec2;
|
||||||
|
|
||||||
--border: var(--light-border);
|
--border: var(--light-border);
|
||||||
--text: var(--light-text);
|
--text: var(--light-text);
|
||||||
--bg: var(--light-bg);
|
--bg: var(--light-bg);
|
||||||
@ -32,12 +34,10 @@ body {
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template:
|
grid-template-columns: 1fr;
|
||||||
"header" 4rem
|
grid-template-rows: 5rem 1fr 5rem;
|
||||||
"main" 1fr
|
grid-column-gap: 0px;
|
||||||
"footer" 4rem
|
grid-row-gap: 0px;
|
||||||
/ 1fr;
|
|
||||||
gap: 0;
|
|
||||||
font-family: 'Iosevka';
|
font-family: 'Iosevka';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,39 +50,33 @@ footer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
grid-area: header;
|
grid-area: 1 / 1 / 2 / 2;
|
||||||
border-bottom: 2px solid var(--border);
|
border-bottom: 2px solid var(--border);
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
grid-area: footer;
|
grid-area: 3 / 1 / 4 / 2;
|
||||||
border-top: 2px solid var(--border);
|
border-top: 2px solid var(--border);
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
#main {
|
||||||
grid-area: main;
|
grid-area: 2 / 1 / 3 / 2;
|
||||||
padding: 3rem;
|
padding: 3rem 3rem 3rem 3rem;
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
max-width: 120ch;
|
max-width: 120ch;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
main h1 {
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 1.5em;
|
|
||||||
font-variant-caps: small-caps;
|
|
||||||
}
|
|
||||||
|
|
||||||
a,
|
a,
|
||||||
a:visited {
|
a:visited {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
main a {
|
#main a {
|
||||||
text-decoration: underline;
|
position: relative;
|
||||||
|
top: 0.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover,
|
a:hover,
|
||||||
@ -91,80 +85,25 @@ a:focus {
|
|||||||
text-decoration: line-through var(--text);
|
text-decoration: line-through var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
#logo {
|
.logo {
|
||||||
display: flex;
|
font-size: 3rem;
|
||||||
flex-direction: row;
|
|
||||||
gap: 0.5rem;
|
|
||||||
font-size: 2.5rem;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-variant: small-caps;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#logo img {
|
.account,
|
||||||
width: 3rem;
|
.sections,
|
||||||
}
|
#sections-menu {
|
||||||
|
|
||||||
#theme-switcher {
|
|
||||||
border: 3px solid var(--border);
|
|
||||||
width: 1.5rem;
|
|
||||||
height: 1.5rem;
|
|
||||||
border-radius: 3rem;
|
|
||||||
margin-left: auto;
|
|
||||||
background: linear-gradient(90deg, var(--border) 0%, var(--border) 50%, var(--bg) 51%, var(--bg) 100%);
|
|
||||||
}
|
|
||||||
|
|
||||||
#theme-switcher:hover {
|
|
||||||
border-color: var(--hightlight);
|
|
||||||
background: linear-gradient(90deg, var(--hightlight) 0%, var(--hightlight) 50%, var(--bg) 51%, var(--bg) 100%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.lang {
|
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mesh {
|
#mesh {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 4rem;
|
bottom: 5rem;
|
||||||
right: 0;
|
right: 0;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.links {
|
|
||||||
display: flex;
|
|
||||||
gap: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.links > a {
|
|
||||||
border-radius: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.links > a > img {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sections-button {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav {
|
|
||||||
font-variant: small-caps;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
gap: 2rem;
|
|
||||||
font-size: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: lighter;
|
|
||||||
border: none;
|
|
||||||
background: var(--bg);
|
|
||||||
color: var(--text);
|
|
||||||
margin: 0 2rem 0 0;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-height: 860px),
|
@media screen and (max-height: 860px),
|
||||||
screen and (max-width: 1500px) {
|
screen and (max-width: 1500px) {
|
||||||
#mesh {
|
#mesh {
|
||||||
@ -173,17 +112,7 @@ screen and (max-width: 1500px) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1160px) {
|
@media screen and (max-width: 1160px) {
|
||||||
nav {
|
.sections {
|
||||||
flex-direction: column;
|
|
||||||
border: 2px solid var(--border);
|
|
||||||
border-bottom: 0;
|
|
||||||
border-left: 0;
|
|
||||||
background-color: var(--bg);
|
|
||||||
position: absolute;
|
|
||||||
bottom: calc(4rem);
|
|
||||||
left: 0;
|
|
||||||
align-items: center;
|
|
||||||
padding: 2rem 3rem;
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -192,29 +121,48 @@ screen and (max-width: 1500px) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 540px) {
|
#sections-button {
|
||||||
#logo {
|
display: none;
|
||||||
font-size: 2.2rem;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
#sections-menu a {
|
||||||
padding: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.links {
|
#sections-menu {
|
||||||
gap: 1.2rem;
|
border: 2px solid var(--border);
|
||||||
}
|
background-color: var(--bg);
|
||||||
|
position: absolute;
|
||||||
|
bottom: calc(5rem - 2px);
|
||||||
|
left: 0;
|
||||||
|
align-items: center;
|
||||||
|
padding: 2rem 3rem;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.links a {
|
|
||||||
width: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
header,
|
|
||||||
footer {
|
|
||||||
padding: 0 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#theme-switcher {
|
.copyleft a,
|
||||||
margin-right: 1rem;
|
.sections a {
|
||||||
}
|
margin: 0 1rem 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.copyleft a:hover,
|
||||||
|
.copyleft a:focus {
|
||||||
|
background-color: var(--bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.copyleft {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: lighter;
|
||||||
|
border: none;
|
||||||
|
background: var(--bg);
|
||||||
|
color: var(--text);
|
||||||
|
margin: 0 2rem 0 0;
|
||||||
}
|
}
|
@ -1,39 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="/styles/reset.css">
|
|
||||||
<link rel="stylesheet" href="/styles/style.css">
|
|
||||||
<!--ADDITIONAL_STYLE-->
|
|
||||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
|
||||||
<script src="/scripts/main.js" defer></script>
|
|
||||||
<title><!--TITLE--> Decentrala</title>
|
|
||||||
<link rel="alternate" hreflang="sr" href="/PAGE_NAME" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<a id="logo" href="/en/index"><img src="/img/logo-light.svg" alt="Logo"> Decentrala</a>
|
|
||||||
<button id="theme-switcher"></button>
|
|
||||||
<a class="lang" hreflang="sr" href="/PAGE_NAME">SR</a>
|
|
||||||
</header>
|
|
||||||
<main>
|
|
||||||
<!--MAIN-->
|
|
||||||
</main>
|
|
||||||
<footer>
|
|
||||||
<button id="sections-button" opened="false"><img src="/img/strelica-closed-light.svg" alt="OpenMenu"></button>
|
|
||||||
<nav>
|
|
||||||
<a href="/en/events">Events</a>
|
|
||||||
<a href="/en/services">Services</a>
|
|
||||||
<a href="/en/contact">Contact</a>
|
|
||||||
<a href="/en/account">Account</a>
|
|
||||||
</nav>
|
|
||||||
<span class="links">
|
|
||||||
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="/img/cc-light.svg" alt="CreativeCommons"></a>
|
|
||||||
<a href="/en/webring"><img src="/img/w-light.svg" alt="Webring"></a>
|
|
||||||
<a href="https://gitea.dmz.rs/Decentrala/website"><img src="/img/git-light.svg" alt="SourceCode"></a>
|
|
||||||
<a href="https://balkan.fedive.rs/@decentrala"><img src="/img/mastodon-light.svg" alt="Mastodon"></a>
|
|
||||||
</span>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,39 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="sr">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="/styles/reset.css">
|
|
||||||
<link rel="stylesheet" href="/styles/style.css">
|
|
||||||
<!--ADDITIONAL_STYLE-->
|
|
||||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
|
||||||
<script src="/scripts/main.js" defer></script>
|
|
||||||
<title><!--TITLE--> Decentrala</title>
|
|
||||||
<link rel="alternate" hreflang="en" href="/en/PAGE_NAME" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<a id="logo" href="/"><img src="/img/logo-light.svg" alt="Logo"> Decentrala</a>
|
|
||||||
<button id="theme-switcher"></button>
|
|
||||||
<a class="lang" hreflang="en" href="/en/PAGE_NAME">EN</a>
|
|
||||||
</header>
|
|
||||||
<main>
|
|
||||||
<!--MAIN-->
|
|
||||||
</main>
|
|
||||||
<footer>
|
|
||||||
<button id="sections-button" opened="false"><img src="/img/strelica-closed-light.svg" alt="OpenMenu"></button>
|
|
||||||
<nav>
|
|
||||||
<a href="/events">Događaji</a>
|
|
||||||
<a href="/services">Servisi</a>
|
|
||||||
<a href="/contact">Kontakt</a>
|
|
||||||
<a class="account" href="/account">Nalog</a>
|
|
||||||
</nav>
|
|
||||||
<span class="links">
|
|
||||||
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="/img/cc-light.svg" alt="CreativeCommons"></a>
|
|
||||||
<a href="/webring"><img src="/img/w-light.svg" alt="Webring"></a>
|
|
||||||
<a href="https://gitea.dmz.rs/Decentrala/website"><img src="/img/git-light.svg" alt="SourceCode"></a>
|
|
||||||
<a href="https://balkan.fedive.rs/@decentrala"><img src="/img/mastodon-light.svg" alt="Mastodon"></a>
|
|
||||||
</span>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
</html>
|
|