first commit

This commit is contained in:
2026-02-02 15:25:28 +01:00
commit b44e4869fe
8 changed files with 183 additions and 0 deletions

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2019 Robert Isoski
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

11
README.md Normal file
View File

@@ -0,0 +1,11 @@
# gold
Default theme digital Memorial
## Preview
![Theme preview](/preview.jpg)
## How to use
1. Login to your WonderCMS website.
2. Click "Settings" and click "Themes".
3. Find theme in the list and click "install".
4. In the "General" tab, select theme to activate it.

60
css/style.css Normal file
View File

@@ -0,0 +1,60 @@
html {
min-height: 100%;
position: relative;
}
body {
color: #ddd077;
background: #000;
margin-bottom: 100px;
font-family: Lucida Sans Unicode, Verdana;
}
a, a:hover {
text-decoration: none;
border-bottom: 1px dotted #fff;
}
h3 {margin: 0;}
*:focus {outline: none;}
.navbar-nav > .active a {
color: #555 !important;
background-color: #ddd !important;
}
.spacer20 {height: 20px;}
.padding20 {padding: 20px;}
.rounded5 {border-radius: 5px;}
.grayFont {color: #444;}
.goldBackground {background: #000;}
.whiteBackground {background: #fff;}
ul.nav.navbar-nav.navbar-right li a:hover, ul.nav.navbar-nav.navbar-right li.active a {
border: 0;
border-radius: 0;
background-color: #ddd077;
}
.navbar a h1 {color: #444;}
.navbar li a {
border: 0;
display: block;
text-transform: uppercase;
padding: 25px 20px 25px 25px;
}
footer a, footer a:hover, .navbar a {
color: #fff;
text-decoration: none;
border-bottom: 1px dotted #fff;
}
footer {
bottom: 0;
width: 100%;
position: absolute;
background: #ddd077;
}

BIN
preview.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

1
summary Normal file
View File

@@ -0,0 +1 @@
Golden version of nostalgic default theme.

76
theme.php Normal file
View File

@@ -0,0 +1,76 @@
<?php global $Wcms ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?= $Wcms->get('config', 'siteTitle') ?> - <?= $Wcms->page('title') ?></title>
<meta name="description" content="<?= $Wcms->page('description') ?>">
<meta name="keywords" content="<?= $Wcms->page('keywords') ?>">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Admin CSS -->
<?= $Wcms->css() ?>
<!-- Theme CSS -->
<link rel="stylesheet" href="<?= $Wcms->asset('css/style.css') ?>">
</head>
<body>
<?= $Wcms->settings() ?>
<?= $Wcms->alerts() ?>
<nav class="navbar navbar-default">
<div class="container">
<div class="col-sm-5 text-center">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navMobile">&#9776;</button>
<a href="<?= $Wcms->url() ?>">
<h1><?= $Wcms->get('config', 'siteTitle') ?></h1>
</a>
</div>
</div>
<div class="col-sm-7 text-center">
<div class="collapse navbar-collapse" id="navMobile">
<ul class="nav navbar-nav navbar-right">
<?= $Wcms->menu() ?>
</ul>
</div>
</div>
</div>
</nav>
<div class="container">
<div class="col-xs-12 col-sm-8">
<div class="whiteBackground grayFont padding20 rounded5">
<?= $Wcms->page('content') ?>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="visible-xs spacer20"></div>
<div class="goldBackground padding20 rounded5">
<?= $Wcms->block('subside') ?>
</div>
</div>
</div>
<footer class="container-fluid">
<div class="padding20 text-right">
<?= $Wcms->footer() ?>
</div>
</footer>
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<?= $Wcms->js() ?>
</body>
</html>

1
version Normal file
View File

@@ -0,0 +1 @@
3.2.0

13
wcms-modules.json Normal file
View File

@@ -0,0 +1,13 @@
{
"version": 1,
"themes": {
"gold_dme": {
"name": "Gold_dme",
"repo": "https://git.sperl.eu.org/msperl/gold_dme/src/branch/main",
"zip": "https://git.sperl.eu.org/msperl/gold_dme/archive/main.zip",
"summary": "Digital Memorial default theme.",
"version": "1.0.0",
"image": "https://git.sperl.eu.org/msperl/gold_dme/raw/branch/main/preview.jpg"
}
}
}