1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

UI for add site

This commit is contained in:
Kyle Spearrin
2016-09-03 21:45:45 -04:00
parent 2871e04cc7
commit 32f4ab4987
7 changed files with 89 additions and 18 deletions

View File

@@ -1,6 +1,14 @@
angular
.module('bit.vault')
.controller('vaultAddSiteController', function ($scope) {
console.log('modal controller');
.controller('vaultAddSiteController', function ($scope, siteService) {
$scope.site = {
folderId: null
};
$scope.createSite = function (model) {
var site = new Site(model);
siteService.save(model, function () {
});
};
});