Skip to content

Commit cfeeced

Browse files
authored
style(auth): Remove banner caption (#4540)
2 parents 80cd673 + 1cc162f commit cfeeced

4 files changed

Lines changed: 73 additions & 124 deletions

File tree

assets/templates/authorize_move.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@
2323
<main class="wrapper">
2424

2525
<header class="wrapper-top">
26-
{{if not .BottomNavBar}}
27-
<p class="banner caption small-md fst-italic">
28-
<span class="icon icon-answer"></span>
29-
<strong>{{t "Login Password best practice"}}</strong>
30-
{{t "Login Password tip"}}
31-
</p>
32-
{{end}}
3326
<a href="https://cozy.io/" class="btn p-2 d-sm-none">
3427
<img src="{{asset .Domain "/images/logo-dark.svg"}}" alt="Cozy Cloud" class="logo" />
3528
</a>
@@ -57,13 +50,6 @@ <h1 class="h4 h2-md mb-0 text-center">{{.Title}}</h1>
5750
<button id="login-submit" class="btn btn-primary btn-md-lg w-100 my-4 mt-md-5" type="submit">
5851
{{t "Login Submit"}}
5952
</button>
60-
{{if .BottomNavBar}}
61-
<p class="banner caption small-md fst-italic fullbleed">
62-
<span class="icon icon-answer reverse-y align-bottom"></span>
63-
<strong>{{t "Login Password best practice"}}</strong>
64-
{{t "Login Password tip"}}
65-
</p>
66-
{{end}}
6753
</footer>
6854

6955
</main>

assets/templates/login.html

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@
2626
<main class="wrapper">
2727

2828
<header class="wrapper-top">
29-
{{if not .MagicLink}}
30-
{{if not .BottomNavBar}}
31-
<p class="banner caption small-md fst-italic">
32-
<span class="icon icon-answer"></span>
33-
<strong>{{t "Login Password best practice"}}</strong>
34-
{{t "Login Password tip"}}
35-
</p>
36-
{{end}}
37-
{{end}}
3829
<a href="https://cozy.io/" class="btn p-2 d-sm-none">
3930
<img src="{{asset .Domain "/images/logo-dark.svg"}}" alt="Cozy Cloud" class="logo" />
4031
</a>
@@ -107,13 +98,6 @@ <h1 class="h4 h2-md mb-0 text-center">{{.Title}}</h1>
10798
<button id="login-submit" class="btn btn-primary btn-md-lg w-100 my-3 mt-md-5" type="submit">
10899
{{t "Login Submit"}}
109100
</button>
110-
{{if .BottomNavBar}}
111-
<p class="banner caption mt-n1 mb-0 small-md fst-italic fullbleed">
112-
<span class="icon icon-answer reverse-y align-bottom"></span>
113-
<strong>{{t "Login Password best practice"}}</strong>
114-
{{t "Login Password tip"}}
115-
</p>
116-
{{end}}
117101
{{end}}
118102
</footer>
119103

assets/templates/magic_link_twofactor.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@
2222
<main class="wrapper">
2323

2424
<header class="wrapper-top">
25-
{{if not .BottomNavBar}}
26-
<p class="banner caption small-md fst-italic">
27-
<span class="icon icon-answer"></span>
28-
<strong>{{t "Login Password best practice"}}</strong>
29-
{{t "Login Password tip"}}
30-
</p>
31-
{{end}}
3225
<a href="https://cozy.io/" class="btn p-2 d-sm-none">
3326
<img src="{{asset .Domain "/images/logo-dark.svg"}}" alt="Cozy Cloud" class="logo" />
3427
</a>
@@ -67,13 +60,6 @@ <h1 class="h4 h2-md mb-0 text-center">{{.Title}}</h1>
6760
<button id="login-submit" class="btn btn-primary btn-md-lg w-100 my-3 mt-md-5" type="submit">
6861
{{t "Login Submit"}}
6962
</button>
70-
{{if .BottomNavBar}}
71-
<p class="banner caption mt-n1 mb-0 small-md fst-italic fullbleed">
72-
<span class="icon icon-answer reverse-y align-bottom"></span>
73-
<strong>{{t "Login Password best practice"}}</strong>
74-
{{t "Login Password tip"}}
75-
</p>
76-
{{end}}
7763
</footer>
7864

7965
</main>

web/statik/statik.go

Lines changed: 73 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)