This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01bd98b
commit 3bf07fe
Showing
25 changed files
with
132 additions
and
133 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
16 changes: 8 additions & 8 deletions
16
modules/articles/client/views/list-articles.client.view.html
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,20 +1,20 @@ | ||
<section data-ng-controller="ArticlesController" data-ng-init="find()"> | ||
<section ng-controller="ArticlesController" ng-init="find()"> | ||
<div class="page-header"> | ||
<h1>Articles</h1> | ||
</div> | ||
<div class="list-group"> | ||
<a data-ng-repeat="article in articles" data-ui-sref="articles.view({articleId: article._id})" class="list-group-item"> | ||
<a ng-repeat="article in articles" ui-sref="articles.view({articleId: article._id})" class="list-group-item"> | ||
<small class="list-group-item-text"> | ||
Posted on | ||
<span data-ng-bind="article.created | date:'mediumDate'"></span> | ||
<span ng-bind="article.created | date:'mediumDate'"></span> | ||
by | ||
<span data-ng-bind="article.user.displayName"></span> | ||
<span ng-bind="article.user.displayName"></span> | ||
</small> | ||
<h4 class="list-group-item-heading" data-ng-bind="article.title"></h4> | ||
<p class="list-group-item-text" data-ng-bind="article.content"></p> | ||
<h4 class="list-group-item-heading" ng-bind="article.title"></h4> | ||
<p class="list-group-item-text" ng-bind="article.content"></p> | ||
</a> | ||
</div> | ||
<div class="alert alert-warning text-center" data-ng-if="articles.$resolved && !articles.length"> | ||
No articles yet, why don't you <a data-ui-sref="articles.create">create one</a>? | ||
<div class="alert alert-warning text-center" ng-if="articles.$resolved && !articles.length"> | ||
No articles yet, why don't you <a ui-sref="articles.create">create one</a>? | ||
</div> | ||
</section> |
16 changes: 8 additions & 8 deletions
16
modules/articles/client/views/view-article.client.view.html
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,22 +1,22 @@ | ||
<section data-ng-controller="ArticlesController" data-ng-init="findOne()"> | ||
<section ng-controller="ArticlesController" ng-init="findOne()"> | ||
<div class="page-header"> | ||
<h1 data-ng-bind="article.title"></h1> | ||
<h1 ng-bind="article.title"></h1> | ||
</div> | ||
<div class="pull-right" data-ng-show="authentication.user._id == article.user._id"> | ||
<a class="btn btn-primary" data-ui-sref="articles.edit({articleId: article._id})"> | ||
<div class="pull-right" ng-show="authentication.user._id == article.user._id"> | ||
<a class="btn btn-primary" ui-sref="articles.edit({articleId: article._id})"> | ||
<i class="glyphicon glyphicon-edit"></i> | ||
</a> | ||
<a class="btn btn-primary" data-ng-click="remove();"> | ||
<a class="btn btn-primary" ng-click="remove();"> | ||
<i class="glyphicon glyphicon-trash"></i> | ||
</a> | ||
</div> | ||
<small> | ||
<em class="text-muted"> | ||
Posted on | ||
<span data-ng-bind="article.created | date:'mediumDate'"></span> | ||
<span ng-bind="article.created | date:'mediumDate'"></span> | ||
by | ||
<span data-ng-bind="article.user.displayName"></span> | ||
<span ng-bind="article.user.displayName"></span> | ||
</em> | ||
</small> | ||
<p class="lead" data-ng-bind="article.content"></p> | ||
<p class="lead" ng-bind="article.content"></p> | ||
</section> |
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 |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
} | ||
[ng\:cloak], | ||
[ng-cloak], | ||
[data-ng-cloak], | ||
[x-ng-cloak], | ||
.ng-cloak, | ||
.x-ng-cloak { | ||
|
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,5 +1,5 @@ | ||
{% extends 'layout.server.view.html' %} | ||
|
||
{% block content %} | ||
<section data-ui-view></section> | ||
<section ui-view></section> | ||
{% endblock %} |
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
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
2 changes: 1 addition & 1 deletion
2
modules/users/client/views/authentication/authentication.client.view.html
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
10 changes: 5 additions & 5 deletions
10
modules/users/client/views/password/forgot-password.client.view.html
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
Oops, something went wrong.