diff options
Diffstat (limited to 'arduino_blog/templates')
-rw-r--r-- | arduino_blog/templates/footer.html | 108 | ||||
-rw-r--r-- | arduino_blog/templates/header.html | 25 | ||||
-rw-r--r-- | arduino_blog/templates/home.html | 177 | ||||
-rw-r--r-- | arduino_blog/templates/login.html | 3 | ||||
-rw-r--r-- | arduino_blog/templates/navbar.html | 87 | ||||
-rw-r--r-- | arduino_blog/templates/submit-cfp.html | 10 | ||||
-rw-r--r-- | arduino_blog/templates/user-register.html | 14 |
7 files changed, 339 insertions, 85 deletions
diff --git a/arduino_blog/templates/footer.html b/arduino_blog/templates/footer.html index bff98bf..6f6845d 100644 --- a/arduino_blog/templates/footer.html +++ b/arduino_blog/templates/footer.html @@ -2,16 +2,102 @@ {% load static %} <!-- Footer --> {% block footer %} +<!-- Footer --> +<footer class="page-footer font-small blue pt-4 bg-dark text-white"> + + <!-- Footer Links --> + <div class="container-fluid text-center text-md-left"> + + <!-- Grid row --> + <div class="row"> + + <!-- Grid column --> + <div id="contact-us" class="col-md-6 mt-md-0 mt-3"> + + <!-- Content --> + <h3 class="text-uppercase">CONTACT</h3> + <address> + <p> + <i class="fa fa-home pr-10"></i>FOSSEE, IIT Bombay + </p> + <p> + <i class="fa fa-globe pr-10"></i>Mumbai, India + </p> + <p> + <i class="fa fa-phone pr-10"></i>Phone : (+91) 22 25764133 + </p> + <p> + <i class="fa fa-envelope pr-10"></i>Email : info [at] fossee [dot] in + </p> + </address> + + </div> + <!-- Grid column --> + + <hr class="clearfix w-100 d-md-none pb-3"> + + <!-- Grid column --> + <!-- <div class="col-md-3 mb-md-0 mb-3"> + + + <h5 class="text-uppercase">Links</h5> - <footer class="site-footer"> - <div class="container"> - <div class="row"> - <div class="col-md-12"> - <center style="color:white;font-size: 10px;"> - This work is licensed under a <a target="_blank" href="http://creativecommons.org/licenses/by-sa/4.0/" style="color:#ceab6a;">Creative Commons Attribution-ShareAlike 4.0 International License</a>. - </center> - </div> - </div> - </div> - </footer> + <ul class="list-unstyled"> + <li> + <a href="#!">Link 1</a> + </li> + <li> + <a href="#!">Link 2</a> + </li> + <li> + <a href="#!">Link 3</a> + </li> + <li> + <a href="#!">Link 4</a> + </li> + </ul> + + </div> --> + <!-- Grid column --> + + <!-- Grid column --> + <div class="col-md-3 mb-md-0 mb-3"> + + <!-- Links --> + <h5 class="text-uppercase">Other Links</h5> + + <ul class="list-styled"> + <li> + <a class="text-white" href="https://fossee.in" target="_blank">FOSSEE</a> + </li> + <li> + <a class="text-white" href="https://scilab.in" target="_blank">Scilab</a> + </li> + <li> + <a class="text-white" href="https://esim.fossee.in" target="_blank">eSim</a> + </li> + <li> + <a class="text-white" href="https://openplc.fossee.in" target="_blank">OpenPlc</a> + </li> + </ul> + + </div> + <!-- Grid column --> + + </div> + <!-- Grid row --> + + </div> + <!-- Footer Links --> + + <!-- Copyright --> + <span class="text-muted"> + <center> + <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. + </center> + </span> + <!-- Copyright --> + +</footer> +<!-- Footer --> {% endblock %}
\ No newline at end of file diff --git a/arduino_blog/templates/header.html b/arduino_blog/templates/header.html index 1e90191..12964d4 100644 --- a/arduino_blog/templates/header.html +++ b/arduino_blog/templates/header.html @@ -10,15 +10,36 @@ <meta name="keywords" content="Arduino, projects, github"> <link rel="icon" href="{% static 'website/bootstrap-css/assets/images/logo.png' %}" type="icon"> <title>Arduino Projects</title> - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> + <!-- <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.4.1/jquery.min.js"></script> - <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> --> + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> + <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script> +<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> +<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script> <script> function countChar(val) { var len = val.value.length; var count = $('#charNum').text(0 + len); }; </script> +<style> + + /* Stackoverflow preview fix, please ignore */ + .navbar-nav { + flex-direction: row; + } + .nav-link { + padding-right: .5rem !important; + padding-left: .5rem !important; + } + + /* Fixes dropdown menus placed on the right side */ + .ml-auto .dropdown-menu { + left: auto !important; + right: 0px; + } + </style> </head> {% endblock %}
\ No newline at end of file diff --git a/arduino_blog/templates/home.html b/arduino_blog/templates/home.html index 18b55c7..9b79a08 100644 --- a/arduino_blog/templates/home.html +++ b/arduino_blog/templates/home.html @@ -4,23 +4,168 @@ <!-- Navigation --> {% block home %} -<div class="container-fluid text-center"> - <div class="row content"> - <br><br><br><br> - <div class="col-sm-2"> - - </div> - <div class="col-sm-8 text-left"> - <h1>Welcome</h1> - <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> - <hr> - <h3>Test</h3> - <p>Lorem ipsum...</p> +<main role="main"> + + <section class="jumbotron text-center"> + <div class="container"> + <h1>Open Source Hardware Project</h1> + <p class="lead text-muted text-justify"> + Back in 2005, a group of students envisaged a world where they have affordable access to digital devices, that they can interact with the environment using sensors and microcontrollers. Fast forward 15 years and Arduino has become a household name in the community of not just students, but also novices, professionals and DIY makers. The formidable headway that was brought about has given courage and vision to all the opensource hardware projects henceforth. We at FOSSEE also became a part by adopting the platform, and using it to teach Electronics across India. The learning resources, both hardware and lectures, put together by the Opensource-hardware team of FOSSEE and Spoken-tutorial has already demonstrated effective learning. + Here, we are here providing you a platform for showcasing your ambitious projects, forming a community around the users and become part of our opensource-hardware activities. We are inviting proposals from you, those who have implemented projects using Arduino or are in the process, to contribute the documentation/DIY instructions of their projects. We promise to put together a well presented, shareable documentation of your project in our website. Every contributor can thus build an online portfolio which they can take pride in and may also land them a job one day! + Please signup and make a profile for proposal submission right away and become one of the first contributors! + </p> + <p> + <a href="{% url 'arduino_blog:submitabstract' %}" class="btn btn-primary my-2">Contribute first</a> + <!-- <a href="#" class="btn btn-secondary my-2">View exisitng</a> --> + </p> </div> - <div class="col-sm-2 sidenav"> - + </section> +<!-- + <div class="album py-5 bg-light"> + <div class="container"> + + <div class="row"> + <div class="col-md-4"> + <div class="card mb-4 shadow-sm"> + <svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> + <div class="card-body"> + <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> + <div class="d-flex justify-content-between align-items-center"> + <div class="btn-group"> + <button type="button" class="btn btn-sm btn-outline-secondary">View</button> + <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button> + </div> + <small class="text-muted">9 mins</small> + </div> + </div> + </div> + </div> + <div class="col-md-4"> + <div class="card mb-4 shadow-sm"> + <svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> + <div class="card-body"> + <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> + <div class="d-flex justify-content-between align-items-center"> + <div class="btn-group"> + <button type="button" class="btn btn-sm btn-outline-secondary">View</button> + <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button> + </div> + <small class="text-muted">9 mins</small> + </div> + </div> + </div> + </div> + <div class="col-md-4"> + <div class="card mb-4 shadow-sm"> + <svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> + <div class="card-body"> + <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> + <div class="d-flex justify-content-between align-items-center"> + <div class="btn-group"> + <button type="button" class="btn btn-sm btn-outline-secondary">View</button> + <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button> + </div> + <small class="text-muted">9 mins</small> + </div> + </div> + </div> + </div> + + <div class="col-md-4"> + <div class="card mb-4 shadow-sm"> + <svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> + <div class="card-body"> + <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> + <div class="d-flex justify-content-between align-items-center"> + <div class="btn-group"> + <button type="button" class="btn btn-sm btn-outline-secondary">View</button> + <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button> + </div> + <small class="text-muted">9 mins</small> + </div> + </div> + </div> + </div> + <div class="col-md-4"> + <div class="card mb-4 shadow-sm"> + <svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> + <div class="card-body"> + <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> + <div class="d-flex justify-content-between align-items-center"> + <div class="btn-group"> + <button type="button" class="btn btn-sm btn-outline-secondary">View</button> + <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button> + </div> + <small class="text-muted">9 mins</small> + </div> + </div> + </div> + </div> + <div class="col-md-4"> + <div class="card mb-4 shadow-sm"> + <svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> + <div class="card-body"> + <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> + <div class="d-flex justify-content-between align-items-center"> + <div class="btn-group"> + <button type="button" class="btn btn-sm btn-outline-secondary">View</button> + <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button> + </div> + <small class="text-muted">9 mins</small> + </div> + </div> + </div> + </div> + + <div class="col-md-4"> + <div class="card mb-4 shadow-sm"> + <svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> + <div class="card-body"> + <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> + <div class="d-flex justify-content-between align-items-center"> + <div class="btn-group"> + <button type="button" class="btn btn-sm btn-outline-secondary">View</button> + <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button> + </div> + <small class="text-muted">9 mins</small> + </div> + </div> + </div> + </div> + <div class="col-md-4"> + <div class="card mb-4 shadow-sm"> + <svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> + <div class="card-body"> + <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> + <div class="d-flex justify-content-between align-items-center"> + <div class="btn-group"> + <button type="button" class="btn btn-sm btn-outline-secondary">View</button> + <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button> + </div> + <small class="text-muted">9 mins</small> + </div> + </div> + </div> + </div> + <div class="col-md-4"> + <div class="card mb-4 shadow-sm"> + <svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg> + <div class="card-body"> + <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> + <div class="d-flex justify-content-between align-items-center"> + <div class="btn-group"> + <button type="button" class="btn btn-sm btn-outline-secondary">View</button> + <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button> + </div> + <small class="text-muted">9 mins</small> + </div> + </div> + </div> + </div> + </div> </div> </div> -</div> -</div> + --> +</main> + {% endblock %}
\ No newline at end of file diff --git a/arduino_blog/templates/login.html b/arduino_blog/templates/login.html index 4010ec1..7c9bfc2 100644 --- a/arduino_blog/templates/login.html +++ b/arduino_blog/templates/login.html @@ -23,11 +23,10 @@ <br/> </center> {% endif %} - <form action="" method="POST"> {% csrf_token %} {{ form.as_p }} - <button class="button special" name ="login" type="submit">Login</button> + <button type="button" class="btn btn-success" name ="login" type="submit">Login</button> <br/> <br/> <a style="padding-right : 20px;" href="{% url 'arduino_blog:user_register' %}" class="btn btn btn-primary">Create an Account diff --git a/arduino_blog/templates/navbar.html b/arduino_blog/templates/navbar.html index a405e66..3dd68b4 100644 --- a/arduino_blog/templates/navbar.html +++ b/arduino_blog/templates/navbar.html @@ -1,54 +1,51 @@ {% load static %} <!-- Navigation --> {% block nav %} - <nav id="site-nav" class="navbar navbar-fixed-top navbar-custom"> - <div class="container"> - <div class="navbar-header"> - <!-- logo --> - <div class="site-branding"> - <a class="logo" href="{{SITE_URL}}"> - </a> - </div> - - <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-items" aria-expanded="false"> - <span class="sr-only">Toggle navigation</span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - - </div><!-- /.navbar-header --> - - <div class="collapse navbar-collapse" id="navbar-items"> - <ul class="nav navbar-nav navbar-right"> - - <!-- navigation menu --> - <li class="active"><a data-scroll href="{{SITE_URL}}/#about">About</a></li> - <li><a data-scroll href="{{SITE_URL}}/#contact-us">Contact Us</a></li> - {% if user.is_authenticated %} - <li class="dropdown"> - <a class="dropdown-toggle" data-toggle="dropdown" href="{% url 'auth:login' %}" > +<nav class="navbar navbar-expand-lg navbar-dark bg-dark"> + <a class="navbar-brand" href="/">Open Source Hardware Project </a> + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation"> + <span class="navbar-toggler-icon"></span> + </button> + <div class="collapse navbar-collapse" id="navbarNavDropdown"> + <ul class="navbar-nav ml-auto"> + <li class="nav-item active"> + <a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a> + </li> + <li class="nav-item"> + <a class="nav-link" href="{{SITE_URL}}/#about">About</a> + </li> + <li class="nav-item"> + <a class="nav-link" href="{{SITE_URL}}/#contact-us">Contact</a> + </li> + {% if user.is_authenticated %} + <li class="nav-item"> + <a class="nav-link" href="{% url 'arduino_blog:submitabstract' %}">Submit Abstract</a> + </li> + <li class="nav-item dropdown"> + <a class="nav-link dropdown-toggle" id="navbarDropdownMenuLink" data-toggle="dropdown" href="{% url 'auth:login' %}" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-user" aria-hidden="true"></i> {{ user.username }}!<span class="caret"></span> - </a> - {% if user.profile.is_email_verified %} - <ul class="dropdown-menu"> - <li><a href="{% url 'arduino_blog:submitabstract' %}">Submit Abstract</a></li> - <li><a href="{% url 'arduino_blog:user_logout' %}"><i class="fa fa-sign-out"></i> Logout</a></li> - </ul> - {% else %} - <ul class="dropdown-menu"> - <li><a href="{% url 'arduino_blog:user_logout' %}"><i class="fa fa-sign-out"></i> Logout</a></li> - </ul> - {% endif %} - </li> - {% else %} - <li><a href="{% url 'arduino_blog:user_login' %}">Login</a></li> - {% endif %} - </ul> + </a> + <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> + {% if user.profile.is_email_verified %} + + + <a href="{% url 'arduino_blog:user_logout' %}"><i class="fa fa-sign-out"></i> Logout</a> + + {% else %} + <a href="{% url 'arduino_blog:user_logout' %}"><i class="fa fa-sign-out"></i> Logout</a> + + {% endif %} </div> - </div><!-- /.container --> - </nav> + </li> + {% else %} + <li class="nav-item"> + <a class="nav-link" href="{% url 'arduino_blog:user_login' %}">Login</a> + </li> + {% endif %} + </ul> + </div> +</nav> {% endblock %}
\ No newline at end of file diff --git a/arduino_blog/templates/submit-cfp.html b/arduino_blog/templates/submit-cfp.html index 9d5c6f3..f30b465 100644 --- a/arduino_blog/templates/submit-cfp.html +++ b/arduino_blog/templates/submit-cfp.html @@ -12,6 +12,7 @@ </center> <hr> <div class="row"> + <div class="col-sm-12"> <form action="" method=POST enctype="multipart/form-data"> <div class="form-group"> <label for="name_of_author">Name of the author @@ -48,21 +49,24 @@ {% render_field proposal_form.attachment %} </div> <div class="form-inline"> - <div class="checkbox"> + <div class="form-check"> {% render_field proposal_form.terms_and_conditions %} - <label for="terms_and_conditions">I agree to the terms and conditions + <label for="terms_and_conditions"> I agree to the terms and conditions <span style="color:red;">*</span> </label> </div> </div> + {% csrf_token %} <center> <button id="subbtn" class="btn btn-info" type="submit" >Submit</button> <a href="#" class="btn btn-info" role="button">Back</a> </center> - </form> + </form> + </div> </div> </div> </section> + </br> {% endblock %} diff --git a/arduino_blog/templates/user-register.html b/arduino_blog/templates/user-register.html index cf3e38a..a5282d6 100644 --- a/arduino_blog/templates/user-register.html +++ b/arduino_blog/templates/user-register.html @@ -23,7 +23,7 @@ <!-- <a style="color:red; ">{{ render_field.errors }}</a>--> <div class="row"> <div class="col-12"> - <table class="table table-bordered table-responsive"> + <table class="table table-bordered table-responsive table-striped"> <tr> <td style="vertical-align:bottom;border-top:none;!important"> <div class="align-baseline"> @@ -181,12 +181,14 @@ </table> </div> </div> - <div class="row"> <center> - <div class="col-sm-4"> <a class="btn btn-link btn-block" href="{% url 'arduino_blog:user_login' %}">I have an account</a></div> - <div class="col-sm-2"><button class="btn btn-primary btn-block" type="submit">Sign Up</button></div> - </center> - </div> + <div class="btn-group" role="group" aria-label="Third group"> + <button class="btn btn btn-success" type="submit">Sign Up</button> + </div> + <div class="btn-group" role="group" aria-label="Third group"> + <a class="btn btn btn-warning" href="{% url 'arduino_blog:user_login' %}">I have an account</a> + </div> + </center> <!-- </div> --> </form> <br> |