signup and login working

This commit is contained in:
arnaucode
2018-02-01 13:14:51 +01:00
parent ad76d73e12
commit bad807b79d
33 changed files with 1040 additions and 0 deletions

14
webapp/views/main/main.html Executable file
View File

@@ -0,0 +1,14 @@
<div class="container">
<div class="row">
<div class="col-sm-3">
<div class="card" style="width: 18rem;">
<img class="card-img-top" ng-src="http://localhost:8080/ipfs/QmUE6hhNsyUA5emj2dviVDNYK7mSbPeZmRKeCYthmtemeA" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Post1</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
</div>

16
webapp/views/main/main.js Executable file
View File

@@ -0,0 +1,16 @@
'use strict';
angular.module('app.main', ['ngRoute'])
.config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/main', {
templateUrl: 'views/main/main.html',
controller: 'MainCtrl'
});
}])
.controller('MainCtrl', function($scope, $rootScope, $http) {
});