Changes for page Customizando o rodapé

Last modified by Jean Franco on 2022/06/26 12:58

<
From version < 2.1 >
edited by Jean Franco
on 2022/06/26 12:57
To version < 3.1
edited by Jean Franco
on 2022/06/26 12:58
Change comment: Uploaded new attachment "login.jst.eco", version 1.1

Summary

Details

login.jst.eco
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.jfranco
Size
... ... @@ -1,0 +1,1 @@
1 +4.0 KB
Content
... ... @@ -1,0 +1,98 @@
1 +<div class="login fullscreen">
2 + <div class="fullscreen-center">
3 + <div class="fullscreen-body">
4 + <p><%- @T('Log in to %s', @C('fqdn')) %></p>
5 +
6 + <% if @C('maintenance_mode'): %>
7 + <div class="hero-unit alert alert--danger js-maintenanceMode"><%- @T('Zammad is currently in maintenance mode. Only administrators can log in. Please wait until the maintenance window is over.') %></div>
8 + <% end %>
9 + <% if @C('maintenance_login') && @C('maintenance_login_message'): %>
10 + <div class="hero-unit alert alert--success js-maintenanceLogin"><%- @C('maintenance_login_message') %></div>
11 + <% end %>
12 +
13 + <div class="hero-unit">
14 + <img class="company-logo" src="<%= @logoUrl %>" alt="<%= @C('product_name') %>">
15 + <form id="login">
16 + <% if @item.errorMessage: %>
17 + <div class="alert alert--danger" role="alert">
18 + <%= @item.errorMessage %>
19 + </div>
20 + <% end %>
21 +
22 + <div class="form-group">
23 + <div class="formGroup-label">
24 + <label for="username"><%- @Ti('Username / email') %></label>
25 + </div>
26 + <input id="username" name="username" type="text" class="form-control" value="<%= @item.username %>" autocapitalize="off" />
27 + </div>
28 +
29 + <div class="form-group">
30 + <div class="formGroup-label">
31 + <label for="password"><%- @Ti('Password') %></label>
32 + </div>
33 + <input id="password" name="password" type="password" class="form-control" autocomplete="off"/>
34 + </div>
35 +
36 + <div class="form-group">
37 + <!--
38 + <label for="remember_me"><%- @Ti('Remember me') %></label>
39 + <input id="remember_me" name="remember_me" value="1" type="checkbox"/>
40 + -->
41 + <label class="inline-label checkbox-replacement">
42 + <input name="remember_me" value="1" type="checkbox">
43 + <%- @Icon('checkbox', 'icon-unchecked') %>
44 + <%- @Icon('checkbox-checked', 'icon-checked') %>
45 + <span class="label-text"><%- @T('Remember me') %></span>
46 + </label>
47 + </div>
48 +
49 + <div class="form-controls">
50 + <button class="btn btn--primary" type="submit"><%- @T('Sign in') %></button>
51 +
52 + <% if @C('user_lost_password'): %>
53 + <a href="#password_reset" class="btn btn--text btn--secondary align-right"><%- @T('Forgot password?') %></a>
54 + <% end %>
55 + </div>
56 +
57 + </form>
58 + <% if !_.isEmpty(@auth_providers): %>
59 + <div class="separator">
60 + <span class="separator-text"><%- @T('or sign in using') %></span>
61 + </div>
62 +
63 + <div class="auth-providers">
64 + <% for auth_provider in @auth_providers: %>
65 + <form method="post" action="<%= auth_provider.url %>">
66 + <input type="hidden" name="authenticity_token" value="<%= Spine.Ajax.defaults.headers['X-CSRF-Token'] %>">
67 + <button type="submit" class="auth-provider auth-provider--<%= auth_provider.class %>">
68 + <%- @Icon("#{auth_provider.class}-button", 'provider-icon') %>
69 + <span class="provider-name"><%- @T(auth_provider.name) %></span>
70 + </button>
71 + </form>
72 + <% end %>
73 + </div>
74 + <% end %>
75 + </div>
76 +
77 + <p>
78 + <%- @T("You're already registered with your email address if you've been in touch with our Support team.") %><br>
79 + <% if @C('user_lost_password'): %>
80 + <%- @T('You can request your password') %> <a href="#password_reset"><%- @T('here') %></a>.
81 + <% end %>
82 + </p>
83 +
84 + <% if @C('user_create_account'): %>
85 + <hr>
86 + <p>
87 + <a href="#signup"><%- @T('Register as a new customer') %></a>
88 + </p>
89 + <% end %>
90 + </div>
91 + </div>
92 + <div class="poweredBy">
93 + <a href="https://zammad.org" target="_blank"><%- @Icon('logo') %></a>
94 + <%- @T('Powered by') %>
95 + <a href="https://zammad.org" target="_blank"><%- @Icon('logotype', 'logotype') %></a>
96 + </div>
97 +</div>
98 +
Maila Networks