Adding minimal version 20250330 (53db2f4).
Signed-off-by: Daniel Baumann <daniel@debian.org>
1
templates/55/minimal/.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
screenshots/ export-ignore
|
339
templates/55/minimal/COPYING
Normal file
|
@ -0,0 +1,339 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
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
|
||||
this service 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.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
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
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the 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 a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE 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.
|
||||
|
||||
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
|
||||
convey 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 General Public License as published by
|
||||
the Free Software Foundation; either version 2 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 General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
2
templates/55/minimal/README
Normal file
|
@ -0,0 +1,2 @@
|
|||
See template.info.txt for main info
|
||||
See COPYING for license info
|
9
templates/55/minimal/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Minimal
|
||||
A minimial template to quick start a Dokuwiki
|
||||
|
||||
More at [https://www.dokuwiki.org/template:minimal](https://www.dokuwiki.org/template:minimal)
|
||||
|
||||
**Under development:**
|
||||
- [ ] Tagline support
|
||||
- [x] Sticky TOC conf
|
||||
- [x] Themes functionality
|
14
templates/55/minimal/conf/default.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/*
|
||||
* default configuration settings
|
||||
*
|
||||
*/
|
||||
|
||||
$conf['fullWidthSite'] = 1;
|
||||
$conf['showToc'] = 1;
|
||||
$conf['stickyToc'] = 0;
|
||||
$conf['siteHeaderPosition'] = 'Top';
|
||||
$conf['siteFooterPosition'] = 'Bottom';
|
||||
$conf['showPageInfo'] = 1;
|
||||
$conf['theme'] = 'Default';
|
||||
$conf['hideTools'] = 0;
|
14
templates/55/minimal/conf/metadata.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/*
|
||||
* configuration metadata
|
||||
*
|
||||
*/
|
||||
|
||||
$meta['fullWidthSite'] = array('onoff');
|
||||
$meta['showPageInfo'] = array('onoff');
|
||||
$meta['siteHeaderPosition'] = array('multichoice','_choices' => array('Top','Above page'));
|
||||
$meta['siteFooterPosition'] = array('multichoice','_choices' => array('Bottom','Below page'));
|
||||
$meta['showToc'] = array('onoff');
|
||||
$meta['stickyToc'] = array('onoff');
|
||||
$meta['hideTools'] = array('onoff');
|
||||
$meta['theme'] = array('multichoice','_choices' => array('Default','Dark','Terminal'));
|
1189
templates/55/minimal/css/basic.css
Normal file
169
templates/55/minimal/css/content.css
Normal file
|
@ -0,0 +1,169 @@
|
|||
/**
|
||||
* This file provides the main design styles for the page content.
|
||||
*
|
||||
* @author Anika Henke <anika@selfthinker.org>
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
*/
|
||||
|
||||
|
||||
/*____________ section indenting ____________
|
||||
|
||||
.dokuwiki .page h1 {margin-left: 0;}
|
||||
.dokuwiki .page h2 {margin-left: .666em;}
|
||||
.dokuwiki .page h3 {margin-left: 1.776em;}
|
||||
.dokuwiki .page h4 {margin-left: 3em;}
|
||||
.dokuwiki .page h5 {margin-left: 4.5712em;}
|
||||
.dokuwiki .page div.level1 {margin-left: 0;}
|
||||
.dokuwiki .page div.level2 {margin-left: 1em;}
|
||||
.dokuwiki .page div.level3 {margin-left: 2em;}
|
||||
.dokuwiki .page div.level4 {margin-left: 3em;}
|
||||
.dokuwiki .page div.level5 {margin-left: 4em;}
|
||||
|
||||
[dir=rtl] .dokuwiki .page h1 {margin-left: 0; margin-right: 0;}
|
||||
[dir=rtl] .dokuwiki .page h2 {margin-left: 0; margin-right: .666em;}
|
||||
[dir=rtl] .dokuwiki .page h3 {margin-left: 0; margin-right: 1.776em;}
|
||||
[dir=rtl] .dokuwiki .page h4 {margin-left: 0; margin-right: 3em;}
|
||||
[dir=rtl] .dokuwiki .page h5 {margin-left: 0; margin-right: 4.5712em;}
|
||||
[dir=rtl] .dokuwiki .page div.level1 {margin-left: 0; margin-right: 0;}
|
||||
[dir=rtl] .dokuwiki .page div.level2 {margin-left: 0; margin-right: 1em;}
|
||||
[dir=rtl] .dokuwiki .page div.level3 {margin-left: 0; margin-right: 2em;}
|
||||
[dir=rtl] .dokuwiki .page div.level4 {margin-left: 0; margin-right: 3em;}
|
||||
[dir=rtl] .dokuwiki .page div.level5 {margin-left: 0; margin-right: 4em;}
|
||||
*/
|
||||
/* hx margin-left = (1 / font-size) * .levelx-margin */
|
||||
|
||||
|
||||
/*____________ links to wiki pages (addition to _links) ____________*/
|
||||
|
||||
/* existing wikipage */
|
||||
.dokuwiki a.wikilink1 {
|
||||
color: __existing__;
|
||||
background-color: inherit;
|
||||
}
|
||||
/* not existing wikipage */
|
||||
.dokuwiki a.wikilink2 {
|
||||
color: __missing__;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
|
||||
/*____________ images ____________*/
|
||||
|
||||
/* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */
|
||||
.dokuwiki img.media {
|
||||
margin: .2em 0;
|
||||
}
|
||||
.dokuwiki img.medialeft {
|
||||
margin: .2em 1.5em .2em 0;
|
||||
}
|
||||
.dokuwiki img.mediaright {
|
||||
margin: .2em 0 .2em 1.5em;
|
||||
}
|
||||
.dokuwiki img.mediacenter {
|
||||
margin: .2em auto;
|
||||
}
|
||||
|
||||
|
||||
/*____________ tables ____________*/
|
||||
|
||||
/* div before each table */
|
||||
.dokuwiki div.table {
|
||||
}
|
||||
|
||||
.dokuwiki table.inline {
|
||||
min-width: 50%;
|
||||
}
|
||||
.dokuwiki table.inline tr:hover td {
|
||||
background-color: __background_alt__;
|
||||
}
|
||||
.dokuwiki table.inline tr:hover th {
|
||||
background-color: __border__;
|
||||
}
|
||||
|
||||
|
||||
/*____________ code ____________*/
|
||||
|
||||
/* fix if background-color hides underlining */
|
||||
.dokuwiki em.u code {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* filenames for downloadable file and code blocks */
|
||||
.dokuwiki dl.code,
|
||||
.dokuwiki dl.file {
|
||||
}
|
||||
|
||||
.dokuwiki dl.code dt,
|
||||
.dokuwiki dl.file dt {
|
||||
background-color: __background_alt__;
|
||||
border: solid __border__;
|
||||
border-width: 1px 1px 0;
|
||||
color: inherit;
|
||||
display: inline;
|
||||
padding: .1em .5em .2em;
|
||||
margin-left: 1em;
|
||||
}
|
||||
[dir=rtl] .dokuwiki dl.code dt,
|
||||
[dir=rtl] .dokuwiki dl.file dt {
|
||||
margin-left: 0;
|
||||
margin-right: 1em;
|
||||
}
|
||||
.dokuwiki dl.code dt a,
|
||||
.dokuwiki dl.file dt a {
|
||||
}
|
||||
|
||||
.dokuwiki dl.code dd,
|
||||
.dokuwiki dl.file dd {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* for code in <file> */
|
||||
.dokuwiki pre.file,
|
||||
.dokuwiki dl.file pre,
|
||||
.dokuwiki dl.file dt {
|
||||
border-color: __text_neu__;
|
||||
}
|
||||
|
||||
|
||||
/*____________ media manager ____________*/
|
||||
|
||||
/* some headings in the media manager should not look like headings */
|
||||
#mediamanager__page h2,
|
||||
#mediamanager__page h3 {
|
||||
font-family: Frutiger, Calibri, Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
color: __text__;
|
||||
}
|
||||
|
||||
/* to style button-like div in _fileuploader.css to look like other buttons,
|
||||
please add '.qq-upload-button' to the according styles (which don't really exist in this template) */
|
||||
.qq-upload-button {
|
||||
border: 1px solid __border__;
|
||||
background-color: __background_alt__;
|
||||
padding: 0.125em 0.4em;
|
||||
}
|
||||
|
||||
/*____________ styling plugin ____________*/
|
||||
|
||||
#plugin__styling.ispopup {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
|
||||
/*____________ JS popup ____________*/
|
||||
|
||||
.JSpopup {
|
||||
background-color: __background__;
|
||||
color: __text__;
|
||||
border: 1px solid __border__;
|
||||
line-height: 1.2;
|
||||
padding: 0 .2em;
|
||||
}
|
||||
|
||||
.JSpopup ul,
|
||||
.JSpopup ol {
|
||||
padding-left: 0;
|
||||
}
|
||||
[dir=rtl] .JSpopup ul,
|
||||
[dir=rtl] .JSpopup ol {
|
||||
padding-right: 0;
|
||||
}
|
120
templates/55/minimal/css/mobile.css
Normal file
|
@ -0,0 +1,120 @@
|
|||
/*For mobile */
|
||||
@media screen and (max-width: __mobile_breakpoint__) {
|
||||
#view.right-column {
|
||||
padding: 16px;
|
||||
}
|
||||
#main .container {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#main .left-column {
|
||||
width: 100%;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#main .right-column {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#navbar .left-column {
|
||||
flex-grow: 1;
|
||||
}
|
||||
#navbar .right-column {
|
||||
width: 100%;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.table-responsive table {
|
||||
min-width: 800px;
|
||||
}
|
||||
|
||||
#navbar .left-column a.site-name
|
||||
{
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/*Nav bar for mobile */
|
||||
.mobile.icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
|
||||
#sidebar {
|
||||
width: 100%;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#navbar .right-column {
|
||||
background: rgb(255, 255, 255);
|
||||
position: absolute;
|
||||
flex-direction: column-reverse;
|
||||
right: 0px;
|
||||
z-index: 1099;
|
||||
align-items: baseline;
|
||||
width: 100%;
|
||||
top: 60px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#navbar .right-column .icon, #navbar .right-column a.navitem
|
||||
{
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
#navbar .right-column .icon.dropdown-toggle::after
|
||||
{
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
#qsearch__in, .search, #qsearch__out
|
||||
{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
navbar .right-column .options
|
||||
{
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
navbar .right-column .menu:not(.mobile-menu)
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
navbar .right-column .mobile-menu.menu, .mobile-menu.menu .list
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
navbar .right-column .options
|
||||
{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
navbar .right-column .mobile-menu
|
||||
{
|
||||
padding: 0px;
|
||||
border: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.mobile-menu.menu .list
|
||||
{
|
||||
position: relative;
|
||||
top: 0px;
|
||||
border: none;
|
||||
z-index: 1;
|
||||
|
||||
}
|
||||
|
||||
.dokuwiki .wrap_box.wrap_side.wrap_big, .dokuwiki .wrap_box.wrap_side
|
||||
{
|
||||
width: 100%;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
}
|
161
templates/55/minimal/css/print.css
Normal file
|
@ -0,0 +1,161 @@
|
|||
/**
|
||||
* This file provides the styles for printing.
|
||||
*
|
||||
* @todo: improve and finish
|
||||
*/
|
||||
|
||||
body {
|
||||
font: sans-serif;
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* hide certain sections */
|
||||
audio,
|
||||
video,
|
||||
#dokuwiki__header .tools,
|
||||
#dokuwiki__aside,
|
||||
.dokuwiki .breadcrumbs,
|
||||
.dokuwiki .toc,
|
||||
#dw__toc,
|
||||
#dokuwiki__pagetools,
|
||||
#dokuwiki__footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
caption,
|
||||
legend {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc outside;
|
||||
}
|
||||
ol {
|
||||
list-style: decimal outside;
|
||||
}
|
||||
ol ol {
|
||||
list-style-type: lower-alpha;
|
||||
}
|
||||
ol ol ol {
|
||||
list-style-type: upper-roman;
|
||||
}
|
||||
ol ol ol ol {
|
||||
list-style-type: upper-alpha;
|
||||
}
|
||||
ol ol ol ol ol {
|
||||
list-style-type: lower-roman;
|
||||
}
|
||||
|
||||
/* undo icons */
|
||||
a:link,
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
border-bottom: 1pt dotted;
|
||||
color: #333;
|
||||
background-color: inherit;
|
||||
background-image: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* display href after link */
|
||||
a.urlextern:after,
|
||||
a.interwiki:after,
|
||||
a.mail:after {
|
||||
content: " [" attr(href) "]";
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
/* code blocks */
|
||||
pre {
|
||||
font-family: monospace;
|
||||
}
|
||||
dl.code dt,
|
||||
dl.file dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* images */
|
||||
img,
|
||||
svg {
|
||||
border-width: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
img.media {
|
||||
margin: .2em 0;
|
||||
}
|
||||
img.medialeft {
|
||||
margin: .2em 1.5em .2em 0;
|
||||
}
|
||||
img.mediaright {
|
||||
margin: .2em 0 .2em 1.5em;
|
||||
}
|
||||
img.mediacenter {
|
||||
margin: .2em auto;
|
||||
}
|
||||
|
||||
mark {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding: 0 10pt;
|
||||
margin: 0;
|
||||
border: solid #ccc;
|
||||
border-width: 0 0 0 2pt;
|
||||
}
|
||||
[dir=rtl] blockquote {
|
||||
border-width: 0 2pt 0 0;
|
||||
}
|
||||
|
||||
/* tables */
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
empty-cells: show;
|
||||
border-spacing: 0;
|
||||
border: 1pt solid #ccc;
|
||||
}
|
||||
th,
|
||||
td {
|
||||
padding: 3pt 5pt;
|
||||
margin: 0;
|
||||
vertical-align: top;
|
||||
border: 1pt solid #666;
|
||||
text-align: left;
|
||||
}
|
||||
[dir=rtl] th,
|
||||
[dir=rtl] td {
|
||||
text-align: right;
|
||||
}
|
||||
th {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
/*____________ a bit of layout ____________*/
|
||||
|
||||
#dokuwiki__header {
|
||||
border-bottom: 2pt solid #ccc;
|
||||
}
|
||||
#dokuwiki__header h1 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
#dokuwiki__header h1 a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.dokuwiki div.footnotes {
|
||||
clear: both;
|
||||
border-top: 1pt solid #000;
|
||||
margin-top: 10pt;
|
||||
}
|
||||
|
||||
|
||||
navbar, .site-header, footer, .page-info, #sidebar
|
||||
{
|
||||
display: none;
|
||||
}
|
13
templates/55/minimal/css/prosemirror.css
Normal file
|
@ -0,0 +1,13 @@
|
|||
.ProseMirror
|
||||
{
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.prosemirror_wrapper .menubar.prosemirror-menubar-fixed
|
||||
|
||||
{
|
||||
position: sticky;
|
||||
border: none;
|
||||
border: 1px solid #ccc;
|
||||
padding: 0px;
|
||||
}
|
212
templates/55/minimal/css/themes.less
Normal file
|
@ -0,0 +1,212 @@
|
|||
/**
|
||||
* This file provides the colour css for themes.
|
||||
*/
|
||||
|
||||
|
||||
body.theme-dark
|
||||
{
|
||||
--background: #333;
|
||||
--background-alt: #555;
|
||||
--text-color: #eee;
|
||||
--text-color-alt: #999;
|
||||
--border-color: #666;
|
||||
--link-color: #abccff;
|
||||
|
||||
navbar a.site-name, navbar a.site-name:hover
|
||||
{
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
*:not(.ui-dialog):not(.ui-dialog *)
|
||||
{
|
||||
a.wikilink2
|
||||
{
|
||||
color: #ff9a79;
|
||||
}
|
||||
|
||||
a.wikilink1
|
||||
{
|
||||
color: #9dff9d;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
body.theme-terminal
|
||||
{
|
||||
--background: #111;
|
||||
--background-alt: #050;
|
||||
--text-color: #0c0;
|
||||
--text-color-alt: #0a0;
|
||||
--border-color: #070;
|
||||
--link-color: #0c0;
|
||||
|
||||
font-family: Monospace, Sans-serif;
|
||||
|
||||
navbar a.site-name, navbar a.site-name:hover
|
||||
{
|
||||
color: #0c0;
|
||||
}
|
||||
|
||||
*:not(.ui-dialog):not(.ui-dialog *)
|
||||
{
|
||||
a.wikilink2, a.wikilink1
|
||||
{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*Corrections which are common for all themes */
|
||||
|
||||
|
||||
body.theme-dark, body.theme-terminal
|
||||
{
|
||||
navbar form.search button
|
||||
{
|
||||
filter: invert(100%);
|
||||
}
|
||||
|
||||
/* For body elements not in navbar / footer */
|
||||
*:not(.ui-dialog):not(.ui-dialog *)
|
||||
{
|
||||
|
||||
input, input.edit
|
||||
{
|
||||
background-color: var(--background);
|
||||
border: 1px solid var(--border-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
|
||||
div.ui-admin ul li a span.icon svg>path
|
||||
{
|
||||
fill: var(--link-color);
|
||||
}
|
||||
|
||||
|
||||
.menu .list li > a:hover
|
||||
{
|
||||
background-color: var(--background-alt);
|
||||
}
|
||||
|
||||
.menu .list li > a svg
|
||||
{
|
||||
fill: var(--text-color-alt)
|
||||
}
|
||||
.menu .button
|
||||
{
|
||||
color: var(--text-color-alt);
|
||||
}
|
||||
|
||||
.menu .button::before, .mobile.icon .button::before
|
||||
{
|
||||
background: var(--text-color-alt);
|
||||
}
|
||||
|
||||
button:not(form.search button)
|
||||
{
|
||||
background: var(--background-alt);
|
||||
color: var(--text-color);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 0.1em;
|
||||
}
|
||||
|
||||
#extension__manager .panelHeader
|
||||
{
|
||||
background: var(--background-alt);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.tabs > ul li a, ul.tabs li strong, ul.tabs li a, .tabs > ul li a:hover, .tabs > ul li a:active, .tabs > ul li a:focus, .tabs > ul li .curid a, .tabs > ul .active a, ul.tabs li a:hover, ul.tabs li a:active, ul.tabs li a:focus, ul.tabs li.active a, ul.tabs li strong
|
||||
{
|
||||
background: var(--background-alt);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
#extension__manager ul.tabs li.active a, #extension__manager ul.tabs li:hover,
|
||||
{
|
||||
background: var(--background-alt);
|
||||
color: var(--text-color);
|
||||
filter: brightness(125%);
|
||||
|
||||
}
|
||||
|
||||
#mediamanager__page .panelHeader, #mediamanager__page .file dl dt, #mediamanager__page .namespaces h2
|
||||
{
|
||||
background: var(--background-alt);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
#mediamanager__page .file dl dd
|
||||
{
|
||||
background: var(--background);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
#mediamanager__page .filelist .thumbs li, #mediamanager__page .filelist .rows li:nth-child(2n+1), #mediamanager__page .namespaces ul .selected
|
||||
{
|
||||
background: var(--background-alt);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
|
||||
|
||||
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus, .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active
|
||||
{
|
||||
background: var(--background);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover
|
||||
{
|
||||
background: var(--background-alt);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
fieldset
|
||||
{
|
||||
border-color: var(--border-color);
|
||||
}
|
||||
|
||||
.prosemirror_wrapper
|
||||
{
|
||||
|
||||
.ProseMirror li p
|
||||
{
|
||||
color: var(--text-color) !important;
|
||||
}
|
||||
|
||||
.menubar
|
||||
{
|
||||
background: var(--background-alt);
|
||||
}
|
||||
|
||||
.menubar .menuitem .menuicon svg
|
||||
{
|
||||
fill: var(--text-color);
|
||||
}
|
||||
|
||||
.menubar .menuitem.is-disabled .menuicon svg
|
||||
{
|
||||
fill: var(--text-color-alt);
|
||||
}
|
||||
|
||||
.menubar .dropdown_content
|
||||
{
|
||||
background: var(--background-alt);
|
||||
}
|
||||
|
||||
.menubar .menulabel
|
||||
{
|
||||
color: var(--text-color);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
107
templates/55/minimal/css/wrap_classes.less
Normal file
|
@ -0,0 +1,107 @@
|
|||
/**
|
||||
* This file provides use full classes to be used with the Wrap Plugin.
|
||||
*/
|
||||
|
||||
/*Boxes custom*/
|
||||
|
||||
.dokuwiki
|
||||
|
||||
{
|
||||
|
||||
div.wrap_box
|
||||
{
|
||||
margin-top:1em;
|
||||
margin-bottom:1em;
|
||||
background: #eee;
|
||||
border: 1px solid #ccc;
|
||||
padding: 0.5em 0.75em;
|
||||
box-sizing:border-box;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.wrap_box>*:first-child
|
||||
{
|
||||
margin-top:0;
|
||||
}
|
||||
.wrap_box>*:last-child
|
||||
{
|
||||
margin-bottom:0;
|
||||
}
|
||||
|
||||
.site-header .wrap_box:only-child
|
||||
{
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.wrap_box.wrap_white
|
||||
{
|
||||
background: #fff;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
|
||||
.wrap_box.wrap_red
|
||||
{
|
||||
background: #ffe3e3;
|
||||
border: 1px solid #ffcfcf;
|
||||
|
||||
}
|
||||
|
||||
.wrap_box.wrap_blue
|
||||
{
|
||||
background: #e3f2fd;
|
||||
border: 1px solid #c2e5fe;
|
||||
}
|
||||
|
||||
.wrap_box.wrap_green
|
||||
{
|
||||
background: #dcfdd5;
|
||||
border: 1px solid #b8efac;
|
||||
}
|
||||
|
||||
.wrap_box.wrap_yellow
|
||||
{
|
||||
background: #ffa;
|
||||
border: 1px solid #ee0;
|
||||
}
|
||||
|
||||
.wrap_box.wrap_pink
|
||||
{
|
||||
background: #fce4f3;
|
||||
border: 1px solid #feceec;
|
||||
}
|
||||
.wrap_box.wrap_purple
|
||||
{
|
||||
background: #f3e5f5;
|
||||
border: 1px solid #e7cceb;
|
||||
}
|
||||
|
||||
/* Side boxes */
|
||||
|
||||
.wrap_box.wrap_side
|
||||
{
|
||||
width:__sidebox_width__;
|
||||
margin-top:0;
|
||||
margin-bottom:0.wrap_5em;
|
||||
float:right;
|
||||
margin-left:0.5em;
|
||||
}
|
||||
|
||||
|
||||
.wrap_box.wrap_side.wrap_left
|
||||
{
|
||||
float: left;
|
||||
margin-right:0.5em;
|
||||
}
|
||||
|
||||
.wrap_box img
|
||||
{
|
||||
max-width:100%;
|
||||
height:auto;
|
||||
}
|
||||
.wrap_nb
|
||||
{
|
||||
border:none !important;
|
||||
}
|
||||
|
||||
}
|
98
templates/55/minimal/detail.php
Normal file
|
@ -0,0 +1,98 @@
|
|||
<?php
|
||||
/**
|
||||
* DokuWiki Image Detail Page
|
||||
*
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
* @author Anika Henke <anika@selfthinker.org>
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*/
|
||||
|
||||
// must be run from within DokuWiki
|
||||
if (!defined('DOKU_INC')) die();
|
||||
|
||||
@require_once(dirname(__FILE__).'/template_plugin.php'); /* include hook for template functions */
|
||||
|
||||
?><!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
|
||||
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>
|
||||
<?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
|
||||
[<?php echo strip_tags($conf['title'])?>]
|
||||
</title>
|
||||
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
|
||||
<?php tpl_metaheaders()?>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
|
||||
<?php tpl_includeFile('meta.html') ?>
|
||||
</head>
|
||||
|
||||
<body <?=tpl_minimal_classes()?>>
|
||||
<div id="dokuwiki__detail">
|
||||
<?php html_msgarea() ?>
|
||||
|
||||
<?php if($ERROR): print $ERROR; ?>
|
||||
<?php else: ?>
|
||||
|
||||
<main class="content group">
|
||||
<?php if($REV) echo p_locale_xhtml('showrev');?>
|
||||
<h1><?php echo hsc(tpl_img_getTag('IPTC.Headline', $IMG))?></h1>
|
||||
|
||||
<?php tpl_img(900, 700); /* the image; parameters: maximum width, maximum height (and more) */ ?>
|
||||
|
||||
<div class="img_detail">
|
||||
<h2><?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?></h2>
|
||||
|
||||
<?php if(function_exists('tpl_img_meta')): ?>
|
||||
<?php tpl_img_meta(); ?>
|
||||
<?php else: /* deprecated since Release 2014-05-05 */ ?>
|
||||
<dl>
|
||||
<?php
|
||||
$config_files = getConfigFiles('mediameta');
|
||||
foreach ($config_files as $config_file) {
|
||||
if(@file_exists($config_file)) {
|
||||
include($config_file);
|
||||
}
|
||||
}
|
||||
|
||||
foreach($fields as $key => $tag){
|
||||
$t = array();
|
||||
if (!empty($tag[0])) {
|
||||
$t = array($tag[0]);
|
||||
}
|
||||
if(is_array($tag[3])) {
|
||||
$t = array_merge($t,$tag[3]);
|
||||
}
|
||||
$value = tpl_img_getTag($t);
|
||||
if ($value) {
|
||||
echo '<dt>'.$lang[$tag[1]].':</dt><dd>';
|
||||
if ($tag[2] == 'date') {
|
||||
echo dformat($value);
|
||||
} else {
|
||||
echo hsc($value);
|
||||
}
|
||||
echo '</dd>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
<?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw')); ?>
|
||||
</div>
|
||||
</main><!-- /.content -->
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
<?php if (file_exists(DOKU_INC . 'inc/Menu/DetailMenu.php')) {
|
||||
echo (new \dokuwiki\Menu\DetailMenu())->getListItems('action ', false);
|
||||
} else {
|
||||
_tpl_detailtools();
|
||||
} ?>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
templates/55/minimal/images/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 17 KiB |
2
templates/55/minimal/images/bullets.svg
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" width="800px" height="800px" viewBox="0 0 48 48"><path d="M8 21c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zM8 9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zm0 24.33c-1.47 0-2.67 1.19-2.67 2.67s1.2 2.67 2.67 2.67 2.67-1.19 2.67-2.67-1.2-2.67-2.67-2.67zM14 38h28v-4H14v4zm0-12h28v-4H14v4zm0-16v4h28v-4H14z"/></svg>
|
After Width: | Height: | Size: 503 B |
5
templates/55/minimal/images/case.svg
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M2.16208 8.49969C2 9.60346 2 11.0495 2 13C2 16.7712 2 18.6569 3.17157 19.8284C4.34315 21 6.22876 21 10 21H14C17.7712 21 19.6569 21 20.8284 19.8284C22 18.6569 22 16.7712 22 13C22 11.0497 22 9.60364 21.8379 8.49989C19.5613 9.97971 18.1021 10.9235 16.7501 11.5047V12.0001C16.7501 12.4143 16.4143 12.7501 16.0001 12.7501C15.5914 12.7501 15.259 12.4231 15.2503 12.0165C13.12 12.5781 10.8802 12.5781 8.74991 12.0165C8.74121 12.4231 8.40883 12.7501 8.00009 12.7501C7.58587 12.7501 7.25009 12.4143 7.25009 12.0001V11.5046C5.89804 10.9234 4.43881 9.97957 2.16208 8.49969Z" fill="#1C274D"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.5814 2.25L10.561 2.25C10.4474 2.24998 10.3591 2.24997 10.2755 2.25503C9.21507 2.31926 8.28647 2.98855 7.89021 3.97426C7.8588 4.05239 7.80711 4.20756 7.77024 4.31825L7.76636 4.32989C7.66326 4.60981 7.47709 4.85224 7.26157 5.02534C7.03409 5.0327 6.81683 5.0422 6.60915 5.05445C4.96519 5.15144 3.92193 5.42122 3.17157 6.17158C2.92691 6.41624 2.73334 6.69204 2.5802 7.00965C2.63777 7.0293 2.69387 7.05632 2.74721 7.09099C4.8475 8.45617 6.16709 9.31008 7.26356 9.85786C7.33001 9.51166 7.6345 9.25009 8.00009 9.25009C8.4143 9.25009 8.75009 9.58588 8.75009 10.0001V10.458C10.8695 11.0976 13.1306 11.0976 15.2501 10.458V10.0001C15.2501 9.58588 15.5859 9.25009 16.0001 9.25009C16.3657 9.25009 16.6702 9.5117 16.7366 9.85794C17.8331 9.31015 19.1527 8.45623 21.2531 7.09099C21.3064 7.05638 21.3624 7.02939 21.4199 7.00975C21.2667 6.6921 21.0731 6.41626 20.8284 6.17158C20.0781 5.42122 19.0348 5.15144 17.3909 5.05445C17.1937 5.04282 16.9879 5.03367 16.773 5.02648C16.7594 5.01545 16.7458 5.00406 16.7322 4.99231C16.4915 4.78435 16.3033 4.51011 16.2084 4.25288L16.2053 4.24344C16.1694 4.13576 16.1415 4.05195 16.1102 3.97426C15.714 2.98855 14.7854 2.31926 13.725 2.25503C13.6414 2.24997 13.553 2.24998 13.4395 2.25L10.5814 2.25ZM14.8176 4.81569L14.8131 4.80495L14.8082 4.79286L14.8037 4.78091L14.8 4.77097L14.7982 4.76596L14.794 4.75373L14.7902 4.74244L14.7881 4.73617L14.7853 4.72783L14.7831 4.72079L14.7813 4.7151C14.742 4.59708 14.7299 4.56204 14.7185 4.53375C14.5384 4.08571 14.1163 3.78148 13.6343 3.75229C13.602 3.75034 13.5625 3.75 13.4191 3.75H10.5814C10.438 3.75 10.3984 3.75034 10.3662 3.75229C9.88424 3.78148 9.46221 4.08561 9.28204 4.53354L9.2794 4.54052L9.27143 4.56245C9.2648 4.58104 9.25672 4.60429 9.2474 4.63156C9.23088 4.67994 9.21232 4.73546 9.19351 4.79186L9.19168 4.79777L9.18945 4.80481L9.18671 4.81314L9.18462 4.81941L9.18079 4.83071L9.17655 4.84295L9.17477 4.84796L9.17113 4.85791L9.16655 4.86987L9.16168 4.88199L9.15751 4.8919L9.15686 4.89336C9.14293 4.92921 9.12818 4.96498 9.11263 5.00064C9.39625 5 9.69183 5 10 5H14C14.3115 5 14.6101 5 14.8965 5.00066C14.868 4.93956 14.8417 4.87784 14.8176 4.81569Z" fill="#1C274D"/>
|
||||
</svg>
|
After Width: | Height: | Size: 2.9 KiB |
4
templates/55/minimal/images/check.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L12.7348 11.2045L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z" fill="#1C274C"/>
|
||||
</svg>
|
After Width: | Height: | Size: 742 B |
4
templates/55/minimal/images/document-text.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.17157 3.17157C3 4.34315 3 6.22876 3 10V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V10C21 6.22876 21 4.34315 19.8284 3.17157C18.6569 2 16.7712 2 13 2H11C7.22876 2 5.34315 2 4.17157 3.17157ZM7.25 8C7.25 7.58579 7.58579 7.25 8 7.25H16C16.4142 7.25 16.75 7.58579 16.75 8C16.75 8.41421 16.4142 8.75 16 8.75H8C7.58579 8.75 7.25 8.41421 7.25 8ZM7.25 12C7.25 11.5858 7.58579 11.25 8 11.25H16C16.4142 11.25 16.75 11.5858 16.75 12C16.75 12.4142 16.4142 12.75 16 12.75H8C7.58579 12.75 7.25 12.4142 7.25 12ZM8 15.25C7.58579 15.25 7.25 15.5858 7.25 16C7.25 16.4142 7.58579 16.75 8 16.75H13C13.4142 16.75 13.75 16.4142 13.75 16C13.75 15.5858 13.4142 15.25 13 15.25H8Z" fill="#1C274C"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1 KiB |
BIN
templates/55/minimal/images/favicon.ico
Normal file
After Width: | Height: | Size: 7.2 KiB |
6
templates/55/minimal/images/menu-dots.svg
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M7 12C7 13.1046 6.10457 14 5 14C3.89543 14 3 13.1046 3 12C3 10.8954 3.89543 10 5 10C6.10457 10 7 10.8954 7 12Z" fill="#1C274C"/>
|
||||
<path d="M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z" fill="#1C274C"/>
|
||||
<path d="M21 12C21 13.1046 20.1046 14 19 14C17.8954 14 17 13.1046 17 12C17 10.8954 17.8954 10 19 10C20.1046 10 21 10.8954 21 12Z" fill="#1C274C"/>
|
||||
</svg>
|
After Width: | Height: | Size: 659 B |
4
templates/55/minimal/images/menu.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M4 6H20M4 12H20M4 18H20" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
After Width: | Height: | Size: 344 B |
13
templates/55/minimal/images/search.svg
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
// 16pxls (c) by Paul mackenzie <paul@whatspauldoing.com>
|
||||
//
|
||||
// 16pxls is licensed under a
|
||||
// Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
//
|
||||
// You should have received a copy of the license along with this
|
||||
// work. If not, see <http://creativecommons.org/licenses/by-sa/4.0/>.
|
||||
-->
|
||||
|
||||
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.027 9.92L16 13.95 14 16l-4.075-3.976A6.465 6.465 0 0 1 6.5 13C2.91 13 0 10.083 0 6.5 0 2.91 2.917 0 6.5 0 10.09 0 13 2.917 13 6.5a6.463 6.463 0 0 1-.973 3.42zM1.997 6.452c0 2.48 2.014 4.5 4.5 4.5 2.48 0 4.5-2.015 4.5-4.5 0-2.48-2.015-4.5-4.5-4.5-2.48 0-4.5 2.014-4.5 4.5z" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 779 B |
5
templates/55/minimal/images/server.svg
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.58579 3.58579C2 4.17157 2 5.11438 2 7C2 8.88562 2 9.82843 2.58579 10.4142C3.17157 11 4.11438 11 6 11H18C19.8856 11 20.8284 11 21.4142 10.4142C22 9.82843 22 8.88562 22 7C22 5.11438 22 4.17157 21.4142 3.58579C20.8284 3 19.8856 3 18 3H6C4.11438 3 3.17157 3 2.58579 3.58579ZM9 8.75C8.58579 8.75 8.25 8.41421 8.25 8V6C8.25 5.58579 8.58579 5.25 9 5.25C9.41421 5.25 9.75 5.58579 9.75 6V8C9.75 8.41421 9.41421 8.75 9 8.75ZM13.5 6.25C13.0858 6.25 12.75 6.58579 12.75 7C12.75 7.41421 13.0858 7.75 13.5 7.75H18C18.4142 7.75 18.75 7.41421 18.75 7C18.75 6.58579 18.4142 6.25 18 6.25H13.5ZM6 8.75C5.58579 8.75 5.25 8.41421 5.25 8L5.25 6C5.25 5.58579 5.58579 5.25 6 5.25C6.41421 5.25 6.75 5.58579 6.75 6V8C6.75 8.41421 6.41421 8.75 6 8.75Z" fill="#1C274C"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.58579 13.5858C2 14.1716 2 15.1144 2 17C2 18.8856 2 19.8284 2.58579 20.4142C3.17157 21 4.11438 21 6 21H18C19.8856 21 20.8284 21 21.4142 20.4142C22 19.8284 22 18.8856 22 17C22 15.1144 22 14.1716 21.4142 13.5858C20.8284 13 19.8856 13 18 13H6C4.11438 13 3.17157 13 2.58579 13.5858ZM12.75 17C12.75 16.5858 13.0858 16.25 13.5 16.25H18C18.4142 16.25 18.75 16.5858 18.75 17C18.75 17.4142 18.4142 17.75 18 17.75H13.5C13.0858 17.75 12.75 17.4142 12.75 17ZM5.25 18C5.25 18.4142 5.58579 18.75 6 18.75C6.41421 18.75 6.75 18.4142 6.75 18V16C6.75 15.5858 6.41421 15.25 6 15.25C5.58579 15.25 5.25 15.5858 5.25 16L5.25 18ZM9 18.75C8.58579 18.75 8.25 18.4142 8.25 18V16C8.25 15.5858 8.58579 15.25 9 15.25C9.41421 15.25 9.75 15.5858 9.75 16V18C9.75 18.4142 9.41421 18.75 9 18.75Z" fill="#1C274C"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
4
templates/55/minimal/images/three-dots-vertical.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="#000000" class="bi bi-three-dots-vertical">
|
||||
<path d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 405 B |
7
templates/55/minimal/images/user-circle.svg
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
|
||||
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<g id="SVGRepo_iconCarrier"> <path fill-rule="evenodd" clip-rule="evenodd" d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM15 9C15 10.6569 13.6569 12 12 12C10.3431 12 9 10.6569 9 9C9 7.34315 10.3431 6 12 6C13.6569 6 15 7.34315 15 9ZM12 20.5C13.784 20.5 15.4397 19.9504 16.8069 19.0112C17.4108 18.5964 17.6688 17.8062 17.3178 17.1632C16.59 15.8303 15.0902 15 11.9999 15C8.90969 15 7.40997 15.8302 6.68214 17.1632C6.33105 17.8062 6.5891 18.5963 7.19296 19.0111C8.56018 19.9503 10.2159 20.5 12 20.5Z" fill="#1c274c"/> </g>
|
||||
</svg>
|
After Width: | Height: | Size: 1,011 B |
15
templates/55/minimal/lang/en/lang.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
/**
|
||||
* English language file for template
|
||||
*
|
||||
*/
|
||||
|
||||
$lang['__existing__'] = 'The color for links to existing pages';
|
||||
$lang['__missing__'] = 'The color for links to non-existing pages';
|
||||
$lang['__site_width__'] = 'The width of the full site (can be any length unit: %, px, em, ...)';
|
||||
$lang['__sidebar_width__'] = 'The width of the sidebar, if any (can be any length unit: %, px, em, ...)';
|
||||
$lang['__title_color__'] = 'The color of site title in navbar';
|
||||
$lang['__mobile_breakpoint__'] = 'Mobile breakpoint to switch to mobile view';
|
||||
$lang['__link__'] = 'The color of links';
|
||||
$lang['__theme_color__'] = 'The color of theme of Dokuwiki. Some of the configuration of Template Style Settings will be overrided on non-default theme';
|
||||
$lang['__sidebox_width__'] = 'Width of the sidebox (wrap plugin required)';
|
14
templates/55/minimal/lang/en/settings.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* English language file for config
|
||||
*
|
||||
*/
|
||||
|
||||
$lang['fullWidthSite'] = "Make the site full width. If not checked, the Template Style __site_width__ variable will be used to set the width.";
|
||||
$lang['showPageInfo'] = "Whether to show page info at the bottom";
|
||||
$lang['showToc'] = "Show table of content on page";
|
||||
$lang['stickyToc'] = "Make the table of content icon sticky on scrolling";
|
||||
$lang['siteHeaderPosition'] = "Position of the site header which contains :header and Breadcrumbs. 'Top' positions it just after navbar and before sidebar. 'Above page' positions it before page heading (beside sidebar)";
|
||||
$lang['siteFooterPosition'] = "Position of the site footer. 'Bottom' positions it at the end. 'After page' positions it after the page";
|
||||
$lang['theme'] = "Theme for the minimal template";
|
||||
$lang['hideTools'] = "Hide tools for guest users (non-logged in users)";
|
1
templates/55/minimal/lang/en/style.txt
Normal file
|
@ -0,0 +1 @@
|
|||
If you'd like to change the favicon, simply use the Media Manager to upload a ''favicon.ico'' into the ''wiki'' or the root namespace and it will automatically be used. If you use a closed wiki it is recommended to make the ''wiki'' (or root) namespace world readable in the ACL settings or your favicon will not be shown to logged-out users.
|
230
templates/55/minimal/main.php
Normal file
|
@ -0,0 +1,230 @@
|
|||
<?php
|
||||
/**
|
||||
* DokuWiki Minimal Template
|
||||
*
|
||||
* @link http://dokuwiki.org/template:minimal
|
||||
* @author Reactive Matter <reactivematter@protonmail.com>
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*/
|
||||
|
||||
if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
|
||||
|
||||
@require_once(dirname(__FILE__).'/template_plugin.php'); /* include hook for template functions */
|
||||
|
||||
$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) );
|
||||
$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>"
|
||||
lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
|
||||
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
|
||||
<?php tpl_metaheaders() ?>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
|
||||
<?php tpl_includeFile('meta.html') ?>
|
||||
</head>
|
||||
|
||||
<?php
|
||||
|
||||
?>
|
||||
<body class="<?=tpl_minimal_classes()?>">
|
||||
<div id="dokuwiki__top"></div>
|
||||
<navbar id="navbar" class="container" role="navigation" aria-label="Main navigation">
|
||||
<div id='showhidesidemenu' class="mobile icon">
|
||||
<div class="button"></div>
|
||||
</div>
|
||||
<div class="left-column">
|
||||
<a class="site-name" href="<?=DOKU_BASE?>">
|
||||
<div class="site-logo">
|
||||
<img src="<?=tpl_getMediaFile(array(':wiki:logo.png', ':wiki:logo.svg', ':wiki:logo.jpeg',':wiki:logo.jpg', ':logo.png', ':logo.svg', ':logo.jpeg',':logo.jpg', 'images/logo.png', ':wiki:dokuwiki.svg'), false)?>">
|
||||
</div>
|
||||
<div class="site-title">
|
||||
<?=$conf['title']?>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<?php if($showTools || actionOK('search')):?>
|
||||
<div class="right-column">
|
||||
<?php if($showTools):?>
|
||||
<div class="options">
|
||||
<?php if(sizeof((new \dokuwiki\Menu\PageMenu())->getItems())>0):?>
|
||||
<div class="page-menu menu">
|
||||
<div class="button"><span>Page</span></div>
|
||||
<div class="list">
|
||||
<?=(new \dokuwiki\Menu\PageMenu())->getListItems()?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif?>
|
||||
<?php if(sizeof((new \dokuwiki\Menu\SiteMenu())->getItems())>0):?>
|
||||
<div class="site-menu menu">
|
||||
<div class="button"><span>Site</span></div>
|
||||
<div class="list">
|
||||
<?=(new \dokuwiki\Menu\SiteMenu())->getListItems()?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif?>
|
||||
<?php if(sizeof((new \dokuwiki\Menu\UserMenu())->getItems())>0):?>
|
||||
<div class="user-menu menu">
|
||||
<div class="button"><span>User</span></div>
|
||||
<div class="list">
|
||||
<?php if($USERINFO):?>
|
||||
<div class="user-name"><?=$USERINFO['name']?></div>
|
||||
<?php endif?>
|
||||
<?=(new \dokuwiki\Menu\UserMenu())->getListItems()?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif?>
|
||||
<div class="mobile-menu menu">
|
||||
<?php
|
||||
|
||||
if(sizeof((new \dokuwiki\Menu\PageMenu())->getItems())>0)
|
||||
{
|
||||
echo '<div class="list"><p>Page tools</p>'.
|
||||
(new \dokuwiki\Menu\PageMenu())->getListItems()
|
||||
.'</div>';
|
||||
}
|
||||
|
||||
if(sizeof((new \dokuwiki\Menu\SiteMenu())->getItems())>0)
|
||||
{
|
||||
echo '<div class="list"><p>Site tools</p>'.
|
||||
(new \dokuwiki\Menu\SiteMenu())->getListItems()
|
||||
.'</div>';
|
||||
}
|
||||
|
||||
if(sizeof((new \dokuwiki\Menu\UserMenu())->getItems())>0)
|
||||
{
|
||||
echo '<div class="list"><p>User tools</p>'.
|
||||
(new \dokuwiki\Menu\UserMenu())->getListItems()
|
||||
.'</div>';
|
||||
}
|
||||
|
||||
if($USERINFO){
|
||||
echo '<div class="user-name"><p>Username: '.$USERINFO['name'].'</p></div>';
|
||||
}
|
||||
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif?>
|
||||
<?php if(actionOK('search')):?>
|
||||
<div class="search">
|
||||
<?php tpl_searchform(true,false) ?>
|
||||
</div>
|
||||
<?php endif?>
|
||||
</div>
|
||||
<div id='showhideappoptions' class="mobile icon">
|
||||
<div class="button"></div>
|
||||
</div>
|
||||
<?php endif?>
|
||||
</navbar>
|
||||
|
||||
<?php if(($conf['youarehere'] || $conf['breadcrumbs'] || (page_exists(":header") && auth_quickaclcheck(":header")) ) && tpl_getConf('siteHeaderPosition')=='Top'):?>
|
||||
<div class="site-header">
|
||||
<?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
|
||||
<!-- ********** Notice ********** -->
|
||||
<?php
|
||||
if(page_exists(":header") && auth_quickaclcheck(":header"))
|
||||
{
|
||||
echo '<div class="site-header-content">';
|
||||
tpl_include_page(':header');
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if($conf['youarehere'] || $conf['breadcrumbs']):?>
|
||||
|
||||
<div class="site-navigation">
|
||||
<!-- BREADCRUMBS -->
|
||||
<?php if($conf['youarehere']){ ?>
|
||||
<div class="breadcrumbs"><?php tpl_youarehere() ?></div>
|
||||
<?php } ?>
|
||||
<?php if($conf['breadcrumbs']){ ?>
|
||||
<div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php endif?>
|
||||
</div>
|
||||
<?php endif?>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<?php if ($showSidebar): ?>
|
||||
<div id="sidebar" class="left-column" aria-label="<?php echo $lang['sidebar'] ?>">
|
||||
<div class="sidebar-content">
|
||||
<?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<div id="view" class="right-column">
|
||||
|
||||
<?php if(($conf['youarehere'] || $conf['breadcrumbs'] || (page_exists(":header") && auth_quickaclcheck(":header"))) && tpl_getConf('siteHeaderPosition')=='Above page'):?>
|
||||
<div class="site-header">
|
||||
<?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
|
||||
<!-- ********** Notice ********** -->
|
||||
<?php
|
||||
if(page_exists(":header") && auth_quickaclcheck(":header"))
|
||||
{
|
||||
echo '<div class="site-header-content">';
|
||||
tpl_include_page(':header');
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if($conf['youarehere'] || $conf['breadcrumbs']):?>
|
||||
|
||||
<div class="site-navigation">
|
||||
<!-- BREADCRUMBS -->
|
||||
<?php if($conf['youarehere']){ ?>
|
||||
<div class="breadcrumbs"><?php tpl_youarehere() ?></div>
|
||||
<?php } ?>
|
||||
<?php if($conf['breadcrumbs']){ ?>
|
||||
<div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php endif?>
|
||||
</div>
|
||||
<?php endif?>
|
||||
|
||||
<article id="content">
|
||||
<?php tpl_flush(); ?>
|
||||
<?php tpl_content();?>
|
||||
<?php tpl_flush(); ?>
|
||||
</article>
|
||||
|
||||
|
||||
<?php if(tpl_getConf('showPageInfo') ):?>
|
||||
<div class="page-info">
|
||||
<?php tpl_pageinfo() /* 'Last modified' etc */ ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php
|
||||
if((page_exists(":footer") && auth_quickaclcheck(":footer")) && tpl_getConf('siteFooterPosition')=='Below page')
|
||||
{
|
||||
echo '<footer id="footer">';
|
||||
tpl_include_page(':footer');
|
||||
echo '</footer>';
|
||||
}
|
||||
?>
|
||||
<!-- /footer -->
|
||||
<div style="display: none;"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
if((page_exists(":footer") && auth_quickaclcheck(":footer")) && tpl_getConf('siteFooterPosition')=='Bottom')
|
||||
{
|
||||
echo '<footer id="footer">';
|
||||
tpl_include_page(':footer');
|
||||
echo '</footer>';
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
</html>
|
46
templates/55/minimal/mediamanager.php
Normal file
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* DokuWiki Media Manager Popup
|
||||
*
|
||||
* @author Andreas Gohr <andi@splitbrain.org>
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*/
|
||||
// must be run from within DokuWiki
|
||||
if (!defined('DOKU_INC')) die();
|
||||
|
||||
@require_once(dirname(__FILE__).'/template_plugin.php'); /* include hook for template functions */
|
||||
|
||||
?><!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
|
||||
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>
|
||||
<?php echo hsc($lang['mediaselect'])?>
|
||||
[<?php echo strip_tags($conf['title'])?>]
|
||||
</title>
|
||||
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
|
||||
<?php tpl_metaheaders()?>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
|
||||
<?php tpl_includeFile('meta.html') ?>
|
||||
</head>
|
||||
|
||||
<body <?=tpl_minimal_classes()?>>
|
||||
<div id="media__manager">
|
||||
<?php html_msgarea() ?>
|
||||
<nav id="mediamgr__aside"><div class="pad">
|
||||
<h1><?php echo hsc($lang['mediaselect'])?></h1>
|
||||
|
||||
<?php /* keep the id! additional elements are inserted via JS here */?>
|
||||
<div id="media__opts"></div>
|
||||
|
||||
<?php tpl_mediaTree() ?>
|
||||
</div></nav>
|
||||
|
||||
<main id="mediamgr__content"><div class="pad">
|
||||
<?php tpl_mediaContent() ?>
|
||||
</div></main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
templates/55/minimal/screenshots/boxes.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
templates/55/minimal/screenshots/minimal.png
Normal file
After Width: | Height: | Size: 337 KiB |
BIN
templates/55/minimal/screenshots/minimal_mobile_1.png
Normal file
After Width: | Height: | Size: 280 KiB |
BIN
templates/55/minimal/screenshots/sidebox.png
Normal file
After Width: | Height: | Size: 112 KiB |
59
templates/55/minimal/script.js
Normal file
|
@ -0,0 +1,59 @@
|
|||
jQuery(document).on('click', function(e) {
|
||||
if (!jQuery(e.target).closest('.menu').length) {
|
||||
jQuery('.menu:not(.mobile-menu) .list').hide();
|
||||
}
|
||||
|
||||
if (!jQuery(e.target).closest('.dw__toc').length) {
|
||||
jQuery('#dw__toc>div').hide();
|
||||
jQuery('#dw__toc>div>ul').hide();
|
||||
jQuery('#dw__toc').css('display','block');
|
||||
}
|
||||
});
|
||||
jQuery('.menu:not(.mobile-menu)').on('click', function(e) {
|
||||
jQuery('.menu:not(.mobile-menu) .list').not(jQuery(this).children('.list')).hide();
|
||||
jQuery(this).children('.list').slideToggle('fast');
|
||||
});
|
||||
|
||||
jQuery(document).ready(function(){
|
||||
jQuery('#dw__toc>div').hide();
|
||||
jQuery('#dw__toc>div>ul').hide();
|
||||
jQuery('#dw__toc').css('display','block');
|
||||
});
|
||||
|
||||
|
||||
jQuery("#showhidesidemenu").on("click", () => {
|
||||
|
||||
if(jQuery("#sidebar").css("display") == "none")
|
||||
{
|
||||
jQuery("#navbar .right-column").css("display","none");
|
||||
jQuery("#sidebar").css("display","flex");
|
||||
jQuery("#view, .site-header, #footer").css("display","none");
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery("#navbar .right-column").css("display","none");
|
||||
jQuery("#sidebar").css("display","none");
|
||||
jQuery("#view, .site-header, #footer").css("display","flex");
|
||||
}
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
jQuery("#showhideappoptions").on("click", () => {
|
||||
|
||||
|
||||
if(jQuery("#navbar .right-column").css("display") == "none")
|
||||
{
|
||||
jQuery("#navbar .right-column").css("display","flex");
|
||||
jQuery("#sidebar").css("display","none");
|
||||
jQuery("#view, .site-header, #footer").css("display","none");
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery("#navbar .right-column").css("display","none");
|
||||
jQuery("#sidebar").css("display","none");
|
||||
jQuery("#view, .site-header, #footer").css("display","flex");
|
||||
}
|
||||
|
||||
});
|
91
templates/55/minimal/style.ini
Normal file
|
@ -0,0 +1,91 @@
|
|||
; Please see https://www.php.net/manual/en/function.parse-ini-file.php
|
||||
; for limitations of the ini format used here
|
||||
|
||||
; To extend this file or make changes to it, it is recommended to create
|
||||
; a local conf/tpl/<template-folder-name>/style.ini file to prevent losing
|
||||
; any changes after an upgrade.
|
||||
; Please don't forget to copy the section your changes should be under
|
||||
; (i.e. [stylesheets] or [replacements]) into that file as well.
|
||||
|
||||
; Define the stylesheets your template uses here. The second value
|
||||
; defines for which output media the style should be loaded. Currently
|
||||
; print, screen and all are supported.
|
||||
; You can reference CSS and LESS files here. Files referenced here will
|
||||
; be checked for updates when considering a cache rebuild while files
|
||||
; included through LESS' @import statements are not
|
||||
|
||||
[stylesheets]
|
||||
|
||||
; load styles from the default 'dokuwiki' template
|
||||
; some of these have been renamed from *.css to *.less
|
||||
; but .css still loads the same file and is backwards compatible
|
||||
../dokuwiki/css/_imgdetail.css = screen
|
||||
../dokuwiki/css/_media_popup.css = screen
|
||||
../dokuwiki/css/_media_fullscreen.css = screen
|
||||
../dokuwiki/css/_fileuploader.css = screen
|
||||
../dokuwiki/css/_tabs.css = screen
|
||||
../dokuwiki/css/_links.css = screen
|
||||
../dokuwiki/css/_toc.css = screen
|
||||
../dokuwiki/css/_footnotes.css = screen
|
||||
../dokuwiki/css/_search.less = screen
|
||||
../dokuwiki/css/_recent.css = screen
|
||||
../dokuwiki/css/_diff.css = screen
|
||||
../dokuwiki/css/_edit.css = screen
|
||||
../dokuwiki/css/_modal.css = screen
|
||||
../dokuwiki/css/_forms.css = screen
|
||||
../dokuwiki/css/_admin.less = screen
|
||||
|
||||
; load the rest of the styles
|
||||
css/basic.css = all
|
||||
css/themes.css = all
|
||||
css/wrap_classes.css = all
|
||||
css/prosemirror.css = screen
|
||||
|
||||
css/mobile.css = all
|
||||
css/print.css = print
|
||||
|
||||
|
||||
; This section is used to configure some placeholder values used in
|
||||
; the stylesheets. Changing this file is the simplest method to
|
||||
; give your wiki a new look.
|
||||
; Placeholders defined here will also be made available as LESS variables
|
||||
; (with surrounding underscores removed, and the prefix @ini_ added)
|
||||
|
||||
[replacements]
|
||||
|
||||
;--------------------------------------------------------------------------
|
||||
;------ guaranteed dokuwiki color placeholders that every plugin can use
|
||||
|
||||
; main text and background colors
|
||||
__title_color__ = "#333"
|
||||
|
||||
__text__ = "#333" ; @ini_text
|
||||
__background__ = "#fff" ; @ini_background
|
||||
|
||||
; alternative text and background colors
|
||||
__text_alt__ = "#777" ; @ini_text_alt
|
||||
__background_alt__ = "#eee" ; @ini_background_alt
|
||||
|
||||
; border color
|
||||
__border__ = "#ccc" ; @ini_border
|
||||
|
||||
; highlighted text (e.g. search snippets)
|
||||
__highlight__ = "#ff9" ; @ini_highlight
|
||||
|
||||
; link color
|
||||
__link__ = "#245db6" ; @ini_link
|
||||
|
||||
;--------------------------------------------------------------------------
|
||||
|
||||
; these are used for other links
|
||||
__existing__ = "#090" ; @ini_existing
|
||||
__missing__ = "#c30" ; @ini_missing
|
||||
|
||||
; widths
|
||||
__site_width__ = "64em" ; @ini_site_width
|
||||
__sidebar_width__ = "16em" ; @ini_sidebar_width
|
||||
__mobile_breakpoint__ = "800px" ; @ini_mobile_breakpoint
|
||||
__sidebox_width__ = "300px" ; @ini_sidebox_width
|
||||
|
||||
; color of the web app (used by the core, not by the template)
|
||||
__theme_color__ = "#fff" ; @ini_theme_color
|
7
templates/55/minimal/template.info.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
base minimal
|
||||
author Reactive Matter
|
||||
email reactivematter@protonmail.com
|
||||
date 2025-03-30
|
||||
name Minimal
|
||||
desc A minimial template to quick start a Dokuwiki
|
||||
url https://www.dokuwiki.org/template:minimal
|
31
templates/55/minimal/template_plugin.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
/**
|
||||
* Minimal Template Helper Plugin (for common tasks)
|
||||
*
|
||||
* @link http://dokuwiki.org/template:minimal
|
||||
* @author Reactive Matter <reactivematter@protonmail.com>
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
*/
|
||||
|
||||
// must be run from within DokuWiki
|
||||
if (!defined('DOKU_INC')) die();
|
||||
|
||||
// must be run from within DokuWiki
|
||||
if (!defined('DOKU_INC')) die();
|
||||
|
||||
function tpl_minimal_classes()
|
||||
{
|
||||
global $conf, $ACT;
|
||||
$theme = '';
|
||||
if(tpl_getConf('theme')!='Default')
|
||||
{
|
||||
$theme = ' theme-'.strtolower(tpl_getConf('theme'));
|
||||
}
|
||||
|
||||
$toc = tpl_getConf('stickyToc')?' stoc':'';
|
||||
$width = tpl_getConf('fullWidthSite')?' full-width':'';
|
||||
$sidebar = (page_findnearest($conf['sidebar']) && ($ACT=='show')) ? ' sidebar' : '';
|
||||
return tpl_classes().$toc.$width.$sidebar.$theme;
|
||||
}
|
||||
|
||||
|
3
templates/55/minimal/theme.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Replacements]
|
||||
__text__ = "#333"
|
||||
__background__ = "#000"
|