Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow html in claim and use htmlname in layout #7

Merged
merged 2 commits into from
Jun 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<theme/>
</types>
<dependencies>
<owncloud min-version="10.0.9" max-version="10.1" />
<owncloud min-version="10.2" max-version="10" />
</dependencies>
<namespace>Theme</namespace>
</info>
25 changes: 25 additions & 0 deletions core/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,29 @@ button.primary:focus,
#header .logo-icon {
background-image: url('../img/logo-icon.svg');
height: 34px;
line-height: initial;
}
#owncloud {
padding: 3px;
}

/* show Claim */
#body-user #logo-claim {
display: initial !important;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
padding-top: 17px;
padding-left: 170px;
height: 45px;
}
#body-user #logo-claim a {
color: #fff;
}
/* hide on small screens */
@media only screen and (max-width: 767px) {
#body-user #logo-claim {
display: none !important;
}
}
6 changes: 3 additions & 3 deletions defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getDocBaseUrl() {
* @return string title
*/
public function getTitle() {
return 'Custom Cloud';
return 'Custom Cloud - Custom Claim';
}

/**
Expand All @@ -89,7 +89,7 @@ public function getName() {
* @return string title
*/
public function getHTMLName() {
return 'Custom Cloud';
return '<b>Custom</b> Cloud';
}

/**
Expand All @@ -113,7 +113,7 @@ public function getSlogan() {
* @return string logo claim
*/
public function getLogoClaim() {
return '';
return '<a href="https://example.com">Custom Claim</a>';
}

public function getPrivacyPolicyUrl() {
Expand Down