mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
Tweaks
This commit is contained in:
6
public/css/tags.css
Normal file
6
public/css/tags.css
Normal file
@ -0,0 +1,6 @@
|
||||
input, input[type="date"], textarea, select {
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
padding: 5px;
|
||||
box-sizing: border-box;
|
||||
}
|
@ -18,6 +18,8 @@ tags.PageCtrl = function($scope, $window, Tag, Clients) {
|
||||
|
||||
$scope.tag = payload.tag ? payload.tag.data : undefined;
|
||||
|
||||
$scope.isChrome = navigator.userAgent.indexOf('Chrome') !== -1;
|
||||
|
||||
if (payload.user) {
|
||||
$scope.user = payload.user;
|
||||
$scope.clients = Clients.index(function() {
|
||||
@ -32,6 +34,8 @@ tags.PageCtrl = function($scope, $window, Tag, Clients) {
|
||||
tag_id: $window.payload.id,
|
||||
client: $scope.client,
|
||||
data: $scope.tag
|
||||
}, function() {
|
||||
alert('Your changes have been saved.');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user