mirror of
https://github.com/arnaucube/thoughts.git
synced 2026-02-07 03:36:49 +01:00
signup new user from webapp implemented
This commit is contained in:
59
web/user.html
Normal file
59
web/user.html
Normal file
@@ -0,0 +1,59 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html ng-app="thoughtsApp">
|
||||
<head>
|
||||
<!--Import Google Icon Font-->
|
||||
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<!--Import materialize.css-->
|
||||
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
|
||||
|
||||
<!--Let browser know website is optimized for mobile-->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title>Thoughts</title>
|
||||
|
||||
<!-- ANGULAR -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body ng-controller="ThoughtsController as thoughtsList">
|
||||
|
||||
<div ng-include="'menu.htm'"></div>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div>
|
||||
<ul class="collection">
|
||||
<li class="collection-item avatar" ng-repeat="thought in thoughtsList.thoughts | orderBy: '-time'">
|
||||
<img ng-src="img/icons/animals/{{thought.avatar}}.png" class="circle">
|
||||
<a ng-href="user.html?={{thought.username}}" class="title">
|
||||
{{thought.username}}
|
||||
</a>
|
||||
<div class="chip">{{thought.time | date:'HH:mm'}}</div>
|
||||
<p>{{thought.content}}</p>
|
||||
<a href="#!" class="secondary-content"><i class="material-icons indigo-text text-lighten-2">grade</i></a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--Import jQuery before materialize.js-->
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<script type="text/javascript" src="js/materialize.min.js"></script>
|
||||
|
||||
<script src="jslib/toastr.js"></script>
|
||||
<link type="text/css" rel="stylesheet" href="jslib/toastr.css"/>
|
||||
|
||||
<script src="controllers.js"></script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user