This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { app, BrowserWindow } = require('electron') | |
| let win; | |
| function createWindow () { | |
| // Create the browser window. | |
| win = new BrowserWindow({ | |
| width: 600, | |
| height: 600, | |
| backgroundColor: '#ffffff', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div *ngIf="!myForm.controls.firstname?.valid && | |
| (myForm.controls.firstname?.dirty | |
| ||myForm.controls.firstname?.touched)" | |
| class="alert alert-danger"> | |
| <div [hidden]="!myForm.controls.firstname.errors.required"> | |
| First Name is required | |
| </div> | |
| <div [hidden]="!myForm.controls.firstname.errors.minlength"> | |
| First Name Minimum Length is | |
| {{myForm.controls.firstname.errors.minlength?.requiredLength}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div *ngIf="!myForm.controls.firstName?.valid && | |
| (myForm.controls.firstName?.dirty || | |
| myForm.controls.firstName?.touched)" class="alert alert-danger"> | |
| <div [hidden]="!myForm.controls.firstName.errors.required"> | |
| First Name is required | |
| </div> | |
| <div [hidden]="!myForm.controls.firstName.errors.minlength"> | |
| First Name Minimum Length is | |
| {{myForm.controls.firstName.errors.minlength?.requiredLength}} </div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div> | |
| <h1>Login</h1> | |
| <form action=""> | |
| <p><input type="text" placeholder="Username" /></p> | |
| <p><input type="password" placeholder="Password"></p> | |
| <p><input type="submit" value="Login"></p> | |
| </form> | |
| <a href="register.html">Create your free account!</a> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div> | |
| <h1>Register</h1> | |
| <form action=""> | |
| <p><input type="text" placeholder="Name" /></p> | |
| <p><input type="text" placeholder="Email" /></p> | |
| <p><input type="text" placeholder="Username" /></p> | |
| <p><input type="password" placeholder="Password"></p> | |
| <p><input type="submit" value="Register"></p> | |
| </form> | |
| <a href="login.html">Login to your account</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Login</title> | |
| </head> | |
| <body> | |
| <div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Register</title> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="carousel-example" class="carousel slide" data-ride="carousel"> | |
| <!-- start indicators --> | |
| <ol class="carousel-indicators"> | |
| <li data-target="#carousel-example" data-slide-to="0" class="active"></li> | |
| <li data-target="#carousel-example" data-slide-to="1"></li> | |
| <li data-target="#carousel-example" data-slide-to="2"></li> | |
| </ol> | |
| <!-- end indicators --> | |
| <!-- coursel images --> | |
| <div class="carousel-inner" role="listbox"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="modal fade" tabindex="-1" role="dialog" id="saveModel"> | |
| <div class="modal-dialog" role="document"> | |
| <div class="modal-content"> | |
| <div class="modal-header"> | |
| <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> | |
| <h4 class="modal-title">Title of my Modal</h4> | |
| </div> | |
| <div class="modal-body"> | |
| <p> | |
| Lorem ipsum dolor sit amet consectetur adipisicing elit. Quaerat minus id, adipisci officia quo illo eveniet facilis, amet perferendis soluta sapiente quod aspernatur iusto distinctio fuga, incidunt pariatur quis error. |