forked from nextcloud/circles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from nextcloud/edit-circles-files-panel
moving files/methods around
- Loading branch information
Showing
14 changed files
with
293 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
* Circles - Bring cloud-users closer together. | ||
* | ||
* This file is licensed under the Affero General Public License version 3 or | ||
* later. See the COPYING file. | ||
* | ||
* @author Maxence Lange <[email protected]> | ||
* @copyright 2017 | ||
* @license GNU AGPL version 3 or any later version | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as | ||
* published by the Free Software Foundation, either version 3 of the | ||
* License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
#app-content-circlesfilter .select2-container { | ||
width: 30%; | ||
margin-left: 10px; | ||
} | ||
|
||
#app-content-circlesfilter .select2-choices { | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
background: #fff; | ||
color: #555; | ||
box-sizing: content-box; | ||
border-radius: 3px; | ||
border: 1px solid #ddd; | ||
padding: 0; | ||
min-height: auto; | ||
} | ||
|
||
.nav-icon-circlesfilter { | ||
background-image: url('../../img/black_circle.svg'); | ||
} | ||
|
||
#app-sidebar .mainFileInfoView .tag-label { | ||
cursor: pointer; | ||
padding: 13px; | ||
} | ||
|
||
#app-sidebar .mainFileInfoView .icon-tag { | ||
opacity: .5; | ||
vertical-align: middle; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php | ||
|
||
OCP\User::checkLoggedIn(); | ||
|
||
$tmpl = new OCP\Template('circles', 'files/list', ''); | ||
$tmpl->printPage(); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
/* | ||
* Copyright (c) 2017 EITA Cooperative | ||
* Circles - Bring cloud-users closer together. | ||
* | ||
* @author Vinicius Brand <[email protected]> | ||
* @author Daniel Tygel <[email protected]> | ||
* This file is licensed under the Affero General Public License version 3 or | ||
* later. See the COPYING file. | ||
* | ||
* This file is licensed under the Affero General Public License version 3 | ||
* or later. | ||
* @author Maxence Lange <[email protected]> | ||
* @copyright 2017 | ||
* @license GNU AGPL version 3 or any later version | ||
* | ||
* See the COPYING-README file. | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as | ||
* published by the Free Software Foundation, either version 3 of the | ||
* License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
(function() { | ||
|
@@ -146,7 +158,7 @@ | |
return m; | ||
}, | ||
formatNoMatches: function() { | ||
return t('systemtags', 'No tags found'); | ||
return t('systemtags', 'No circles found'); | ||
} | ||
}); | ||
this.$filterField.on('change', _.bind(this._onTagsChanged, this)); | ||
|
@@ -211,11 +223,11 @@ | |
if (!this._circlesIds.length) { | ||
// no tags selected | ||
this.$el.find('#emptycontent').html('<div class="icon-systemtags"></div>' + | ||
'<h2>' + t('systemtags', 'Please select tags to filter by') + '</h2>'); | ||
'<h2>' + t('systemtags', 'Please select circles to filter by') + '</h2>'); | ||
} else { | ||
// tags selected but no results | ||
this.$el.find('#emptycontent').html('<div class="icon-systemtags"></div>' + | ||
'<h2>' + t('systemtags', 'No files found for the selected tags') + '</h2>'); | ||
'<h2>' + t('systemtags', 'No files found for the selected circles') + '</h2>'); | ||
} | ||
this.$el.find('#emptycontent').toggleClass('hidden', !this.isEmpty); | ||
this.$el.find('#filestable thead th').toggleClass('hidden', this.isEmpty); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.