Skip to content
Snippets Groups Projects
Commit a240a6e6 authored by GustafWallstrom's avatar GustafWallstrom
Browse files

Did some smaller modifications to titles and placeholders in the html code to...

Did some smaller modifications to titles and placeholders in the html code to make the app more intuitive.
parent f02cb9f9
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
<h5 class="modal-title" id="exampleModalLabel">Today's match</h5>
<button type="button" #closeBtn class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
......@@ -12,12 +12,12 @@
<form>
<div class="form-group">
<label for="exampleInputEmail1">Title</label>
<input name="title" type="text" [(ngModel)]="post.title" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter title">
<label for="exampleInputEmail1">Course</label>
<input name="title" type="text" [(ngModel)]="post.title" class="form-control" aria-describedby="emailHelp" placeholder="Enter the name of the course">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Description</label>
<textarea name="description" [(ngModel)]="post.description" class="form-control" id="exampleInputPassword1" placeholder="Password">
<label for="exampleInputPassword1">Number of throws</label>
<textarea name="description" [(ngModel)]="post.description" class="form-control" id="exampleInputPassword1" placeholder="Throws">
</textarea>
</div>
......
<header class="header clearfix">
<nav>
<ul class="nav nav-pills float-right">
<li class="nav-item">
<button type="button" class="btn btn-primary">
Home
</button>
</li>
<li class="nav-item">
<button type="button" class="btn btn-link" data-toggle="modal" data-target="#exampleModal">
Add
Add new round
</button>
</li>
<li class="nav-item">
<button type="button" class="btn btn-link">
<button type="button" class="btn btn-link" href="#">
Logout
</button>
</li>
</ul>
</nav>
<h3 class="text-muted">Angular Blog App</h3>
<h3 class="text-muted">diSCore</h3>
</header>
<main role="main">
......@@ -29,5 +24,5 @@
</main>
<footer class="footer">
<p>&copy; Company 2017</p>
<p>&copy; Author Gustaf Wallström 2020</p>
</footer>
\ No newline at end of file
......@@ -2,11 +2,11 @@
<a *ngFor="let post of posts" href="#" class="list-group-item list-group-item-action flex-column align-items-start">
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1">{{post.title}}</h5>
<h5 class="mb-1">Course: {{post.title}}</h5>
<small>3 days ago</small>
</div>
<p class="mb-1">{{post.description}}</p>
<small>read more...</small>
<p class="mb-1">Number of strokes: {{post.description}}</p>
<small>Click for more details</small>
</a>
</div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment