-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Desenvolvimento do Listar - Funcionario, via View.
- Loading branch information
Showing
4 changed files
with
56 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,38 @@ | ||
@{ | ||
ViewBag.Title = "Home Page"; | ||
} | ||
<div class="container" ng-controller="funcionarioCtrl"> | ||
<div class="panel panel-info"> | ||
<div class="panel-heading">Listar Funcionários</div> | ||
|
||
<div class="jumbotron"> | ||
<h1>ASP.NET</h1> | ||
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> | ||
<p><a href="https://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p> | ||
</div> | ||
<table class="table table-bordered center"> | ||
<thead style="background-color: burlywood;"> | ||
<tr> | ||
<th class="text-center">Id Funcionário</th> | ||
<th class="text-center">Nome</th> | ||
<th class="text-center">Email</th> | ||
<th class="text-center">Departamento</th> | ||
<th class="text-center">Cargo</th> | ||
<th class="text-center">Ação</th> | ||
</tr> | ||
</thead> | ||
|
||
<div class="row"> | ||
<div class="col-md-4"> | ||
<h2>Getting started</h2> | ||
<p> | ||
ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that | ||
enables a clean separation of concerns and gives you full control over markup | ||
for enjoyable, agile development. | ||
</p> | ||
<p><a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301865">Learn more »</a></p> | ||
</div> | ||
<div class="col-md-4"> | ||
<h2>Get more libraries</h2> | ||
<p>NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.</p> | ||
<p><a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301866">Learn more »</a></p> | ||
</div> | ||
<div class="col-md-4"> | ||
<h2>Web Hosting</h2> | ||
<p>You can easily find a web hosting company that offers the right mix of features and price for your applications.</p> | ||
<p><a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301867">Learn more »</a></p> | ||
<tbody> | ||
<tr ng-repeat="func in Funcionarios"> | ||
<td class="text-center">{{func.FuncionarioId}}</td> | ||
<td class="text-center">{{func.Nome}}</td> | ||
<td class="text-center">{{func.Email}}</td> | ||
<td class="text-center">{{func.Departamento}}</td> | ||
<td class="text-center">{{func.Cargo}}</td> | ||
<td class="text-center" style="width: 200px"> | ||
<a href="#" class="btn btn-info"><span class="glyphicon glyphicon-pencil"></span></a> | ||
<a href="#" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span></a> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
@section scripts { | ||
<script src="~/AngularJsApp/Funcionario/Modulejs.js"></script> | ||
<script src="~/AngularJsApp/Funcionario/Service.js"></script> | ||
<script src="~/AngularJsApp/Funcionario/Controller.js"></script> | ||
} |
This file contains 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