Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit d98caf1

Browse files
authored
Merge pull request #39 from silinternational/develop
disabled logos on hub were too small
2 parents a142c5c + a6e9ecc commit d98caf1

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

themes/material/common-head-elements.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
$colors = htmlentities($this->configuration->getValue('theme.color-scheme') ?: 'indigo-purple');
3333
?>
3434
<link rel="stylesheet" href="material.<?= $colors ?>.1.2.1.min.css">
35-
<link rel="stylesheet" href="styles.2.2.2.css">
35+
<link rel="stylesheet" href="styles.2.2.3.css">
3636

3737
<script async src="material.1.2.1.min.js"></script>
3838

themes/material/core/loginuserpass.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function onRecaptchaLoad() {
4444
<main class="mdl-layout__content" layout-children="column" child-spacing="center">
4545
<?php include __DIR__ . '/../common-announcement.php' ?>
4646

47-
<form method="post">
47+
<form method="post" autocomplete="off">
4848
<input type="hidden" name="AuthState"
4949
value="<?= htmlentities($this->data['stateparams']['AuthState']) ?>" />
5050
<?php
@@ -73,8 +73,8 @@ function onRecaptchaLoad() {
7373
$username = htmlentities($this->data['username'] ?? null);
7474
?>
7575
<input type="text" name="username" class="mdl-textfield__input"
76-
value="<?= $username ?>"
77-
<?= empty($username) ? 'autofocus' : '' ?> id="username"/>
76+
value="<?= $username ?>" <?= empty($username) ? 'autofocus' : '' ?>
77+
id="username"/>
7878
</div>
7979

8080
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">

themes/material/mfa/prompt-for-mfa-backupcode.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
</div>
1616
</header>
1717
<main class="mdl-layout__content" layout-children="column">
18-
<form layout-children="column" method="post">
18+
<form layout-children="column" method="post" autocomplete="off">
1919
<div class="mdl-card mdl-shadow--8dp">
2020
<div class="mdl-card__media white-bg margin" layout-children="column">
21-
<img src="mfa-backupcode.svg"
21+
<img src="mfa-backupcode.svg" class="icon"
2222
alt="<?= $this->t('{material:mfa:backupcode_icon}') ?>">
2323
</div>
2424

@@ -40,7 +40,7 @@
4040
<?= $this->t('{material:mfa:backupcode_input}') ?>
4141
</label>
4242
<input name="mfaSubmission" class="mdl-textfield__input" autofocus
43-
id="mfaSubmission" autocomplete="off" />
43+
id="mfaSubmission" />
4444
</div>
4545
</div>
4646

themes/material/mfa/prompt-for-mfa-totp.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
</div>
1616
</header>
1717
<main class="mdl-layout__content" layout-children="column">
18-
<form layout-children="column" method="post">
18+
<form layout-children="column" method="post" autocomplete="off">
1919
<div class="mdl-card mdl-shadow--8dp">
2020
<div class="mdl-card__media white-bg margin" layout-children="column">
21-
<img src="mfa-totp.svg" alt="<?= $this->t('{material:mfa:totp_icon}') ?>">
21+
<img src="mfa-totp.svg" alt="<?= $this->t('{material:mfa:totp_icon}') ?>"
22+
class="icon">
2223
</div>
2324

2425
<div class="mdl-card__title center">
@@ -39,7 +40,7 @@
3940
<?= $this->t('{material:mfa:totp_input}') ?>
4041
</label>
4142
<input name="mfaSubmission" class="mdl-textfield__input" autofocus
42-
id="mfaSubmission" autocomplete="off" />
43+
id="mfaSubmission" />
4344
</div>
4445
</div>
4546

themes/material/mfa/prompt-for-mfa-u2f.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ function createHiddenInput(name) {
115115
<form layout-children="column" method="post">
116116
<div class="mdl-card mdl-shadow--8dp">
117117
<div class="mdl-card__media white-bg margin" layout-children="column">
118-
<img src="mfa-u2f.svg" alt="<?= $this->t('{material:mfa:u2f_icon}') ?>">
118+
<img src="mfa-u2f.svg" alt="<?= $this->t('{material:mfa:u2f_icon}') ?>"
119+
class="icon">
119120
</div>
120121

121122
<div class="mdl-card__title center">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ form p.error > i {
203203
rgba(200,200,200,1) 100%);
204204
}
205205

206-
.mdl-card > .mdl-card__media > img {
206+
.mdl-card > .mdl-card__media > img.icon {
207207
max-width: 24px;
208208
}
209209

0 commit comments

Comments
 (0)