Skip to content

Commit 953a8bc

Browse files
author
GitLab
committed
Add custom text/image in login page.
1 parent 68a9203 commit 953a8bc

5 files changed

Lines changed: 29 additions & 11 deletions

File tree

82.5 KB
Loading
25.3 KB
Loading

app/assets/stylesheets/application.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,9 @@
5959
/**
6060
* Styles for responsive sidebar
6161
*/
62-
@import "semantic-ui/modules/sidebar"
62+
@import "semantic-ui/modules/sidebar";
63+
64+
/**
65+
* Styles for custom login page
66+
*/
67+
@import "custom_login.scss";
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@import url(http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,greek);
2+
3+
.custom-login {
4+
h1, h2, p {
5+
font-family: 'Open Sans', sans-serif;
6+
}
7+
}

app/views/layouts/devise.html.haml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
= render "layouts/flash"
66
.container
77
.content
8-
.login-title
9-
%h1= brand_title
8+
.login-title.custom-login
9+
= image_tag 'foss_banner_trans.png'
1010
%hr
1111
.container
1212
.content
@@ -19,20 +19,26 @@
1919
= brand_text
2020
- else
2121
.brand-image.hidden-sm.hidden-xs
22-
= image_tag 'brand_logo.png'
23-
.brand_text.hidden-xs
24-
%h2 Open source software to collaborate on code
22+
= image_tag 'Foss_retro_logo.jpg'
23+
.brand_text.hidden-xs.custom-login
24+
%h2 GitLab server για τις ανάγκες των μελών της κοινότητας Ελεύθερου Λογισμικού ΕΜΠ
2525

26-
%p.lead
27-
Manage git repositories with fine grained access controls that keep your code secure.
28-
Perform code reviews and enhance collaboration with merge requests.
29-
Each project can also have an issue tracker and a wiki.
26+
%p.lead.custom-login
27+
Προς το παρόν οι λογαριασμοί θα δημιουργούνται χειροκίνητα,
28+
μπορείτε να ζητήσετε account στην
29+
= link_to "αντίστοιχη συζήτηση", "https://talk.foss.ntua.gr/t/registrations/16"
30+
στο Discourse μας. Περισσότερες πληροφορίες θα βρείτε στο
31+
= link_to "Wiki.", "https://foss.ntua.gr/wiki/index.php/GitLab"
32+
3033

3134
.col-md-5
3235
= yield
3336
%hr
3437
.container
3538
.footer-links
3639
= link_to "Explore public projects", public_projects_path
37-
= link_to "Documentation", "http://doc.gitlab.com/"
40+
= link_to "Wiki", "https://foss.ntua.gr/wiki/"
41+
= link_to "Forum", "https://talk.foss.ntua.gr/"
42+
= link_to "Mailing List", "https://lists.ntua.gr/mailman/listinfo/foss-general"
43+
= link_to "IRC", "irc://chat.freenode.net:6697/foss.ntua"
3844
= link_to "About GitLab", "https://about.gitlab.com/"

0 commit comments

Comments
 (0)