Skip to content

Commit c429adb

Browse files
committed
feat(client): move navbar and footer directive usage to around the router view directive in index.html
1 parent 05fd495 commit c429adb

File tree

11 files changed

+2
-20
lines changed

11 files changed

+2
-20
lines changed

Diff for: app/templates/client/app/account(auth)/login/login(html).html

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<navbar></navbar>
2-
31
<div class="container">
42
<div class="row">
53
<div class="col-sm-12">

Diff for: app/templates/client/app/account(auth)/login/login(jade).jade

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
navbar
21
.container
32
.row
43
.col-sm-12

Diff for: app/templates/client/app/account(auth)/settings/settings(html).html

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<navbar></navbar>
2-
31
<div class="container">
42
<div class="row">
53
<div class="col-sm-12">

Diff for: app/templates/client/app/account(auth)/settings/settings(jade).jade

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
navbar
21
.container
32
.row
43
.col-sm-12

Diff for: app/templates/client/app/account(auth)/signup/signup(html).html

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<navbar></navbar>
2-
31
<div class="container">
42
<div class="row">
53
<div class="col-sm-12">

Diff for: app/templates/client/app/account(auth)/signup/signup(jade).jade

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
navbar
21
.container
32
.row
43
.col-sm-12

Diff for: app/templates/client/app/admin(auth)/admin(html).html

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<navbar></navbar>
2-
31
<div class="container">
42
<p>The delete user and user index api routes are restricted to users with the 'admin' role.</p>
53
<ul class="list-group user-list">

Diff for: app/templates/client/app/admin(auth)/admin(jade).jade

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
navbar
21
.container
32
p
43
| The delete user and user index api routes are restricted to users with the 'admin' role.

Diff for: app/templates/client/app/main/main(html).html

-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<navbar></navbar>
2-
31
<header class="hero-unit" id="banner">
42
<div class="container">
53
<h1>'Allo, 'Allo!</h1>
@@ -28,5 +26,3 @@ <h1 class="page-header">Features:</h1>
2826
</p>
2927
</form><% } %>
3028
</div>
31-
32-
<footer></footer>

Diff for: app/templates/client/app/main/main(jade).jade

-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
navbar
2-
31
header#banner.hero-unit
42
.container
53
h1 'Allo, 'Allo!
@@ -22,5 +20,3 @@ header#banner.hero-unit
2220
input.form-control(type='text', placeholder='Add a new thing here.', ng-model='main.newThing')
2321
span.input-group-btn
2422
button.btn.btn-primary(type='submit', ng-click='main.addThing()') Add New<% } %>
25-
26-
footer

Diff for: app/templates/client/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
<![endif]-->
2828

2929
<!-- Add your site or application content here -->
30+
<navbar></navbar>
3031
<% if (filters.ngroute) { %><div ng-view=""></div><% } %><% if (filters.uirouter) { %><div ui-view=""></div><% } %>
32+
<footer></footer>
3133

3234
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID -->
3335
<script>

0 commit comments

Comments
 (0)