Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Remove dependencies on bower/npm/angular #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 5 additions & 15 deletions src/votingapp/windows/VotingApp/VotingWeb/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ViewData["Title"] = "Azure Service Fabric Mesh - Voting Sample";
}

<div ng-controller="VotingAppController" ng-init="refresh()">
<div>
<div class="container">
<div class="row top-buffer" style="background-color: #e8e8e8; padding: 10px">
<div class="col-12">
Expand All @@ -18,30 +18,20 @@

<div class="row" style="padding: 10px">
<div class="col-8 offset-4">
<form class="form-inline" ng-submit="add(item)">
<form class="form-inline">
<div class="form-group">
<input id="txtAdd" type="text" class="form-control w-100" placeholder="Add voting option" ng-model="item">
<input id="txtAdd" type="text" class="form-control w-100" placeholder="Add voting option">
</div>
<div class="form-group p-1">
<button id="btnAdd" type="button" class="btn btn-outline-dark btn-block" ng-click="add(item)">Add</button>
<button id="btnAdd" type="button" class="btn btn-outline-dark btn-block">Add</button>
</div>
</form>
</div>
</div>

<div class="row">
<div class="col-12 bottom-buffer">
<div class="row top-buffer" ng-repeat="(key, value) in votes">
<div class="col-4 offset-3">
<button class="btn btn-outline-dark btn-block" ng-click="add(key)">
{{key}} - {{value}}
</button>
</div>
<div class="col-2">
<button class="btn btn-dark btn-block" ng-click="remove(key)">
Remove
</button>
</div>
<div class="row top-buffer" id="vote-list">
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<link rel="icon" type="image/svg" href="images/ServiceFabricMesh.svg" />

<link href="~/lib/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="~/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="~/css/site.css" rel="stylesheet" />

</head>
Expand All @@ -16,10 +16,7 @@
@RenderBody()
</div>

<script src="~/lib/jquery/dist/jquery.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
<script src="~/lib/angular/angular.js"></script>
<script src="~/lib/angular-bootstrap/ui-bootstrap-tpls.js"></script>
<script src="~/lib/jquery/jquery.min.js"></script>
<script src="~/js/site.js"></script>

@RenderSection("Scripts", required: false)
Expand Down
19 changes: 0 additions & 19 deletions src/votingapp/windows/VotingApp/VotingWeb/bower.json

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading