view > login.pug | LogSyS

/views/login.pug

Login page where we have to enter email and password to get access to the application.

doctype
html
     head
          title LogSys
          <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
          <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
          <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
     body
            .container
               != messages('message'locals)
               if errors
                    each errori in errors
                         div(class="alert alert-danger"#{error.msg} 

            H1 This is Login page, Please enter your email and password to get acess.
            br
            form(action="/login" method="POST")
                div
                    p Your Email
                    input(type="email" class="email"id="email"name="email"placeholder="Email")
                br
                div
                    p Password
                    input(type="password"class="password"id="password"name="password" placeholder="password")
                br
                div
                    button(type="submit") SUBMIT 
                br
            br
            a(href="/register") REGISTER 
            br
            a(href="/") HOME



Comments

Popular posts from this blog

Generative AI Model for text summarization

maintext/ react

Resume description for AI/ ML Developer