migrate therinaldos.com data
Build & Deploy to DigitalOcean Space / build (push) Failing after 2m38s

This commit is contained in:
2024-05-05 15:50:45 -04:00
commit ef1ff240d4
23182 changed files with 3801898 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
Themes can be used to customize the look and feel without the need to patch the source code. This makes it very easy to:
* Use your own logo (in the top left, in log in and in emails)
* Customize the text strings to replace »Nextcloud« etc. with your name of choice
* Change the main color (used in header and as log in background)
* And more …
The process is simple:
1. Put a folder here with the name of the theme as foldername
2. Activate it by putting 'theme' => 'themename', into the config.php file
The folder structure of a theme is exactly the same as the main structure. CSS files are loaded additionally to the default files so you can override properties. Images are replaced. You can also override JS files and PHP templates but we do not recommend that because you will need to adjust them after every update.
You can also find a basic example here which you can build upon.
@@ -0,0 +1,86 @@
/**
* @author Jan-Christoph Borchardt, http://jancborchardt.net
* @copyright Copyright (c) 2015, ownCloud, Inc.
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* 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, version 3,
* along with this program. If not, see <http://www.gnu.org/licenses/>
*/
/* header color */
/* this is the main brand color */
#body-user #header,
#body-settings #header,
#body-public #header {
background-color: #745bca;
}
/* log in screen background color */
/* gradient of the header color and a brighter shade */
/* can also be a flat color or an image */
#body-login {
background: #745bca; /* Old browsers */
background: -moz-linear-gradient(top, #947bea 0%, #745bca 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#947bea), color-stop(100%,#745bca)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #947bea 0%,#745bca 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #947bea 0%,#745bca 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #947bea 0%,#745bca 100%); /* IE10+ */
background: linear-gradient(top, #947bea 0%,#745bca 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#947bea', endColorstr='#745bca',GradientType=0 ); /* IE6-9 */
}
/* primary action button, use sparingly */
/* header color as border, brighter shade again, here as background */
.primary,
input[type="submit"].primary,
input[type="button"].primary,
button.primary,
.button.primary,
.primary:active,
input[type="submit"].primary:active,
input[type="button"].primary:active,
button.primary:active,
.button.primary:active {
border-color: #745bca;
background-color: #947bea;
}
.primary:hover,
input[type="submit"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover,
.button.primary:hover,
.primary:focus,
input[type="submit"].primary:focus,
input[type="button"].primary:focus,
button.primary:focus,
.button.primary:focus {
background-color: #8b75e4;
}
.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active,
.primary:disabled, input[type="submit"].primary:disabled, input[type="button"].primary:disabled, button.primary:disabled, .button.primary:disabled,
.primary:disabled:hover, input[type="submit"].primary:disabled:hover, input[type="button"].primary:disabled:hover, button.primary:disabled:hover, .button.primary:disabled:hover,
.primary:disabled:focus, input[type="submit"].primary:disabled:focus, input[type="button"].primary:disabled:focus, button.primary:disabled:focus, .button.primary:disabled:focus {
background-color: #745bca;
}
/* use logos from theme */
#header .logo,
#firstrunwizard .logo {
background-image: url('../img/logo.svg');
width: 256px;
height: 128px;
}
#header .logo-icon {
width: 62px;
height: 34px;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

@@ -0,0 +1 @@
<svg width="128" height="128" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg"><rect width="128" height="128" rx="20" ry="20" fill="#745bca"/><path d="M64 24a36 36 0 0 0-35.758 32.016A20 20 0 0 0 28 56 20 20 0 0 0 8 76a20 20 0 0 0 20 20h68a24 24 0 0 0 24-24 24 24 0 0 0-22.07-23.906A36 36 0 0 0 64 24zm0 12a24 24 0 0 1 24 24 24 24 0 0 1-24 24 24 24 0 0 1-24-24 24 24 0 0 1 24-24z" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

@@ -0,0 +1 @@
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><rect width="32" height="32" rx="5" ry="5" fill="#745bca"/><path d="M16 6a9 9 0 0 0-8.94 8.004A5 5 0 0 0 7 14a5 5 0 0 0-5 5 5 5 0 0 0 5 5h17a6 6 0 0 0 6-6 6 6 0 0 0-5.518-5.977A9 9 0 0 0 16 6zm0 3a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

@@ -0,0 +1 @@
<svg width="62" height="34" viewBox="0 0 62.001 34" xmlns="http://www.w3.org/2000/svg"><path d="M31 3a13.5 13.5 0 0 0-13.408 12.006 7.5 7.5 0 0 0-.09-.006 7.5 7.5 0 0 0-7.5 7.5 7.5 7.5 0 0 0 7.5 7.5H43a9 9 0 0 0 9-9 9 9 0 0 0-8.278-8.965A13.5 13.5 0 0 0 31 3zm0 4.5a9 9 0 0 1 9 9 9 9 0 0 1-9 9 9 9 0 0 1-9-9 9 9 0 0 1 9-9z" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

@@ -0,0 +1 @@
<svg width="252" height="120" viewBox="0 0 252 120" xmlns="http://www.w3.org/2000/svg"><path d="M178.27 82.456v30.393h3.24V82.455h-3.24zm67.22 0v8.71l.08 1.505.14 1.544h-.26c-1.55-2.11-3.77-3.164-6.68-3.164-2.78 0-4.96.976-6.52 2.93-1.56 1.953-2.35 4.693-2.35 8.22 0 3.53.78 6.25 2.33 8.17 1.56 1.91 3.74 2.87 6.54 2.87 2.98 0 5.22-1.09 6.72-3.26h.18l.43 2.87h2.63V82.455h-3.24zM17.8 83.882c-2.722 0-5.098.6-7.13 1.797-2.017 1.184-3.567 2.896-4.648 5.135-1.08 2.227-1.62 4.825-1.62 7.793 0 4.71 1.1 8.33 3.3 10.86 2.2 2.51 5.378 3.77 9.53 3.77 2.892 0 5.51-.49 7.853-1.47v-5.07c-2.852 1-5.28 1.5-7.285 1.5-4.78 0-7.168-3.18-7.168-9.55 0-3.06.625-5.443 1.875-7.15 1.25-1.718 3.014-2.577 5.293-2.577 1.04 0 2.103.19 3.183.567 1.08.378 2.155.82 3.223 1.328l1.953-4.92c-2.8-1.343-5.587-2.013-8.36-2.013zm149.99 0c-2.82 0-5.26.6-7.35 1.797-2.07 1.197-3.66 2.902-4.76 5.116-1.1 2.213-1.64 4.792-1.64 7.734 0 4.7 1.14 8.33 3.42 10.88 2.29 2.55 5.54 3.83 9.74 3.83 2.9 0 5.35-.37 7.33-1.12v-2.91c-2.56.72-4.83 1.08-6.82 1.08-3.24 0-5.74-1.02-7.5-3.05-1.75-2.04-2.62-4.93-2.62-8.67 0-3.633.91-6.492 2.72-8.575 1.82-2.096 4.3-3.144 7.44-3.144 2.16 0 4.32.508 6.48 1.524l1.41-2.852c-2.24-1.093-4.86-1.64-7.85-1.64zm-94.073 2.48l-1.72 4.61-3.28 1.992v2.52h2.85v10.525c0 2.41.542 4.22 1.622 5.43 1.093 1.2 2.83 1.8 5.214 1.8 2.162 0 3.985-.33 5.47-1v-4.43c-1.46.45-2.71.68-3.75.68-.782 0-1.414-.2-1.895-.6-.47-.41-.705-1.03-.705-1.88V95.482h6.114V91.01h-6.115v-4.648h-3.808zm-13.39 4.24c-2.76 0-4.897.532-6.407 1.6-1.497 1.055-2.246 2.552-2.246 4.492 0 1.133.176 2.09.527 2.87.366.765.94 1.455 1.72 2.055.794.6 2.03 1.25 3.71 1.95 1.173.5 2.11.93 2.813 1.31.703.36 1.198.7 1.485 1 .286.28.43.66.43 1.13 0 1.25-1.08 1.87-3.243 1.87-1.054 0-2.278-.17-3.672-.52-1.38-.36-2.623-.79-3.73-1.31v4.92c.976.42 2.025.73 3.144.94 1.12.22 2.474.33 4.063.33 3.1 0 5.423-.59 6.973-1.76 1.562-1.17 2.343-2.88 2.343-5.12 0-1.08-.188-2.01-.566-2.79s-.964-1.47-1.758-2.07-2.044-1.24-3.75-1.935c-1.914-.768-3.157-1.347-3.73-1.738-.56-.39-.84-.853-.84-1.387 0-.95.88-1.425 2.637-1.425.988 0 1.958.15 2.91.45.95.298 1.97.682 3.065 1.15l1.797-4.296c-2.487-1.147-5.046-1.72-7.676-1.72zm35.257 0c-3.372 0-5.99.988-7.852 2.967s-2.793 4.752-2.793 8.32c0 2.29.43 4.3 1.29 6.02.858 1.71 2.088 3.04 3.69 3.96 1.6.91 3.45 1.37 5.547 1.37 3.346 0 5.953-1 7.833-3.01 1.87-2 2.81-4.78 2.81-8.34 0-2.292-.43-4.29-1.29-5.996-.86-1.706-2.09-3.015-3.69-3.926-1.6-.912-3.45-1.367-5.546-1.367zm25.476 0c-1.43 0-2.7.285-3.8.858-1.11.56-1.96 1.34-2.54 2.344h-.34l-.8-2.793h-4.55v21.84h5.96v-10.28c0-2.56.35-4.404 1.04-5.524s1.79-1.68 3.32-1.68c1.13 0 1.96.397 2.48 1.192.53.78.8 1.96.8 3.53v12.76h5.95v-10.96c0-2.264.36-3.918 1.08-4.96.73-1.04 1.82-1.562 3.28-1.562 1.13 0 1.96.397 2.48 1.192.53.78.8 1.96.8 3.53v12.76h5.98V98.61c0-2.8-.64-4.83-1.92-6.093-1.26-1.276-3.13-1.914-5.6-1.914-1.43 0-2.72.28-3.87.84-1.13.56-1.99 1.348-2.58 2.364h-.52c-1.16-2.136-3.38-3.203-6.65-3.203zm-92.503.41v14.237c0 2.58.65 4.56 1.953 5.94 1.302 1.36 3.235 2.05 5.8 2.05 1.498 0 2.833-.28 4.004-.82 1.172-.56 2.077-1.35 2.715-2.37h.312l.8 2.8h4.57V91.01h-5.956v10.28c0 2.57-.37 4.42-1.113 5.54-.743 1.11-1.947 1.66-3.614 1.66-1.225 0-2.117-.39-2.676-1.17-.56-.79-.84-1.98-.84-3.55V91.01h-5.957zm166.56.038c-3.1 0-5.53.976-7.27 2.93-1.75 1.94-2.62 4.654-2.62 8.14 0 2.26.41 4.22 1.21 5.9.81 1.68 1.96 2.97 3.44 3.87 1.49.9 3.18 1.35 5.1 1.35 3.1 0 5.53-.98 7.28-2.93 1.76-1.97 2.64-4.7 2.64-8.19 0-3.394-.89-6.09-2.66-8.082-1.75-1.992-4.13-2.988-7.12-2.988zm13.21.39v14.01c0 2.72.64 4.7 1.93 5.93 1.31 1.24 3.26 1.86 5.86 1.86 1.51 0 2.85-.28 4.03-.84s2.11-1.37 2.77-2.42h.18l.46 2.87h2.68V91.44h-3.24v11.25c0 2.77-.52 4.77-1.56 6-1.03 1.22-2.67 1.83-4.91 1.83-1.69 0-2.93-.43-3.73-1.29-.79-.85-1.19-2.16-1.19-3.9V91.44h-3.28zm30.81 2.325c2.22 0 3.82.65 4.83 1.953 1.01 1.29 1.52 3.45 1.52 6.48v.69c0 2.68-.5 4.63-1.5 5.84-.99 1.19-2.59 1.79-4.81 1.79-1.94 0-3.41-.69-4.41-2.09-1.01-1.39-1.51-3.45-1.51-6.19 0-2.692.5-4.775 1.51-6.247 1.01-1.483 2.47-2.225 4.37-2.225zm-44.12.04c2.15 0 3.77.708 4.86 2.128 1.11 1.406 1.66 3.47 1.66 6.186 0 2.75-.55 4.84-1.66 6.27-1.09 1.42-2.7 2.13-4.82 2.13-2.13 0-3.73-.71-4.83-2.14-1.09-1.44-1.64-3.52-1.64-6.26 0-2.756.54-4.833 1.62-6.226 1.08-1.394 2.69-2.09 4.81-2.09zm-99.514 1.6c1.6 0 2.754.54 3.457 1.62.703 1.082 1.057 2.703 1.057 4.864 0 2.18-.354 3.82-1.057 4.92-.69 1.1-1.83 1.64-3.418 1.64-1.602 0-2.76-.55-3.477-1.66-.703-1.1-1.054-2.74-1.054-4.9 0-2.175.352-3.796 1.055-4.864.703-1.08 1.85-1.62 3.438-1.62zM135.84 10.41a32.143 32.143 0 0 0-31.927 28.585 17.857 17.857 0 0 0-.216-.014A17.857 17.857 0 0 0 85.84 56.84a17.857 17.857 0 0 0 17.857 17.857h60.713a21.43 21.43 0 0 0 21.43-21.428 21.43 21.43 0 0 0-19.71-21.344 32.143 32.143 0 0 0-30.29-21.513zm0 10.714a21.43 21.43 0 0 1 21.43 21.43 21.43 21.43 0 0 1-21.43 21.428 21.43 21.43 0 0 1-21.43-21.43 21.43 21.43 0 0 1 21.43-21.428z" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

+135
View File
@@ -0,0 +1,135 @@
<?php
/**
* @author Björn Schießle <schiessle@owncloud.com>
* @author Jan-Christoph Borchardt, http://jancborchardt.net
* @copyright Copyright (c) 2016, ownCloud, Inc.
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* 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, version 3,
* along with this program. If not, see <http://www.gnu.org/licenses/>
*/
class OC_Theme {
/**
* Returns the base URL
* @return string URL
*/
public function getBaseUrl(): string {
return 'https://nextcloud.com';
}
/**
* Returns the documentation URL
* @return string URL
*/
public function getDocBaseUrl(): string {
return 'https://docs.nextcloud.com';
}
/**
* Returns the title
* @return string title
*/
public function getTitle(): string {
return 'Custom Cloud';
}
/**
* Returns the short name of the software
* @return string title
*/
public function getName(): string {
return 'Custom Cloud';
}
/**
* Returns the short name of the software containing HTML strings
* @return string title
*/
public function getHTMLName(): string {
return 'Custom Cloud';
}
/**
* Returns entity (e.g. company name) - used for footer, copyright
* @return string entity name
*/
public function getEntity(): string {
return 'Custom Cloud Co.';
}
/**
* Returns slogan
* @return string slogan
*/
public function getSlogan(): string {
return 'Your custom cloud, personalized for you!';
}
/**
* Returns short version of the footer
* @return string short footer
*/
public function getShortFooter(): string {
$entity = $this->getEntity();
$footer = '© ' . date('Y');
// Add link if entity name is not empty
if ($entity !== '') {
$footer .= ' <a href="' . $this->getBaseUrl() . '" target="_blank">' . $entity . '</a>' . '<br/>';
}
$footer .= $this->getSlogan();
return $footer;
}
/**
* Returns long version of the footer
* @return string long footer
*/
public function getLongFooter(): string {
$footer = '© ' . date('Y') . ' <a href="' . $this->getBaseUrl() . '" target="_blank">' . $this->getEntity() . '</a>' .
'<br/>' . $this->getSlogan();
return $footer;
}
/**
* Generate a documentation link for a given key
* @return string documentation link
*/
public function buildDocLinkToKey($key): string {
return $this->getDocBaseUrl() . '/server/15/go.php?to=' . $key;
}
/**
* Returns mail header color
* @return string
*/
public function getColorPrimary(): string {
return '#745bca';
}
/**
* Returns variables to overload defaults from core/css/variables.scss
* @return array
*/
public function getScssVariables(): array {
return [
'color-primary' => '#745bca'
];
}
}