Skip to content

Commit

Permalink
addpost #8
Browse files Browse the repository at this point in the history
  • Loading branch information
rajat17sharma committed May 1, 2017
1 parent 8bbd8f5 commit e840452
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"ng-cookies": "^1.0.2",
"node-autho": "0.0.6",
"nodemon": "^1.11.0",
"npm": "^4.4.4"
"npm": "^4.4.4",
"cookie": "~0.3.1"
}
}
2 changes: 2 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
<link rel="stylesheet" type="text/css" href="css/dialog.css">
<link rel="stylesheet" type="text/css" href="css/create-account.css">
<link rel="stylesheet" type="text/css" href="css/login-account.css">
<link rel="stylesheet" type="text/css" href="css/AddPost.css">

</head>
<body ng-cloak ng-controller="homeCtrl" layout="row">
<side-nav></side-nav>
Expand Down
9 changes: 7 additions & 2 deletions public/views/directive-templates/nav-bar.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<style type="text/css">
.signupButton{
margin-right: 5%;
}
</style>
<md-toolbar class="toolbar" md-whiteframe="6px">
<h2 class="md-toolbar-tools">
<ng-md-icon
Expand All @@ -11,8 +16,8 @@ <h2 class="md-toolbar-tools">
size="30">
</ng-md-icon>
<span class="brand">Summon<strong>API</strong></span><div flex></div>
<md-button class="signupButton" ng-click="loginDialog($event)" ng-if="!userData.loggedOnUser">Login</md-button>
<span class="signupButton" ng-click="null" ng-if="userData.loggedOnUser" hide-sm>{{userData.username}}</span>
<md-button class="signupButton" ng-click="loginDialog($event)">Login</md-button>
<span class="signupButton" ng-click="null" ng-if="userData.loggedOnUser">{{userData.username}}</span>
<md-menu ng-if="userData.loggedOnUser" md-position-mode="target-right bottom" hide-sm>
<a href="#">
&nbsp;
Expand Down

0 comments on commit e840452

Please sign in to comment.