- <%@ Page Language="C#" AutoEventWireup="true" Inherits="preview_dotnet_templates_registration_Form_index" Codebehind="index.aspx.cs" CodeFile="index.aspx.cs" %>
-
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
-
- <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
- <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
- <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
- <!--[if IE 9]> <html class="no-js ie9 oldie" lang="en"> <![endif]-->
- <meta charset="utf-8">
- <!-- Set the viewport width to device width for mobile -->
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <meta name="description" content="Securely encrypt your file.">
- <title>FileCrypt</title>
- <!-- ============ Google fonts ============ -->
- <link href='http://fonts.googleapis.com/css?family=EB+Garamond' rel='stylesheet'
- type='text/css' />
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
- rel='stylesheet' type='text/css' />
- <!-- ============ Add custom CSS here ============ -->
- <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
- <link href="css/style.css" rel="stylesheet" type="text/css" />
- <link href="css/font-awesome.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <form id="form1" runat="server">
- <div id="custom-bootstrap-menu" class="navbar navbar-default " role="navigation">
- <div class="container">
- <div class="navbar-header">
- <a class="navbar-brand" href="#">FileCrypt</a>
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-menubuilder">
- <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span
- class="icon-bar"></span><span class="icon-bar"></span>
- </button>
- </div>
- <div class="collapse navbar-collapse navbar-menubuilder">
- <ul class="nav navbar-nav navbar-right">
- <li><a href="index.aspx">Home</a> </li>
-
- </ul>
- </div>
- </div>
- </div>
- <div class="container">
- <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
- <div id="banner">
- <h1>
- FileCrypt <strong>Upload File</strong> </h1>
-
- </div>
- </div>
- <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
- <div class="registrationform">
- <div class="form-horizontal">
- <fieldset>
- <legend>Registration Form <i class="fa fa-pencil pull-right"></i></legend>
- <div class="form-group">
- <asp:Label ID="Label1" runat="server" Text="Browse" CssClass="col-lg-2 control-label"></asp:Label>
- <div class="col-lg-10">
- <asp:FileUpload ID="FileUpload1" runat="server" Height="28px" Width="391px" CssClass="form-control" />
- <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="FileUpload1" ErrorMessage="You must select a file" ForeColor="Red" Display="Static" Text="." ></asp:RequiredFieldValidator>
- <asp:Label ID="Label3" runat="server" Text=""></asp:Label>
- </div>
- </div>
- <div class="form-group">
-
- <asp:Label ID="Label2" runat="server" Text="Passphrase" CssClass="col-lg-2 control-label"></asp:Label>
- <div class="col-lg-10">
- <asp:TextBox ID="password" runat="server" TextMode="Password" CssClass="form-control" />
- <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="password" ErrorMessage="You must enter a password" ForeColor="Red" Display="Static" Text="." ></asp:RequiredFieldValidator>
- <asp:RegularExpressionValidator ID="RegExp1" runat="server" ErrorMessage="Password must be atleast 8 characters long. Must contain at least one one lower case letter, one upper case letter, one digit and one special character. Valid special characters are – @#$%^&+=" ControlToValidate="password" ValidationExpression="^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=]).*$" ForeColor="Red" Display="Static" Text="." />
- <asp:ValidationSummary runat="server" ID="validationSummary" ShowMessageBox="true" ShowSummary="false" />
- </div>
- </div>
-
-
- <div class="form-group">
-
- <div class="col-lg-10">
- <div class="radio">
- <label>
-
- <asp:RadioButtonList ID="RadioButtonList1" runat="server">
- <asp:ListItem Selected="True">Encryption</asp:ListItem> <asp:ListItem>Decryption</asp:ListItem>
- </asp:RadioButtonList>
-
-
-
- </label>
- </div>
- </div>
- </div>
- <div class="form-group">
-
- <div class="col-lg-10">
-
- </div>
- </div>
- <div class="form-group">
- <div class="col-lg-10 col-lg-offset-2">
- <asp:Button ID="btnSubmit" runat="server" CssClass="btn btn-primary" Text="Submit" OnClick="btnSubmit_Click" />
- <asp:Button ID="btnCancel" runat="server" CssClass="btn btn-warning" Text="Clear" OnClick="btnCancel_Click" CausesValidation="False" />
- <asp:Button ID="download" runat="server" CssClass="btn btn-primary" Text="Download" OnClick="download_Click" Visible="false" />
- </div>
- </div>
- </fieldset>
- </div>
- </div>
- </div>
- </div>
- <script src="js/jquery.js" type="text/javascript"></script>
- <script src="js/bootstrap.min.js" type="text/javascript"></script>
- <script src="js/jquery.backstretch.js" type="text/javascript"></script>
- <script type="text/javascript">
- 'use strict';
-
-
-
-
-
- $.backstretch(
- [
- "img/44.jpg",
- "img/colorful.jpg",
- "img/34.jpg",
- "img/images.jpg"
- ],
-
- {
- duration: 4500,
- fade: 1500
- }
- );
- </script>
- </form>
- </body>
- </html>
Please help me out. Thanks in advance. When I run it, I can only see the navbar.