diff --git a/Site5/App_GlobalResources/Pages.Init.resx b/Site5/App_GlobalResources/Pages.Public.resx similarity index 73% rename from Site5/App_GlobalResources/Pages.Init.resx rename to Site5/App_GlobalResources/Pages.Public.resx index 4f567d1b..9ee09648 100644 --- a/Site5/App_GlobalResources/Pages.Init.resx +++ b/Site5/App_GlobalResources/Pages.Public.resx @@ -112,27 +112,65 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - No other actions are available until setup is completed. + + Your login (your mail) - - Welcome to Swarmops! This is what the interface looks like, but it's not active yet - first, we'll go through some steps to set up your installation. You'll be up and running shortly. - Info box on database setup screen + + Choose a password - - Complete setup. + + Repeat that password - - Systems Administrator - Displayed in lieu of logged-in-username + + Signing up for {0} + The {0} is the organization name - - No organizations yet - Displayed in lieu of organization name + + Welcome! + + + A short introduction + + + About you + + + Tell us a little about yourself? + + + Create logon + + + Pick a password + + + Activity 1 + + + How much to you wish to engage? + + + Activity 2 + + + What would you like to engage in? + + + Complete + + + All done. Let's login! + + + Welcome to {0} + The {0} is the organization name + + + Your name \ No newline at end of file diff --git a/Site5/Pages/v5/Public/Signup.aspx b/Site5/Pages/v5/Public/Signup.aspx index 05dd321e..c975c24b 100644 --- a/Site5/Pages/v5/Public/Signup.aspx +++ b/Site5/Pages/v5/Public/Signup.aspx @@ -63,13 +63,20 @@ overflow: initial !important; } - input { + input, select { width: 200px; + font-size: 16px; + } + + + .entryFieldsAdmin, .entryLabelsAdmin { + font-size: 16px; } .entryLabelsAdmin { width: 236px; + font-weight: 300; } @@ -130,8 +137,8 @@ function AnimatePostalCodeLength() { if (postalCodeLength > 0) { - var postalTargetLength = postalCodeLength * 8 - 5; - var cityTargetLength = 175 - 8 * postalCodeLength; + var postalTargetLength = postalCodeLength * 10 - 2; + var cityTargetLength = 160 - 10 * postalCodeLength; $('#<%= TextPostal.ClientID %>').animate({ width: postalTargetLength + "px" }); $('#<%= TextCity.ClientID %>').animate({ width: cityTargetLength + "px" }); @@ -300,10 +307,14 @@ isValid = true; // Blah - $('#<%= TextName.ClientID %>').focus(); + setTimeout(function() { $('#<%= TextName.ClientID %>').focus(); }, 250); // after 250ms, set focus to name field } else if (stepNumber == 2) { isValid = ValidatePersonFields(); + if (isValid) { + $('#spanMailLoginKey').text($('#<%=this.TextMail.ClientID%>').val()); + setTimeout(function() { $('#<%= TextPassword1.ClientID %>').focus(); }, 250); // after 250ms, set focus to pwd1 field + } } else if (stepNumber == 3) { isValid = true; @@ -352,7 +363,7 @@
- SIGNING UP FOR <%= Organization.Name.ToUpperInvariant() %> +
@@ -366,48 +377,48 @@
  • - Welcome!
    - A short introduction +
    +
  • - About you
    - Tell us a little about yourself +
    +
  • - Create logon
    - Pick a password +
    +
  • - Activity 1
    - How much do you wish to engage? +
    +
  • - Activity 2
    - What would you like to engage in? +
    +
  • - Complete
    - All done. Let's login! +
    +
  • -

    Welcome to <%= Organization.Name %>

    +

    This is the organization's custom welcome text. It has not yet been written; it is set in Admin / Org Settings.

    @@ -430,15 +441,25 @@ ​
    ​
    ​
    -
     
    XX–
    +
     
    XX–
    ... 
    ​
    ​
    -
    -

    Your Logon

    +

    Your logon

    +

    Please select a password to log on to Swarmops (this system). You will be able to replace this with a Twitter, Facebook, or BitID login for convenience later.

    + +
    + ...​
    + ​
    + ​
    +

    Creating the first user

    diff --git a/Site5/Pages/v5/Public/Signup.aspx.cs b/Site5/Pages/v5/Public/Signup.aspx.cs index 1378e049..4a34ffec 100644 --- a/Site5/Pages/v5/Public/Signup.aspx.cs +++ b/Site5/Pages/v5/Public/Signup.aspx.cs @@ -82,6 +82,22 @@ namespace Swarmops.Frontend.Pages.Public this.LiteralErrorStreet.Text = Resources.Pages.Swarm.AddPerson_ErrorStreet; this.LiteralErrorDate.Text = Resources.Pages.Swarm.AddPerson_ErrorDate; + this.LabelWelcomeHeader.Text = String.Format (Resources.Pages.Public.Signup_Welcome, Organization.Name); + this.LabelHeader.Text = String.Format(Resources.Pages.Public.Signup_SigningUp, Organization.Name).ToUpperInvariant(); + + this.LabelStep1Header.Text = Resources.Pages.Public.Signup_Step1Header; + this.LabelStep1Text.Text = Resources.Pages.Public.Signup_Step1Text; + this.LabelStep2Header.Text = Resources.Pages.Public.Signup_Step2Header; + this.LabelStep2Text.Text = Resources.Pages.Public.Signup_Step2Text; + this.LabelStep3Header.Text = Resources.Pages.Public.Signup_Step3Header; + this.LabelStep3Text.Text = Resources.Pages.Public.Signup_Step3Text; + this.LabelStep4Header.Text = Resources.Pages.Public.Signup_Step4Header; + this.LabelStep4Text.Text = Resources.Pages.Public.Signup_Step4Text; + this.LabelStep5Header.Text = Resources.Pages.Public.Signup_Step5Header; + this.LabelStep5Text.Text = Resources.Pages.Public.Signup_Step5Text; + this.LabelStep6Header.Text = Resources.Pages.Public.Signup_Step6Header; + this.LabelStep6Text.Text = Resources.Pages.Public.Signup_Step6Text; + this.LabelName.Text = Resources.Global.Global_Name; this.LabelCountry.Text = Resources.Global.Global_Country; this.LabelMail.Text = Resources.Global.Global_Mail; @@ -94,6 +110,12 @@ namespace Swarmops.Frontend.Pages.Public this.LabelDateOfBirth.Text = Resources.Global.Global_DateOfBirth; this.LabelLegalGender.Text = Resources.Pages.Swarm.AddPerson_LegalGender; + + + this.LabelLoginKey.Text = Resources.Pages.Public.Signup_MailLoginKey; + this.LabelPassword1.Text = Resources.Pages.Public.Signup_Password1; + this.LabelPassword2.Text = Resources.Pages.Public.Signup_Password2; + this.TextDateOfBirth.Attributes["placeholder"] = Global.Global_DateFormatShortReadable; this.TextName.Attributes["placeholder"] = "Joe Smith"; this.TextMail.Attributes["placeholder"] = "joe@example.com";