mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-01 12:14:27 -04:00
nasty big monolithic commit of a whole bunch of UI/UX improvements:
- add a simple CSS template across the app for navigation & cosmetics - split login into login & register, and totally reskin it - restructure room CSS to play nicely with it - implement basis 1:1 chat from user pages - disable autofocus on iOS to improve UX
This commit is contained in:
parent
b040bd6157
commit
1bc036a12d
15 changed files with 363 additions and 317 deletions
|
@ -388,18 +388,13 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
|
|||
matrixService.invite($scope.room_id, user_id).then(
|
||||
function() {
|
||||
console.log("Invited.");
|
||||
$scope.feedback = "Request for invitation succeeds";
|
||||
$scope.feedback = "Invite sent successfully";
|
||||
},
|
||||
function(reason) {
|
||||
$scope.feedback = "Failure: " + reason;
|
||||
});
|
||||
};
|
||||
|
||||
// Open the user profile page
|
||||
$scope.goToUserPage = function(user_id) {
|
||||
$location.url("/user/" + user_id);
|
||||
};
|
||||
|
||||
$scope.leaveRoom = function() {
|
||||
|
||||
matrixService.leave($scope.room_id).then(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue