Merge pull request #516 from tiwariav/task/3838/restyle_login_pages
Task/3838 restyle login pages
This commit is contained in:
		
				commit
				
					
						5d35cb02ad
					
				
			
		
					 19 changed files with 267 additions and 329 deletions
				
			
		| 
						 | 
					@ -182,7 +182,11 @@ button, input, optgroup, select, textarea {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.navbar-brand {
 | 
					.navbar-brand {
 | 
				
			||||||
    padding: 10px 15px;
 | 
					    padding: 10px 15px;
 | 
				
			||||||
    cursor: pointer;
 | 
					}
 | 
				
			||||||
 | 
					@media (max-width: 767px) {
 | 
				
			||||||
 | 
					    .navbar-brand {
 | 
				
			||||||
 | 
					        padding: 10px 10px;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.navbar-right {
 | 
					.navbar-right {
 | 
				
			||||||
| 
						 | 
					@ -1544,7 +1548,7 @@ tech-sub-sec h2 {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
footer {
 | 
					footer {
 | 
				
			||||||
    padding: 50px 0;
 | 
					    padding: 50px 20px;
 | 
				
			||||||
    background-color: #f8f8f8;
 | 
					    background-color: #f8f8f8;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 181 KiB After Width: | Height: | Size: 58 KiB  | 
| 
						 | 
					@ -1,6 +1,7 @@
 | 
				
			||||||
    {% load staticfiles i18n%}
 | 
					{% load staticfiles i18n%}
 | 
				
			||||||
{% get_current_language as LANGUAGE_CODE %}
 | 
					{% get_current_language as LANGUAGE_CODE %}
 | 
				
			||||||
    <footer>
 | 
					
 | 
				
			||||||
 | 
					<footer>
 | 
				
			||||||
    <div class="container">
 | 
					    <div class="container">
 | 
				
			||||||
        <ul class="list-inline">
 | 
					        <ul class="list-inline">
 | 
				
			||||||
            {% if request.resolver_match.url_name != "index" %}
 | 
					            {% if request.resolver_match.url_name != "index" %}
 | 
				
			||||||
| 
						 | 
					@ -35,4 +36,4 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <p class="copyright text-muted small">Copyright © ungleich GmbH {% now "Y" %}. {% trans "All Rights Reserved" %}</p>
 | 
					        <p class="copyright text-muted small">Copyright © ungleich GmbH {% now "Y" %}. {% trans "All Rights Reserved" %}</p>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    </footer>
 | 
					</footer>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -155,9 +155,6 @@ msgstr "Ich möchte einen existierenden SSH-Key nutzen"
 | 
				
			||||||
msgid "Upload"
 | 
					msgid "Upload"
 | 
				
			||||||
msgstr "Hochladen"
 | 
					msgstr "Hochladen"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msgid "Your VM hosted in Switzerland"
 | 
					 | 
				
			||||||
msgstr "Deine VM in der Schweiz"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
msgid "Set your new password"
 | 
					msgid "Set your new password"
 | 
				
			||||||
msgstr "Setze Dein neues Passwort"
 | 
					msgstr "Setze Dein neues Passwort"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -277,13 +274,16 @@ msgstr "Dashboard"
 | 
				
			||||||
msgid "Logout"
 | 
					msgid "Logout"
 | 
				
			||||||
msgstr "Abmelden"
 | 
					msgstr "Abmelden"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msgid "Don't have an account yet ? "
 | 
					msgid "Log in"
 | 
				
			||||||
 | 
					msgstr "Anmelden"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					msgid "Don't have an account yet ?"
 | 
				
			||||||
msgstr "Besitzt du kein Benutzerkonto?"
 | 
					msgstr "Besitzt du kein Benutzerkonto?"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msgid "Sign up"
 | 
					msgid "Sign up"
 | 
				
			||||||
msgstr "Registrieren"
 | 
					msgstr "Registrieren"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msgid "Forgot your password ? "
 | 
					msgid "Forgot your password ?"
 | 
				
			||||||
msgstr "Passwort vergessen?"
 | 
					msgstr "Passwort vergessen?"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msgid "Resend activation link"
 | 
					msgid "Resend activation link"
 | 
				
			||||||
| 
						 | 
					@ -455,7 +455,7 @@ msgstr "Deine Kreditkartennummer"
 | 
				
			||||||
msgid "Submit"
 | 
					msgid "Submit"
 | 
				
			||||||
msgstr "Absenden"
 | 
					msgstr "Absenden"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msgid "Reset your password"
 | 
					msgid "Password reset"
 | 
				
			||||||
msgstr "Passwort zurücksetzen"
 | 
					msgstr "Passwort zurücksetzen"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msgid "UPDATE"
 | 
					msgid "UPDATE"
 | 
				
			||||||
| 
						 | 
					@ -713,6 +713,9 @@ msgstr ""
 | 
				
			||||||
"Es gab einen Fehler bei der Bearbeitung Deine Anfrage. Bitte versuche es "
 | 
					"Es gab einen Fehler bei der Bearbeitung Deine Anfrage. Bitte versuche es "
 | 
				
			||||||
"noch einmal."
 | 
					"noch einmal."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#~ msgid "Reset your password"
 | 
				
			||||||
 | 
					#~ msgstr "Passwort zurücksetzen"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#~ msgid "My VM page"
 | 
					#~ msgid "My VM page"
 | 
				
			||||||
#~ msgstr "Meine VM page"
 | 
					#~ msgstr "Meine VM page"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -821,9 +824,6 @@ msgstr ""
 | 
				
			||||||
#~ msgid "Keys"
 | 
					#~ msgid "Keys"
 | 
				
			||||||
#~ msgstr "Keys"
 | 
					#~ msgstr "Keys"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#~ msgid "Log in"
 | 
					 | 
				
			||||||
#~ msgstr "Anmelden"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#~ msgid "You haven been logged out"
 | 
					#~ msgid "You haven been logged out"
 | 
				
			||||||
#~ msgstr "Du wurdest abgemeldet"
 | 
					#~ msgstr "Du wurdest abgemeldet"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,7 +18,7 @@
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.content-dashboard{
 | 
					.content-dashboard{
 | 
				
			||||||
	min-height: calc(100vh - 70px);
 | 
						min-height: calc(100vh - 60px);
 | 
				
			||||||
	width: 80%;
 | 
						width: 80%;
 | 
				
			||||||
	margin: 0 auto;
 | 
						margin: 0 auto;
 | 
				
			||||||
	max-width: 1120px;
 | 
						max-width: 1120px;
 | 
				
			||||||
| 
						 | 
					@ -66,7 +66,9 @@
 | 
				
			||||||
      width: 280px;
 | 
					      width: 280px;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    .content-dashboard {
 | 
					    .content-dashboard {
 | 
				
			||||||
      width: 90%;
 | 
					      padding-left: 15px;
 | 
				
			||||||
 | 
					      padding-right: 15px;
 | 
				
			||||||
 | 
					      width: 100%;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.btn:focus, .btn:active:focus {
 | 
					.btn:focus, .btn:active:focus {
 | 
				
			||||||
| 
						 | 
					@ -296,10 +298,6 @@
 | 
				
			||||||
  max-width: 360px;
 | 
					  max-width: 360px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.btn-wide {
 | 
					 | 
				
			||||||
  min-width: 100px;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.caps-link {
 | 
					.caps-link {
 | 
				
			||||||
  font-weight: 600;
 | 
					  font-weight: 600;
 | 
				
			||||||
  color: #8da4c0;
 | 
					  color: #8da4c0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,9 +17,11 @@ h3,
 | 
				
			||||||
h4,
 | 
					h4,
 | 
				
			||||||
h5,
 | 
					h5,
 | 
				
			||||||
h6 {
 | 
					h6 {
 | 
				
			||||||
    /*font-family: 'Lato-Regular', sans-serif;*/
 | 
					 | 
				
			||||||
    font-family: 'Lato', sans-serif;
 | 
					    font-family: 'Lato', sans-serif;
 | 
				
			||||||
    /*font-weight: 300;*/
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.allcaps {
 | 
				
			||||||
 | 
					    text-transform: uppercase;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.topnav {
 | 
					.topnav {
 | 
				
			||||||
| 
						 | 
					@ -31,6 +33,11 @@ h6 {
 | 
				
			||||||
.navbar-brand {
 | 
					.navbar-brand {
 | 
				
			||||||
    padding: 10px 15px;
 | 
					    padding: 10px 15px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					@media (max-width: 767px) {
 | 
				
			||||||
 | 
					    .navbar-brand {
 | 
				
			||||||
 | 
					        padding: 10px 0;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.navbar-default {
 | 
					.navbar-default {
 | 
				
			||||||
    background: #fff;
 | 
					    background: #fff;
 | 
				
			||||||
| 
						 | 
					@ -46,7 +53,7 @@ h6 {
 | 
				
			||||||
.navbar-transparent {
 | 
					.navbar-transparent {
 | 
				
			||||||
    background: transparent;
 | 
					    background: transparent;
 | 
				
			||||||
    border: none;
 | 
					    border: none;
 | 
				
			||||||
    padding: 20px;
 | 
					    padding: 20px 0;
 | 
				
			||||||
    box-shadow: none;
 | 
					    box-shadow: none;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -72,7 +79,6 @@ h6 {
 | 
				
			||||||
.navbar-transparent #logoWhite{
 | 
					.navbar-transparent #logoWhite{
 | 
				
			||||||
    display: block;
 | 
					    display: block;
 | 
				
			||||||
    width: 220px;
 | 
					    width: 220px;
 | 
				
			||||||
    /* color: #fff; */
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.navbar-right .highlights-dropdown .dropdown-menu {
 | 
					.navbar-right .highlights-dropdown .dropdown-menu {
 | 
				
			||||||
| 
						 | 
					@ -92,16 +98,6 @@ h6 {
 | 
				
			||||||
        border-color: #e7e7e7;
 | 
					        border-color: #e7e7e7;
 | 
				
			||||||
        box-shadow: -8px 14px 20px -5px rgba(77, 77, 77, 0.5);
 | 
					        box-shadow: -8px 14px 20px -5px rgba(77, 77, 77, 0.5);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
/*     .navbar-right .highlights-dropdown .dropdown-menu:before {
 | 
					 | 
				
			||||||
        content: '';
 | 
					 | 
				
			||||||
        display: block;
 | 
					 | 
				
			||||||
        height: 1px;
 | 
					 | 
				
			||||||
        background: #e7e7e7;
 | 
					 | 
				
			||||||
        position: absolute;
 | 
					 | 
				
			||||||
        top: -1px;
 | 
					 | 
				
			||||||
        left: -1px;
 | 
					 | 
				
			||||||
        right: -1px;
 | 
					 | 
				
			||||||
    } */
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.navbar-right .highlights-dropdown .dropdown-menu > li > a{
 | 
					.navbar-right .highlights-dropdown .dropdown-menu > li > a{
 | 
				
			||||||
    font-size: 13px;
 | 
					    font-size: 13px;
 | 
				
			||||||
| 
						 | 
					@ -274,16 +270,15 @@ h6 {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*------Auth section---------*/
 | 
					/*------Auth section---------*/
 | 
				
			||||||
.auth-container {
 | 
					.auth-container {
 | 
				
			||||||
    min-height: calc(100vh - 120px);
 | 
					    min-height: calc(100vh - 180px);
 | 
				
			||||||
    position: relative;
 | 
					    position: relative;
 | 
				
			||||||
    /* flex-grow: 1; */
 | 
					 | 
				
			||||||
    display: flex;
 | 
					    display: flex;
 | 
				
			||||||
    flex-direction: column;
 | 
					    flex-direction: column;
 | 
				
			||||||
    justify-content: center;
 | 
					    justify-content: center;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-bg {
 | 
					.auth-bg {
 | 
				
			||||||
    background: url(../img/auth-bg-sm.jpg);
 | 
					    background: url(../img/pattern.jpg) no-repeat center center;
 | 
				
			||||||
    position: fixed;
 | 
					    position: fixed;
 | 
				
			||||||
    left: 0;
 | 
					    left: 0;
 | 
				
			||||||
    top: 0;
 | 
					    top: 0;
 | 
				
			||||||
| 
						 | 
					@ -293,7 +288,6 @@ h6 {
 | 
				
			||||||
    background-position: center center;
 | 
					    background-position: center center;
 | 
				
			||||||
    background-size: cover;
 | 
					    background-size: cover;
 | 
				
			||||||
    background-attachment: fixed;
 | 
					    background-attachment: fixed;
 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-bg::before {
 | 
					.auth-bg::before {
 | 
				
			||||||
| 
						 | 
					@ -303,7 +297,7 @@ h6 {
 | 
				
			||||||
    bottom: 0;
 | 
					    bottom: 0;
 | 
				
			||||||
    left: 0;
 | 
					    left: 0;
 | 
				
			||||||
    right: 0;
 | 
					    right: 0;
 | 
				
			||||||
    background: rgba(75, 75, 101, 0.55);
 | 
					    background: rgba(90, 116, 175, 0.7);
 | 
				
			||||||
    z-index: 1;
 | 
					    z-index: 1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -313,69 +307,38 @@ h6 {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-container .auth-content {
 | 
					.auth-container .auth-content {
 | 
				
			||||||
    width: 100%;
 | 
					    width: 100%;
 | 
				
			||||||
    margin: 0 auto;
 | 
					    margin: 0 auto 15px;
 | 
				
			||||||
    max-width: 390px;
 | 
					    max-width: 400px;
 | 
				
			||||||
 | 
					    padding: 0 15px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-container .auth-center {
 | 
					.auth-container .auth-content.wide {
 | 
				
			||||||
    /* position: absolute; */
 | 
					    max-width: 480px;
 | 
				
			||||||
    /* left: 50%; */
 | 
					 | 
				
			||||||
    /* top: 50%; */
 | 
					 | 
				
			||||||
    /* transform: translate(-50%, -50%); */
 | 
					 | 
				
			||||||
    /* width: 100%; */
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.auth-container .auth-title {
 | 
					 | 
				
			||||||
    margin-bottom: 50px;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.auth-container .auth-title h2 {
 | 
					 | 
				
			||||||
    color: #fff;
 | 
					 | 
				
			||||||
    font-size: 44px;
 | 
					 | 
				
			||||||
    text-align: center;
 | 
					 | 
				
			||||||
    width: 425px;
 | 
					 | 
				
			||||||
    margin: 0 auto;
 | 
					 | 
				
			||||||
    margin-bottom: 30px;
 | 
					 | 
				
			||||||
    position: relative;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.auth-container .auth-title h2::after {
 | 
					 | 
				
			||||||
    content: "";
 | 
					 | 
				
			||||||
    position: absolute;
 | 
					 | 
				
			||||||
    bottom: -20px;
 | 
					 | 
				
			||||||
    background: #fff;
 | 
					 | 
				
			||||||
    height: 7px;
 | 
					 | 
				
			||||||
    width: 70px;
 | 
					 | 
				
			||||||
    left: 50%;
 | 
					 | 
				
			||||||
    transform: translate(-50%, 0);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-box {
 | 
					.auth-box {
 | 
				
			||||||
 | 
					    position: relative;
 | 
				
			||||||
    background: #fff;
 | 
					    background: #fff;
 | 
				
			||||||
    padding: 0;
 | 
					    padding: 40px 20px 20px;
 | 
				
			||||||
    padding-bottom: 30px;
 | 
					 | 
				
			||||||
    box-sizing: border-box;
 | 
					    box-sizing: border-box;
 | 
				
			||||||
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
 | 
					    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.09), 0 5px 5px rgba(0, 0, 0, 0.23);
 | 
				
			||||||
    border-radius: 4px;
 | 
					 | 
				
			||||||
    z-index: 10;
 | 
					    z-index: 10;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-box .section-heading {
 | 
					.auth-box .section-heading {
 | 
				
			||||||
    color: #5a5a5a;
 | 
					    color: #5a5a5a;
 | 
				
			||||||
    padding-top: 30px;
 | 
					    font-weight: 300;
 | 
				
			||||||
    padding-bottom: 5px;
 | 
					 | 
				
			||||||
    text-align: center;
 | 
					    text-align: center;
 | 
				
			||||||
    text-transform: uppercase;
 | 
					    letter-spacing: 1px;
 | 
				
			||||||
    letter-spacing: 3px;
 | 
					    font-size: 36px;
 | 
				
			||||||
    font-size: 20px;
 | 
					 | 
				
			||||||
    border-radius: 3px 3px 0px 0px;
 | 
					    border-radius: 3px 3px 0px 0px;
 | 
				
			||||||
    margin: 0 auto;
 | 
					    margin: 0 auto 10px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-box .form {
 | 
					.auth-box .form {
 | 
				
			||||||
    padding: 20px;
 | 
					    padding: 20px;
 | 
				
			||||||
    width: 80%;
 | 
					 | 
				
			||||||
    margin: 0 auto;
 | 
					    margin: 0 auto;
 | 
				
			||||||
 | 
					    max-width: 360px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-box .form .red {
 | 
					.auth-box .form .red {
 | 
				
			||||||
| 
						 | 
					@ -383,27 +346,56 @@ h6 {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-box .form .btn {
 | 
					.auth-box .form .btn {
 | 
				
			||||||
    box-shadow: 0 0px 9px rgba(0, 0, 0, 0.19), 0 3px 5px rgba(0, 0, 0, 0.23);
 | 
					    letter-spacing: 2px;
 | 
				
			||||||
    letter-spacing: 3px;
 | 
					    font-size: 16px;
 | 
				
			||||||
    font-size: 17px;
 | 
					    padding: 6px 12px;
 | 
				
			||||||
 | 
					    min-width: 140px;
 | 
				
			||||||
 | 
					    margin-top: 15px;
 | 
				
			||||||
    text-transform: uppercase;
 | 
					    text-transform: uppercase;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-box .form .form-control {
 | 
					.auth-box .form .form-control {
 | 
				
			||||||
    height: 44px;
 | 
					    height: 48px;
 | 
				
			||||||
    font-size: 16px;
 | 
					    font-size: 14px;
 | 
				
			||||||
 | 
					    padding: 10px 17px;
 | 
				
			||||||
 | 
					    line-height: 30px;
 | 
				
			||||||
 | 
					    border-color: #aaa;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.auth-box .form .form-control:focus,
 | 
				
			||||||
 | 
					.auth-box .form .form-control:active {
 | 
				
			||||||
 | 
					    box-shadow: none;
 | 
				
			||||||
 | 
					    border-radius: 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.auth-box .form-control::-webkit-input-placeholder {
 | 
				
			||||||
 | 
					    color: #aaa;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.auth-box .form-control:-moz-placeholder{
 | 
				
			||||||
 | 
					    /* Firefox 18- */
 | 
				
			||||||
 | 
					    color: #aaa;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.auth-box .form-control::-moz-placeholder{
 | 
				
			||||||
 | 
					    /* Firefox 19+ */
 | 
				
			||||||
 | 
					    color: #aaa;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.auth-box .form-control:-ms-input-placeholder {
 | 
				
			||||||
 | 
					    color: #aaa;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-box .auth-footer {
 | 
					.auth-box .auth-footer {
 | 
				
			||||||
    text-align: center;
 | 
					    text-align: center;
 | 
				
			||||||
    padding: 10px;
 | 
					    padding: 5px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-box .auth-footer .text {
 | 
					.auth-box .auth-footer {
 | 
				
			||||||
    color: #777;
 | 
					    color: #777;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-box .auth-footer .links a {
 | 
					.auth-box .auth-footer a {
 | 
				
			||||||
    color: #1e94cc;
 | 
					    color: #1e94cc;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -411,20 +403,11 @@ h6 {
 | 
				
			||||||
    color: #1e94cc;
 | 
					    color: #1e94cc;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-box.sign-up {
 | 
					 | 
				
			||||||
    padding-bottom: 5px;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.auth-box.sign-up .form {
 | 
					 | 
				
			||||||
    padding: 15px 20px 0 20px;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.sign-up-message {
 | 
					.sign-up-message {
 | 
				
			||||||
    padding: 25px 30px 25px 30px;
 | 
					    padding: 25px 30px 25px 30px;
 | 
				
			||||||
    text-align: center;
 | 
					    text-align: center;
 | 
				
			||||||
    font-size: 18px;
 | 
					    font-size: 18px;
 | 
				
			||||||
    line-height: 30px;
 | 
					    line-height: 30px;
 | 
				
			||||||
    /*font-family: 'Lato' !important;*/
 | 
					 | 
				
			||||||
    font-weight: 300 !important;
 | 
					    font-weight: 300 !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -458,16 +441,7 @@ h6 {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .auth-box .form {
 | 
					    .auth-box .form {
 | 
				
			||||||
        padding: 15px 0px 0 0;
 | 
					        padding: 15px 0 15px 0;
 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    .auth-box.sign-up .form {
 | 
					 | 
				
			||||||
        padding: 15px 0px 0 0;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    .auth-box .form .form-control {
 | 
					 | 
				
			||||||
        height: 44px;
 | 
					 | 
				
			||||||
        font-size: 13px;
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .auth-container .auth-title {
 | 
					    .auth-container .auth-title {
 | 
				
			||||||
| 
						 | 
					@ -476,7 +450,7 @@ h6 {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.auth-box .msg-list {
 | 
					.auth-box .msg-list {
 | 
				
			||||||
    padding: 15px 25px 5px;
 | 
					    padding: 20px 25px 0;
 | 
				
			||||||
    text-align: center;
 | 
					    text-align: center;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -493,19 +467,14 @@ h6 {
 | 
				
			||||||
        margin-bottom: 50px;
 | 
					        margin-bottom: 50px;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .auth-box .form {
 | 
					 | 
				
			||||||
        width: 90%;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    .auth-box .section-heading {
 | 
					    .auth-box .section-heading {
 | 
				
			||||||
        font-size: 15px;
 | 
					        font-size: 32px;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
footer {
 | 
					footer {
 | 
				
			||||||
    padding: 20px;
 | 
					    padding: 20px 0;
 | 
				
			||||||
    background-color: #f8f8f8;
 | 
					    background-color: #f8f8f8;
 | 
				
			||||||
/*     position: absolute */
 | 
					 | 
				
			||||||
    right: 0;
 | 
					    right: 0;
 | 
				
			||||||
    bottom: 0;
 | 
					    bottom: 0;
 | 
				
			||||||
    left: 0;
 | 
					    left: 0;
 | 
				
			||||||
| 
						 | 
					@ -537,7 +506,6 @@ a.unlink:hover {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/***** DCL payment page **********/
 | 
					/***** DCL payment page **********/
 | 
				
			||||||
.dcl-order-container {
 | 
					.dcl-order-container {
 | 
				
			||||||
    /*font-family: Lato;*/
 | 
					 | 
				
			||||||
    font-weight: 300;
 | 
					    font-weight: 300;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -580,9 +548,7 @@ a.unlink:hover {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.dcl-place-order-text{
 | 
					.dcl-place-order-text{
 | 
				
			||||||
   /* font-size: 13px; */
 | 
					 | 
				
			||||||
   color: #808080;
 | 
					   color: #808080;
 | 
				
			||||||
   /* margin-bottom: 15px; */
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.dcl-order-table-total .tbl-total {
 | 
					.dcl-order-table-total .tbl-total {
 | 
				
			||||||
| 
						 | 
					@ -610,7 +576,6 @@ a.unlink:hover {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.card-warning-content {
 | 
					.card-warning-content {
 | 
				
			||||||
    /*font-family: Lato;*/
 | 
					 | 
				
			||||||
    font-weight: 300;
 | 
					    font-weight: 300;
 | 
				
			||||||
    border: 1px solid #a1a1a1;
 | 
					    border: 1px solid #a1a1a1;
 | 
				
			||||||
    border-radius: 3px;
 | 
					    border-radius: 3px;
 | 
				
			||||||
| 
						 | 
					@ -638,18 +603,6 @@ a.unlink:hover {
 | 
				
			||||||
    right: 0;
 | 
					    right: 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.brand {
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.brand #brand-icon {
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.card-number-element {
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.card-expiry-element {
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.card-cvc-element label {
 | 
					.card-cvc-element label {
 | 
				
			||||||
    padding-left: 10px;
 | 
					    padding-left: 10px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -735,9 +688,6 @@ a.unlink:hover {
 | 
				
			||||||
        margin-bottom: 30px;
 | 
					        margin-bottom: 30px;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .brand {
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    .card-expiry-element {
 | 
					    .card-expiry-element {
 | 
				
			||||||
    padding-right: 10px;
 | 
					    padding-right: 10px;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					@ -802,10 +752,23 @@ a.unlink:hover {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.footer-light {
 | 
				
			||||||
.footer-light a:hover, .footer-light a:focus, .footer-light a:active {
 | 
					    position: relative;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.footer-light footer {
 | 
				
			||||||
 | 
					    background: transparent;
 | 
				
			||||||
 | 
					    color: #eee;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.footer-light a,
 | 
				
			||||||
 | 
					.footer-light .text-muted {
 | 
				
			||||||
    color: #ddd;
 | 
					    color: #ddd;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					.footer-light a:hover, .footer-light a:focus, .footer-light a:active {
 | 
				
			||||||
 | 
					    color: #fff;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.footer-vm p.copyright {
 | 
				
			||||||
 | 
					    margin-top: 4px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.visible-mobile {
 | 
					.visible-mobile {
 | 
				
			||||||
    display: none !important;
 | 
					    display: none !important;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								hosting/static/hosting/img/pattern.jpg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								hosting/static/hosting/img/pattern.jpg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 58 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								hosting/static/hosting/img/pattern_original.jpg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								hosting/static/hosting/img/pattern_original.jpg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 181 KiB  | 
| 
						 | 
					@ -54,8 +54,7 @@
 | 
				
			||||||
        {% include "hosting/includes/_navbar_user.html" %}
 | 
					        {% include "hosting/includes/_navbar_user.html" %}
 | 
				
			||||||
    {% endblock navbar %}
 | 
					    {% endblock navbar %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <div class="{% if request.user.is_authenticated %}content-dashboard{% endif %}">
 | 
				
			||||||
    <div class="content-dashboard">
 | 
					 | 
				
			||||||
        {% block content %}
 | 
					        {% block content %}
 | 
				
			||||||
        {% endblock %}
 | 
					        {% endblock %}
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,21 +1,17 @@
 | 
				
			||||||
{% extends "hosting/base_short.html" %}
 | 
					{% extends "hosting/base_short.html" %}
 | 
				
			||||||
{% load staticfiles bootstrap3%}
 | 
					{% load staticfiles bootstrap3 i18n %}
 | 
				
			||||||
{% load i18n %}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block navbar %}
 | 
					{% block navbar %}
 | 
				
			||||||
    {% include 'hosting/includes/_navbar_transparent.html' %}
 | 
					    {% include 'hosting/includes/_navbar_transparent.html' %}
 | 
				
			||||||
{% endblock navbar %}
 | 
					{% endblock navbar %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block content %}
 | 
					{% block content %}
 | 
				
			||||||
<div class="auth-container">
 | 
					    <div class="auth-container">
 | 
				
			||||||
        <div class="auth-bg"></div>
 | 
					        <div class="auth-bg"></div>
 | 
				
			||||||
        <div class="auth-center">
 | 
					        <div class="auth-center">
 | 
				
			||||||
            <div class="auth-title">
 | 
					 | 
				
			||||||
                <h2>{% trans "Your VM hosted in Switzerland"%}</h2>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
            <div class="auth-content">
 | 
					            <div class="auth-content">
 | 
				
			||||||
                <div class="intro-message auth-box sign-up">
 | 
					                <div class="auth-box sign-up">
 | 
				
			||||||
                     <h2  class="section-heading">{% trans "Set your new password"%}</h2>
 | 
					                    <h1 class="section-heading">{% trans "Set your new password" %}</h1>
 | 
				
			||||||
                    {% if messages %}
 | 
					                    {% if messages %}
 | 
				
			||||||
                        <ul class="list-unstyled msg-list">
 | 
					                        <ul class="list-unstyled msg-list">
 | 
				
			||||||
                        {% for message in messages %}
 | 
					                        {% for message in messages %}
 | 
				
			||||||
| 
						 | 
					@ -28,23 +24,18 @@
 | 
				
			||||||
                        {% for field in form %}
 | 
					                        {% for field in form %}
 | 
				
			||||||
                            {% bootstrap_field field show_label=False %}
 | 
					                            {% bootstrap_field field show_label=False %}
 | 
				
			||||||
                        {% endfor %}
 | 
					                        {% endfor %}
 | 
				
			||||||
                        {% buttons %}
 | 
					                        <div class="text-center">
 | 
				
			||||||
                            <button type="submit" class="btn btn-block btn-success">
 | 
					                            <button type="submit" class="btn choice-btn">
 | 
				
			||||||
                            {% trans "Reset"%}
 | 
					                                {% trans "Reset" %}
 | 
				
			||||||
                            </button>
 | 
					                            </button>
 | 
				
			||||||
                        {% endbuttons %}
 | 
					                        </div>
 | 
				
			||||||
                    </form>
 | 
					                    </form>
 | 
				
			||||||
                    <div class="auth-footer">
 | 
					                    <div class="auth-footer">
 | 
				
			||||||
                        <div class="text">
 | 
					                        <span>{% trans "Already have an account ?" %}</span> 
 | 
				
			||||||
                            <span>{% trans "Already have an account ?"%}</span>
 | 
					                        <a class="unlink" href="{% url 'hosting:login' %}">{% trans "Login" %}</a>
 | 
				
			||||||
                        </div>
 | 
					 | 
				
			||||||
                        <div class="links">
 | 
					 | 
				
			||||||
                           <a class="unlink" href="{% url 'hosting:login' %}">{% trans "Login"%}</a>
 | 
					 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
					 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
</div>
 | 
					 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,8 +1,7 @@
 | 
				
			||||||
{% if messages %}
 | 
					{% if messages %}
 | 
				
			||||||
    <ul class="list-unstyled msg-list">
 | 
					    <ul class="list-unstyled msg-list">
 | 
				
			||||||
    {% for message in messages %}
 | 
					    {% for message in messages %}
 | 
				
			||||||
        <div
 | 
					        <div class="alert {% if message.tags and message.tags == 'error' %} alert-danger {% else %} alert-{{message.tags}} {% endif %}">{{ message|safe }}</div>
 | 
				
			||||||
                class="alert {% if message.tags and message.tags == 'error' %} alert-danger {% else %} alert-{{message.tags}} {% endif %}">{{ message|safe }}</div>
 | 
					 | 
				
			||||||
    {% endfor %}
 | 
					    {% endfor %}
 | 
				
			||||||
    </ul>
 | 
					    </ul>
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,7 @@
 | 
				
			||||||
{% load static i18n %}
 | 
					{% load static i18n %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<nav class="navbar navbar-default  topnav navbar-transparent" role="navigation">
 | 
					<nav class="navbar navbar-default  topnav navbar-transparent" role="navigation">
 | 
				
			||||||
 | 
					    <div class="container">
 | 
				
			||||||
        <div class="topnav">
 | 
					        <div class="topnav">
 | 
				
			||||||
            <!-- Brand and toggle get grouped for better mobile display -->
 | 
					            <!-- Brand and toggle get grouped for better mobile display -->
 | 
				
			||||||
            <div class="navbar-header">
 | 
					            <div class="navbar-header">
 | 
				
			||||||
| 
						 | 
					@ -8,4 +9,5 @@
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <!-- /.container -->
 | 
					        <!-- /.container -->
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
</nav>
 | 
					</nav>
 | 
				
			||||||
| 
						 | 
					@ -1,21 +1,17 @@
 | 
				
			||||||
{% extends "hosting/base_short.html" %}
 | 
					{% extends "hosting/base_short.html" %}
 | 
				
			||||||
{% load i18n %}
 | 
					{% load i18n staticfiles bootstrap3%}
 | 
				
			||||||
{% load staticfiles bootstrap3%}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block navbar %}
 | 
					{% block navbar %}
 | 
				
			||||||
    {% include 'hosting/includes/_navbar_transparent.html' %}
 | 
					    {% include 'hosting/includes/_navbar_transparent.html' %}
 | 
				
			||||||
{% endblock navbar %}
 | 
					{% endblock navbar %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block content %}
 | 
					{% block content %}
 | 
				
			||||||
<div class="auth-container">
 | 
					    <div class="auth-container">
 | 
				
			||||||
        <div class="auth-bg"></div>
 | 
					        <div class="auth-bg"></div>
 | 
				
			||||||
        <div class="auth-center">
 | 
					        <div class="auth-center">
 | 
				
			||||||
        <div class="auth-title">
 | 
					 | 
				
			||||||
            <h2>{% trans "Your VM hosted in Switzerland"%}</h2>
 | 
					 | 
				
			||||||
        </div>
 | 
					 | 
				
			||||||
            <div class="auth-content">
 | 
					            <div class="auth-content">
 | 
				
			||||||
            <div class="intro-message auth-box">
 | 
					                <div class="auth-box">
 | 
				
			||||||
                <h2 class="section-heading">{% trans "Login"%}</h2>
 | 
					                    <h1 class="section-heading allcaps">{% trans "Log in" %}</h1>
 | 
				
			||||||
                    {% include 'hosting/includes/_messages.html' %}
 | 
					                    {% include 'hosting/includes/_messages.html' %}
 | 
				
			||||||
                    <form action="{% url 'hosting:login' %}" method="post" class="form" novalidated>
 | 
					                    <form action="{% url 'hosting:login' %}" method="post" class="form" novalidated>
 | 
				
			||||||
                        {% csrf_token %}
 | 
					                        {% csrf_token %}
 | 
				
			||||||
| 
						 | 
					@ -23,27 +19,25 @@
 | 
				
			||||||
                            {% bootstrap_field field show_label=False type='fields'%}
 | 
					                            {% bootstrap_field field show_label=False type='fields'%}
 | 
				
			||||||
                        {% endfor %}
 | 
					                        {% endfor %}
 | 
				
			||||||
                        <p class="red">{{form.non_field_errors|striptags}}</p>
 | 
					                        <p class="red">{{form.non_field_errors|striptags}}</p>
 | 
				
			||||||
                    {% buttons %}
 | 
					                        <div class="text-center">
 | 
				
			||||||
                        <button type="submit" class="btn btn-block btn-success">
 | 
					                            <button type="submit" class="btn choice-btn">
 | 
				
			||||||
                            {% trans "Login"%}
 | 
					                                {% trans "Log in" %}
 | 
				
			||||||
                            </button>
 | 
					                            </button>
 | 
				
			||||||
                    {% endbuttons %}
 | 
					                        </div>
 | 
				
			||||||
    					<input type='hidden' name='next' value='{{request.GET.next}}'/>
 | 
					    					<input type='hidden' name='next' value='{{request.GET.next}}'/>
 | 
				
			||||||
                    </form>
 | 
					                    </form>
 | 
				
			||||||
                    <div class="auth-footer">
 | 
					                    <div class="auth-footer">
 | 
				
			||||||
                    <div class="text">
 | 
					                        <div>
 | 
				
			||||||
                        <span>{% trans "Don't have an account yet ? "%}</span>
 | 
					                            {% trans "Don't have an account yet ?" %} 
 | 
				
			||||||
 | 
					                            <a class="" href="{% url 'hosting:signup' %}">{% trans "Sign up" %}</a>
 | 
				
			||||||
 | 
					                        </div>
 | 
				
			||||||
 | 
					                        <div>
 | 
				
			||||||
 | 
					                            or <a href="{% url 'hosting:reset_password' %}">{% trans "Forgot your password ?" %}</a><br>
 | 
				
			||||||
 | 
					                            or <a href="{% url 'hosting:resend_activation_link' %}">{% trans "Resend activation link" %}</a>
 | 
				
			||||||
                        </div>
 | 
					                        </div>
 | 
				
			||||||
                    <div class="links">
 | 
					 | 
				
			||||||
                        <a class="unlink" href="{% url 'hosting:signup' %}">{% trans "Sign up"%}</a>
 | 
					 | 
				
			||||||
                        <span class="text"> or </span>
 | 
					 | 
				
			||||||
                        <a class="unlink" href="{% url 'hosting:reset_password' %}">{% trans "Forgot your password ? "%}</a>
 | 
					 | 
				
			||||||
                        <span class="text"> or </span><br/>
 | 
					 | 
				
			||||||
                        <a class="unlink" href="{% url 'hosting:resend_activation_link' %}">{% trans "Resend activation link"%}</a>
 | 
					 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
</div>
 | 
					 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,37 +1,40 @@
 | 
				
			||||||
{% extends "hosting/base_short.html" %}
 | 
					{% extends "hosting/base_short.html" %}
 | 
				
			||||||
{% load staticfiles bootstrap3%}
 | 
					{% load staticfiles bootstrap3 i18n %}
 | 
				
			||||||
{% load i18n %}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block navbar %}
 | 
					{% block navbar %}
 | 
				
			||||||
    {% include 'hosting/includes/_navbar_transparent.html' %}
 | 
					    {% include 'hosting/includes/_navbar_transparent.html' %}
 | 
				
			||||||
{% endblock navbar %}
 | 
					{% endblock navbar %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
{% block content %}
 | 
					{% block content %}
 | 
				
			||||||
<div class="auth-container">
 | 
					    <div class="auth-container">
 | 
				
			||||||
       <div class="auth-bg"></div>
 | 
					       <div class="auth-bg"></div>
 | 
				
			||||||
        <div class="auth-center">
 | 
					        <div class="auth-center">
 | 
				
			||||||
            <div class="auth-title">
 | 
					            <div class="auth-content wide">
 | 
				
			||||||
                <h2>{% trans "Your VM hosted in Switzerland"%}</h2>
 | 
					                <div class="auth-box sign-up">
 | 
				
			||||||
            </div>
 | 
					                    <h1 class="section-heading">{% trans "Resend activation link" %}</h1>
 | 
				
			||||||
            <div class="auth-content">
 | 
					 | 
				
			||||||
                <div class="intro-message auth-box sign-up">
 | 
					 | 
				
			||||||
                    <h2  class="section-heading">{% trans "Resend activation link"%}</h2>
 | 
					 | 
				
			||||||
                    {% include 'hosting/includes/_messages.html' %}
 | 
					                    {% include 'hosting/includes/_messages.html' %}
 | 
				
			||||||
                    <form action="{% url 'hosting:resend_activation_link' %}" method="post" class="form" novalidate>
 | 
					                    <form action="{% url 'hosting:resend_activation_link' %}" method="post" class="form" novalidate>
 | 
				
			||||||
                        {% csrf_token %}
 | 
					                        {% csrf_token %}
 | 
				
			||||||
                        {% for field in form %}
 | 
					                        {% for field in form %}
 | 
				
			||||||
                            {% bootstrap_field field show_label=False %}
 | 
					                            {% bootstrap_field field show_label=False %}
 | 
				
			||||||
                        {% endfor %}
 | 
					                        {% endfor %}
 | 
				
			||||||
                        {% buttons %}
 | 
					                        <div class="text-center">
 | 
				
			||||||
                            <button type="submit" class="btn btn-block btn-success">
 | 
					                            <button type="submit" class="btn choice-btn">
 | 
				
			||||||
                                {% trans "Submit"%}
 | 
					                                {% trans "Submit"%}
 | 
				
			||||||
                            </button>
 | 
					                            </button>
 | 
				
			||||||
                        {% endbuttons %}
 | 
					                        </div>
 | 
				
			||||||
                    </form>
 | 
					                    </form>
 | 
				
			||||||
 | 
					                    <div class="auth-footer">
 | 
				
			||||||
 | 
					                        <div>
 | 
				
			||||||
 | 
					                            {% trans "Don't have an account yet ?" %} 
 | 
				
			||||||
 | 
					                            <a class="" href="{% url 'hosting:signup' %}">{% trans "Sign up" %}</a>
 | 
				
			||||||
 | 
					                        </div>
 | 
				
			||||||
 | 
					                        <div>
 | 
				
			||||||
 | 
					                            or <a href="{% url 'hosting:reset_password' %}">{% trans "Forgot your password ?" %}</a>
 | 
				
			||||||
 | 
					                        </div>
 | 
				
			||||||
 | 
					                    </div>
 | 
				
			||||||
 | 
					                </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
</div>
 | 
					 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,44 +1,37 @@
 | 
				
			||||||
{% extends "hosting/base_short.html" %}
 | 
					{% extends "hosting/base_short.html" %}
 | 
				
			||||||
{% load staticfiles bootstrap3%}
 | 
					{% load i18n staticfiles bootstrap3%}
 | 
				
			||||||
{% load i18n %}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block navbar %}
 | 
					{% block navbar %}
 | 
				
			||||||
    {% include 'hosting/includes/_navbar_transparent.html' %}
 | 
					    {% include 'hosting/includes/_navbar_transparent.html' %}
 | 
				
			||||||
{% endblock navbar %}
 | 
					{% endblock navbar %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
{% block content %}
 | 
					{% block content %}
 | 
				
			||||||
<div class="auth-container">
 | 
					    <div class="auth-container">
 | 
				
			||||||
        <div class="auth-bg"></div>
 | 
					        <div class="auth-bg"></div>
 | 
				
			||||||
        <div class="auth-center">
 | 
					        <div class="auth-center">
 | 
				
			||||||
            <div class="auth-title">
 | 
					 | 
				
			||||||
                <h2>{% trans "Your VM hosted in Switzerland"%}</h2>
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
            <div class="auth-content">
 | 
					            <div class="auth-content">
 | 
				
			||||||
                <div class="intro-message auth-box sign-up">
 | 
					                <div class="auth-box sign-up">
 | 
				
			||||||
                    <h2  class="section-heading">{% trans "Reset your password"%}</h2>
 | 
					                    <h1 class="section-heading">{% trans "Password reset" %}</h1>
 | 
				
			||||||
                    {% include 'hosting/includes/_messages.html' %}
 | 
					                    {% include 'hosting/includes/_messages.html' %}
 | 
				
			||||||
                    <form action="{% url 'hosting:reset_password' %}" method="post" class="form" novalidate>
 | 
					                    <form action="{% url 'hosting:reset_password' %}" method="post" class="form" novalidate>
 | 
				
			||||||
                        {% csrf_token %}
 | 
					                        {% csrf_token %}
 | 
				
			||||||
                        {% for field in form %}
 | 
					                        {% for field in form %}
 | 
				
			||||||
                            {% bootstrap_field field show_label=False %}
 | 
					                            {% bootstrap_field field show_label=False %}
 | 
				
			||||||
                        {% endfor %}
 | 
					                        {% endfor %}
 | 
				
			||||||
                        {% buttons %}
 | 
					                        <div class="text-center">
 | 
				
			||||||
                            <button type="submit" class="btn btn-block btn-success">
 | 
					                            <button type="submit" class="btn choice-btn">
 | 
				
			||||||
                                {% trans "Reset"%}
 | 
					                                {% trans "Reset" %}
 | 
				
			||||||
                            </button>
 | 
					                            </button>
 | 
				
			||||||
                        {% endbuttons %}
 | 
					                        </div>
 | 
				
			||||||
                    </form>
 | 
					                    </form>
 | 
				
			||||||
                    <div class="auth-footer">
 | 
					                    <div class="auth-footer">
 | 
				
			||||||
                        <div class="text">
 | 
					                        <div>
 | 
				
			||||||
                            <span>{% trans "Already have an account ?"%}</span>
 | 
					                            <span>{% trans "Already have an account ?" %}</span> 
 | 
				
			||||||
                        </div>
 | 
					                            <a href="{% url 'hosting:login' %}">{% trans "Login" %}</a>
 | 
				
			||||||
                        <div class="links">
 | 
					                        </div>
 | 
				
			||||||
                           <a class="unlink" href="{% url 'hosting:login' %}">{% trans "Login"%}</a>
 | 
					 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
</div>
 | 
					 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,37 +6,32 @@
 | 
				
			||||||
{% endblock navbar %}
 | 
					{% endblock navbar %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block content %}
 | 
					{% block content %}
 | 
				
			||||||
<div class="auth-container auth-signup">
 | 
					    <div class="auth-container auth-signup">
 | 
				
			||||||
        <div class="auth-bg"></div>
 | 
					        <div class="auth-bg"></div>
 | 
				
			||||||
        <div class="auth-center ">
 | 
					        <div class="auth-center ">
 | 
				
			||||||
        <div class="auth-title">
 | 
					 | 
				
			||||||
            <h2>{% trans "Your VM hosted in Switzerland"%}</h2>
 | 
					 | 
				
			||||||
        </div>
 | 
					 | 
				
			||||||
            <div class="auth-content">
 | 
					            <div class="auth-content">
 | 
				
			||||||
            <div class="intro-message auth-box sign-up">
 | 
					                <div class="auth-box sign-up">
 | 
				
			||||||
                <h2  class="section-heading">{% trans "Sign up"%}</h2>
 | 
					                    <h1 class="section-heading allcaps">{% trans "Sign up" %}</h1>
 | 
				
			||||||
                    {% include 'hosting/includes/_messages.html' %}
 | 
					                    {% include 'hosting/includes/_messages.html' %}
 | 
				
			||||||
                    <form action="{% url 'hosting:signup' %}" method="post" class="form" novalidate>
 | 
					                    <form action="{% url 'hosting:signup' %}" method="post" class="form" novalidate>
 | 
				
			||||||
                        {% csrf_token %}
 | 
					                        {% csrf_token %}
 | 
				
			||||||
                        {% for field in form %}
 | 
					                        {% for field in form %}
 | 
				
			||||||
                            {% bootstrap_field field show_label=False %}
 | 
					                            {% bootstrap_field field show_label=False %}
 | 
				
			||||||
                        {% endfor %}
 | 
					                        {% endfor %}
 | 
				
			||||||
                    {% buttons %}
 | 
					                        <div class="text-center">
 | 
				
			||||||
                        <button type="submit" class="btn btn-block btn-info">
 | 
					                            <button type="submit" class="btn choice-btn">
 | 
				
			||||||
                            {% trans "Sign up"%}
 | 
					                                {% trans "Sign up" %}
 | 
				
			||||||
                            </button>
 | 
					                            </button>
 | 
				
			||||||
                    {% endbuttons %}
 | 
					                        </div>
 | 
				
			||||||
                    </form>
 | 
					                    </form>
 | 
				
			||||||
                    <div class="auth-footer">
 | 
					                    <div class="auth-footer">
 | 
				
			||||||
                    <div class="text">
 | 
					                        <div>
 | 
				
			||||||
                        <span>{% trans "Already have an account ?"%}</span>
 | 
					                            <span>{% trans "Already have an account ?" %}</span> 
 | 
				
			||||||
                    </div>
 | 
					                            <a href="{% url 'hosting:login' %}">{% trans "Login" %}</a>
 | 
				
			||||||
                    <div class="links">
 | 
					                        </div>
 | 
				
			||||||
                       <a class="unlink" href="{% url 'hosting:login' %}">{% trans "Login"%}</a>
 | 
					 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
             </div>
 | 
					             </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
</div>
 | 
					 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,14 +6,10 @@
 | 
				
			||||||
{% endblock navbar %}
 | 
					{% endblock navbar %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block content %}
 | 
					{% block content %}
 | 
				
			||||||
<div class="auth-container">
 | 
					    <div class="auth-container">
 | 
				
			||||||
        <div class="auth-bg"></div>
 | 
					        <div class="auth-bg"></div>
 | 
				
			||||||
        <div class="auth-center">
 | 
					        <div class="auth-center">
 | 
				
			||||||
            <div class="auth-title">
 | 
					            <div class="auth-content wide">
 | 
				
			||||||
                <h2>{% trans "Your VM hosted in Switzerland"%}</h2>
 | 
					 | 
				
			||||||
                {% include  'hosting/includes/_messages.html' %}
 | 
					 | 
				
			||||||
            </div>
 | 
					 | 
				
			||||||
            <div class="auth-content">
 | 
					 | 
				
			||||||
                <div class="intro-message auth-box sign-up">
 | 
					                <div class="intro-message auth-box sign-up">
 | 
				
			||||||
                    <h2 class="section-heading">{{section_title}}</h2>
 | 
					                    <h2 class="section-heading">{{section_title}}</h2>
 | 
				
			||||||
                    <div class="sign-up-message">
 | 
					                    <div class="sign-up-message">
 | 
				
			||||||
| 
						 | 
					@ -22,5 +18,5 @@
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
</div>
 | 
					    </div>
 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -795,7 +795,7 @@ msgstr "Es wurde eine E-Mail mit dem Aktivierungslink an Dich gesendet."
 | 
				
			||||||
msgid "Account Activation"
 | 
					msgid "Account Activation"
 | 
				
			||||||
msgstr "Accountaktivierung"
 | 
					msgstr "Accountaktivierung"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msgid "The link to reset your email has been sent to your email"
 | 
					msgid "The link to reset your password has been sent to your email"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
"Der Link zum Zurücksetzen deines Passwortes wurde an deine E-Mail gesendet"
 | 
					"Der Link zum Zurücksetzen deines Passwortes wurde an deine E-Mail gesendet"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -104,7 +104,7 @@ class ResendActivationLinkViewMixin(FormView):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class PasswordResetViewMixin(FormView):
 | 
					class PasswordResetViewMixin(FormView):
 | 
				
			||||||
    success_message = _(
 | 
					    success_message = _(
 | 
				
			||||||
        "The link to reset your email has been sent to your email")
 | 
					        "The link to reset your password has been sent to your email")
 | 
				
			||||||
    site = ''
 | 
					    site = ''
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def test_generate_email_context(self, user):
 | 
					    def test_generate_email_context(self, user):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue