diff options
author | matthewsotoudeh <matthewsot@outlook.com> | 2015-04-26 11:34:15 -0700 |
---|---|---|
committer | matthewsotoudeh <matthewsot@outlook.com> | 2015-04-26 11:34:15 -0700 |
commit | e89e7a00e0436ebd04fd0a16ee46f08afae6bc62 (patch) | |
tree | 51fabfeb36715369adcc88a76f2662f565aaab2f | |
parent | 686778307601b2ca40eaa6d1c18b10a2769bb62d (diff) |
added a migration for all the DB changes
5 files changed, 292 insertions, 87 deletions
diff --git a/LHSCamp/LHSCamp/LHSCamp.csproj b/LHSCamp/LHSCamp/LHSCamp.csproj index 5703288..af558ee 100644 --- a/LHSCamp/LHSCamp/LHSCamp.csproj +++ b/LHSCamp/LHSCamp/LHSCamp.csproj @@ -247,10 +247,13 @@ <Compile Include="Migrations\201504010544026_viewcount.Designer.cs"> <DependentUpon>201504010544026_viewcount.cs</DependentUpon> </Compile> + <Compile Include="Migrations\201504261833454_TotalReorganization.cs" /> + <Compile Include="Migrations\201504261833454_TotalReorganization.Designer.cs"> + <DependentUpon>201504261833454_TotalReorganization.cs</DependentUpon> + </Compile> <Compile Include="Migrations\Configuration.cs" /> <Compile Include="Models\AccountAPIModels.cs" /> <Compile Include="Models\AccountViewModels.cs" /> - <Compile Include="Models\CandidateAPIModels.cs" /> <Compile Include="Models\CandidatesViewModel.cs" /> <Compile Include="Models\CandidateViewModel.cs" /> <Compile Include="Models\Database.cs" /> @@ -359,7 +362,6 @@ <Content Include="Views\Web.config" /> <Content Include="Views\_ViewStart.cshtml" /> <Content Include="Views\Shared\Error.cshtml" /> - <Content Include="Views\Default\Index.cshtml" /> <Content Include="Content\Scripts\jQuery\jquery-1.10.2.min.map" /> <Content Include="Views\Account\ConfirmUser.cshtml" /> <Content Include="Views\Account\Login.cshtml" /> @@ -420,6 +422,9 @@ <EmbeddedResource Include="Migrations\201504010544026_viewcount.resx"> <DependentUpon>201504010544026_viewcount.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="Migrations\201504261833454_TotalReorganization.resx"> + <DependentUpon>201504261833454_TotalReorganization.cs</DependentUpon> + </EmbeddedResource> </ItemGroup> <ItemGroup> <Content Include="packages.config" /> @@ -429,7 +434,6 @@ </ItemGroup> <ItemGroup> <Folder Include="Content\Images\Candidates\" /> - <Folder Include="Views\Home\" /> </ItemGroup> <PropertyGroup> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> diff --git a/LHSCamp/LHSCamp/Migrations/201504261833454_TotalReorganization.Designer.cs b/LHSCamp/LHSCamp/Migrations/201504261833454_TotalReorganization.Designer.cs new file mode 100644 index 0000000..075df4f --- /dev/null +++ b/LHSCamp/LHSCamp/Migrations/201504261833454_TotalReorganization.Designer.cs @@ -0,0 +1,29 @@ +// <auto-generated /> +namespace LHSCamp.Migrations +{ + using System.CodeDom.Compiler; + using System.Data.Entity.Migrations; + using System.Data.Entity.Migrations.Infrastructure; + using System.Resources; + + [GeneratedCode("EntityFramework.Migrations", "6.1.0-alpha1-21218")] + public sealed partial class TotalReorganization : IMigrationMetadata + { + private readonly ResourceManager Resources = new ResourceManager(typeof(TotalReorganization)); + + string IMigrationMetadata.Id + { + get { return "201504261833454_TotalReorganization"; } + } + + string IMigrationMetadata.Source + { + get { return null; } + } + + string IMigrationMetadata.Target + { + get { return Resources.GetString("Target"); } + } + } +} diff --git a/LHSCamp/LHSCamp/Migrations/201504261833454_TotalReorganization.cs b/LHSCamp/LHSCamp/Migrations/201504261833454_TotalReorganization.cs new file mode 100644 index 0000000..c74d614 --- /dev/null +++ b/LHSCamp/LHSCamp/Migrations/201504261833454_TotalReorganization.cs @@ -0,0 +1,130 @@ +namespace LHSCamp.Migrations +{ + using System; + using System.Data.Entity.Migrations; + + public partial class TotalReorganization : DbMigration + { + public override void Up() + { + RenameTable(name: "dbo.Candidates", newName: "AspNetUsers"); + DropForeignKey("dbo.Candidates", "Owner_Id", "dbo.AspNetUsers"); + DropForeignKey("dbo.UserCandidates", "User_Id", "dbo.AspNetUsers"); + DropForeignKey("dbo.UserCandidates", "Candidate_Id", "dbo.Candidates"); + DropForeignKey("dbo.AspNetUserClaims", "UserId", "dbo.AspNetUsers"); + DropForeignKey("dbo.AspNetUserLogins", "UserId", "dbo.AspNetUsers"); + DropForeignKey("dbo.AspNetUserRoles", "UserId", "dbo.AspNetUsers"); + DropForeignKey("dbo.ExternalLinks", "Candidate_Id", "dbo.AspNetUsers"); + DropIndex("dbo.Candidates", new[] { "Owner_Id" }); + DropIndex("dbo.UserCandidates", new[] { "User_Id" }); + DropIndex("dbo.UserCandidates", new[] { "Candidate_Id" }); + DropIndex("dbo.AspNetUserClaims", new[] { "UserId" }); + DropIndex("dbo.AspNetUserLogins", new[] { "UserId" }); + DropIndex("dbo.AspNetUserRoles", new[] { "UserId" }); + DropIndex("dbo.ExternalLinks", new[] { "Candidate_Id" }); + DropPrimaryKey("dbo.Candidates"); + CreateTable( + "dbo.ExternalLinks", + c => new + { + Id = c.Int(nullable: false, identity: true), + Label = c.String(), + Link = c.String(), + Candidate_Id = c.String(maxLength: 128), + }) + .PrimaryKey(t => t.Id) + .ForeignKey("dbo.AspNetUsers", t => t.Candidate_Id) + .Index(t => t.Candidate_Id); + + AddColumn("dbo.AspNetUsers", "GraduationYear", c => c.Int(nullable: false)); + AddColumn("dbo.AspNetUsers", "ProfilePicture", c => c.String()); + AddColumn("dbo.AspNetUsers", "Platform", c => c.String()); + AddColumn("dbo.AspNetUsers", "UserName", c => c.String(nullable: false)); + AddColumn("dbo.AspNetUsers", "Email", c => c.String()); + AddColumn("dbo.AspNetUsers", "PasswordHash", c => c.String()); + AddColumn("dbo.AspNetUsers", "SecurityStamp", c => c.String()); + AddColumn("dbo.AspNetUsers", "IsConfirmed", c => c.Boolean(nullable: false)); + AlterColumn("dbo.AspNetUsers", "Id", c => c.String(nullable: false, maxLength: 128)); + AddPrimaryKey("dbo.AspNetUsers", "Id"); + CreateIndex("dbo.AspNetUserClaims", "UserId"); + CreateIndex("dbo.AspNetUserLogins", "UserId"); + CreateIndex("dbo.AspNetUserRoles", "UserId"); + AddForeignKey("dbo.AspNetUserClaims", "UserId", "dbo.AspNetUsers", "Id", cascadeDelete: true); + AddForeignKey("dbo.AspNetUserLogins", "UserId", "dbo.AspNetUsers", "Id", cascadeDelete: true); + AddForeignKey("dbo.AspNetUserRoles", "UserId", "dbo.AspNetUsers", "Id", cascadeDelete: true); + DropColumn("dbo.AspNetUsers", "ProfilePic"); + DropColumn("dbo.AspNetUsers", "Reasons"); + DropColumn("dbo.AspNetUsers", "Facebook"); + DropColumn("dbo.AspNetUsers", "Owner_Id"); + DropTable("dbo.AspNetUsers"); + DropTable("dbo.UserCandidates"); + } + + public override void Down() + { + CreateTable( + "dbo.UserCandidates", + c => new + { + User_Id = c.String(nullable: false, maxLength: 128), + Candidate_Id = c.Int(nullable: false), + }) + .PrimaryKey(t => new { t.User_Id, t.Candidate_Id }); + + CreateTable( + "dbo.AspNetUsers", + c => new + { + Id = c.String(nullable: false, maxLength: 128), + Year = c.Int(nullable: false), + SignupDate = c.DateTime(), + UserName = c.String(nullable: false), + Email = c.String(), + PasswordHash = c.String(), + SecurityStamp = c.String(), + IsConfirmed = c.Boolean(nullable: false), + }) + .PrimaryKey(t => t.Id); + + AddColumn("dbo.AspNetUsers", "Owner_Id", c => c.String(nullable: false, maxLength: 128)); + AddColumn("dbo.AspNetUsers", "Facebook", c => c.String()); + AddColumn("dbo.AspNetUsers", "Reasons", c => c.String()); + AddColumn("dbo.AspNetUsers", "ProfilePic", c => c.String()); + DropForeignKey("dbo.AspNetUserRoles", "UserId", "dbo.AspNetUsers"); + DropForeignKey("dbo.AspNetUserLogins", "UserId", "dbo.AspNetUsers"); + DropForeignKey("dbo.ExternalLinks", "Candidate_Id", "dbo.AspNetUsers"); + DropForeignKey("dbo.AspNetUserClaims", "UserId", "dbo.AspNetUsers"); + DropIndex("dbo.AspNetUserRoles", new[] { "UserId" }); + DropIndex("dbo.AspNetUserLogins", new[] { "UserId" }); + DropIndex("dbo.ExternalLinks", new[] { "Candidate_Id" }); + DropIndex("dbo.AspNetUserClaims", new[] { "UserId" }); + DropPrimaryKey("dbo.AspNetUsers"); + AlterColumn("dbo.AspNetUsers", "Id", c => c.Int(nullable: false, identity: true)); + DropColumn("dbo.AspNetUsers", "IsConfirmed"); + DropColumn("dbo.AspNetUsers", "SecurityStamp"); + DropColumn("dbo.AspNetUsers", "PasswordHash"); + DropColumn("dbo.AspNetUsers", "Email"); + DropColumn("dbo.AspNetUsers", "UserName"); + DropColumn("dbo.AspNetUsers", "Platform"); + DropColumn("dbo.AspNetUsers", "ProfilePicture"); + DropColumn("dbo.AspNetUsers", "GraduationYear"); + DropTable("dbo.ExternalLinks"); + AddPrimaryKey("dbo.Candidates", "Id"); + CreateIndex("dbo.ExternalLinks", "Candidate_Id"); + CreateIndex("dbo.AspNetUserRoles", "UserId"); + CreateIndex("dbo.AspNetUserLogins", "UserId"); + CreateIndex("dbo.AspNetUserClaims", "UserId"); + CreateIndex("dbo.UserCandidates", "Candidate_Id"); + CreateIndex("dbo.UserCandidates", "User_Id"); + CreateIndex("dbo.Candidates", "Owner_Id"); + AddForeignKey("dbo.ExternalLinks", "Candidate_Id", "dbo.AspNetUsers", "Id"); + AddForeignKey("dbo.AspNetUserRoles", "UserId", "dbo.AspNetUsers", "Id", cascadeDelete: true); + AddForeignKey("dbo.AspNetUserLogins", "UserId", "dbo.AspNetUsers", "Id", cascadeDelete: true); + AddForeignKey("dbo.AspNetUserClaims", "UserId", "dbo.AspNetUsers", "Id", cascadeDelete: true); + AddForeignKey("dbo.UserCandidates", "Candidate_Id", "dbo.Candidates", "Id", cascadeDelete: true); + AddForeignKey("dbo.UserCandidates", "User_Id", "dbo.AspNetUsers", "Id", cascadeDelete: true); + AddForeignKey("dbo.Candidates", "Owner_Id", "dbo.AspNetUsers", "Id"); + RenameTable(name: "dbo.AspNetUsers", newName: "Candidates"); + } + } +} diff --git a/LHSCamp/LHSCamp/Migrations/201504261833454_TotalReorganization.resx b/LHSCamp/LHSCamp/Migrations/201504261833454_TotalReorganization.resx new file mode 100644 index 0000000..1cc2d9f --- /dev/null +++ b/LHSCamp/LHSCamp/Migrations/201504261833454_TotalReorganization.resx @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="Target" xml:space="preserve"> + <value>H4sIAAAAAAAEAO1d227kNhJ9X2D/QdDT7sLp9mUTzA7aCTztcWKsb5ieBNinAS2x28JIVK/Eduxv24f9pPxCSImSeJfUurQcBAMMpkWyqlhVJA+LLM5v//v/4oeXKHSeYZIGMTp3T2bHrgORF/sB2py7O7z+5p37w/d//cviox+9OL8U9c5oPdISpefuE8bb9/N56j3BCKSzKPCSOI3XeObF0Rz48fz0+Phf85OTOSQkXELLcRafdggHEcx+kJ/LGHlwi3cgvI19GKbsOylZZVSdOxDBdAs8eO7e/LRagmg7y2u6zkUYACLFCoZr1wEIxRhgIuP7n1O4wkmMNqst+QDCz69bSOqtQZhCJvv7qnrTbhyf0m7Mq4YFKW+X4jhqSfDkjOllLjffS7tuqTeiuY9Ew/iV9jrTHtUQxsSqriPzer8ME1pP1u2MtThy2Pej0gGIn9A/R85yF+JdAs8R3OEEhEfOw+4xDLx/w9fP8VeIztEuDHmxiGCkTPhAPj0k8RYm+PUTXDNhr33XmYvt5nLDshnXJu/HNcJnp65zR5iDxxCWVuf6vMJxAn+ECCYAQ/8BYAwTRGnATG8Kd4kXkaVgRrwsU+steLmBaIOfzl3yT9e5Cl6gX3xhAvyMAjK2SCOc7GAdj19ASCv1ymUxr/zC6i038YZ8S15buEvR5E9/UXlRPoM7DDPYYRzmIYFkGl8HScQmsMZ+I7X80300lo1AEB7KsoWQn+IQ2sx6W65NF+n2DuJZ0XCWk7xKCLlf4+TrjKd45DRut4dDnJ08rs/effsd8M+++yc8+3Z859BY6+T0XSNrKQ5ldxL6dw8+Usf1DjwHm8z0En+CuBICyD7BMCtNn4JtjssEe39h1a6SOKK/Rf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9yOaIIVx7n5ctuhHTvl7RiaT6QkU3CaVXKLrhBvmliX0sKb8z0Wai6m9p0GhK8z5EJ4LaNyA6UdS88/AY1FmgQ579HwM9DLQaKEnn3Ya9klg+BM4xxxHerHWFxO1OJuCTs7vZUogXNHe7XpO7h0VmB82L7m0Ia9Oee6OuyWruGTP2lrQ8lTzlKr3hsOnJY2YkW26yvPlE5IOmm2lyUw6ZdDy2T5mOniebz9gywbiXXGIx22i/zOE34Rk158kqv7rTnlFdo2me9WTmG5Zndsic6rHnG9P59WTnm4b505PxqUMBo4N5VGNUdPDMaDULSDaomLdaZjpXuF7Ogc5Pbs9d/5EGAvOtAStU069k+lUutMKgKtJxYKWBJsVL5qHkSiuslBo6jlKler7i9kRhKhbrOOaPkunz2EzMqiFmZFhVMTM1J9DJjLmJRuHIldlZtesfQ8HWDrI6draG/FqZtwixFLZisY6jPVPV1lW2AFu7yurYu2rICz1EQrk2Y1P3VkDNAmO4WqZ9dWA6CeSC3MZHDur2h4a+6182mGq++B6q0A1F9eLZdHPBO1pfmA4Mlyqnmvrdset9jvkWqd7qjTaCybj/b4/gwjTYVCToRT0EPQGNlXWu0TouQKEkUVFFCs3eQgyImsBFgoM18DAp9mCaZsArO4ShB4uP0L9G9zu83WHSZRg9hkLkmoJLG/8sn12UeXG/zTBOH10gYmaWvkcfdkHol3JfacLHBhIUtbKTGGpLTE9kNq8lpbsYNSTE1FeC7c8w2oaEWHqPVuAZmmWr16GoscVlADYJiFJGo2pPfhL386OX738Hx5XWhzFyAAA=</value> + </data> + <data name="DefaultSchema" xml:space="preserve"> + <value>dbo</value> + </data> +</root>
\ No newline at end of file diff --git a/LHSCamp/LHSCamp/Views/Default/Index.cshtml b/LHSCamp/LHSCamp/Views/Default/Index.cshtml deleted file mode 100644 index b057d5a..0000000 --- a/LHSCamp/LHSCamp/Views/Default/Index.cshtml +++ /dev/null @@ -1,84 +0,0 @@ -@{ - ViewBag.Title = "LHSCampaign - Welcome"; - Layout = "~/Views/Shared/_HeroLayout.cshtml"; -} - -@section Styles { - @Styles.Render("~/Content/Styles/Bundles/Prelogin/index.less") -} - -<div class="blue row medium-font railway" style="margin-top:100px;"> - <div class="logo-span large-font"><b>lhs</b>|campaign</div> - <span style="font-size:20px;">taking the pain out of campaign</span> - <br /><br /> - <button class="default-btn blue-btn link" href="~/Account/Register" style="margin-right:5px;">sign up</button> - <button class="default-btn blue-btn link" href="~/Account/Login" style="margin-left:5px;">login</button> - <br /> - <p> - LHS Campaign allows you to mash together two (or more) campaign photos in a matter of seconds to support multiple candidates. - </p> - <p style="margin-bottom:0px;"> - Centralizing all campaign facebook events and information platforms about officer candidates (Submitted by themselves) in a single location, LHS Campaign - <br /> - <b>takes the pain out of campaign</b> - </p> - <img src="~/Content/Images/Default/laptop.png" style="height:400px;margin-top:0px;" /> -</div> - -<div class="white row medium-font railway" style="padding-bottom:50px;"> - <div class="info-box" style="position:absolute;left:10%;top:0px;"> - <h2>Setup.</h2> - <div class="blue info-bubble"> - <img src="~/Content/Images/Default/Bubbles/gear.png" alt="Gear" /> - </div> - <p class="railway-light small-font"> - Whether you're a candidate or voter, signing and setting up with LHS Campaign is easy and quick. - </p> - </div> - - <div class="info-box half-horiz" style="position:absolute;top:0px;"> - <h2>Mash.</h2> - <div class="blue info-bubble"> - <img src="~/Content/Images/Default/Bubbles/check.png" alt="Gear" /> - </div> - <p class="railway-light small-font"> - Select all the candidates you want to support, click a button, organize the pictures, and you have a picture ready to support. - </p> - </div> - - <div class="info-box" style="position:absolute;right:10%;top:0px;"> - <h2>Post.</h2> - <div class="blue info-bubble"> - <img src="~/Content/Images/Default/Bubbles/facebook.png" alt="Gear" /> - </div> - <p class="railway-light small-font"> - Once you've downloaded the picture to your computer, simply set it as your profile picture and you're done. - </p> - </div> - <!-- Spacing --> - <div style="display:block;width:90%;height:550px;"><!--Hey, I do what works ;)--></div> - <!-- Second Row --> - <div class="info-box" style="display:inline-block;margin-right:350px;"> - <h2>Read.</h2> - <div class="blue info-bubble"> - <img src="~/Content/Images/Default/Bubbles/document.png" alt="Gear" /> - </div> - <p class="railway-light small-font"> - Don't know much about the candidates? You can read up each of their descriptions and campaigning summaries. Find out who's the right candidate for you! - </p> - </div> - <div class="info-box half-horiz" style="display:inline-block;position:absolute;padding-left:300px;"> - <h2>Yours truly.</h2> - <div class="blue info-bubble"> - <img src="~/Content/Images/Default/Bubbles/ribbon.png" alt="Ribbon" /> - </div> - <p class="railway-bold small-font"> - LHS Campaign is a small side project started by Matthew Sotoudeh, Adhiv Dhar, and William Shan. We hope you enjoy it! - </p> - </div> -</div> - -<div class="blue row medium-font railway" style="padding-bottom:200px;padding-top:50px;"> - <button class="default-btn blue-btn link" href="~/Account/Register" style="margin-right:5px;">sign up</button> - <button class="default-btn blue-btn link" href="~/Account/Login" style="margin-left:5px;">login</button> -</div>
\ No newline at end of file |