Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions apps/files/css/files.scss
Original file line number Diff line number Diff line change
Expand Up @@ -834,9 +834,23 @@ table.dragshadow td.size {
}

.notCreatable {
padding-left: 12px;
padding-top: 12px;
color: var(--color-text-lighter);
margin-left: 12px;
margin-right: 44px;
margin-top: 12px;
color: var(--color-main-text);
overflow: auto;
min-width: 160px;
height: 54px;

&:not(.hidden) {
display: flex;
}

.icon-alert-outline {
top: -15px;
position: relative;
margin-right: 4px;
}
}

#quota {
Expand Down
1 change: 1 addition & 0 deletions apps/files/templates/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
</div>
<div id="file_action_panel"></div>
<div class="notCreatable notPublic hidden">
<div class="icon-alert-outline"></div>
<?php p($l->t('You don’t have permission to upload or create files here'))?>
</div>
<?php /* Note: the template attributes are here only for the public page. These are normally loaded
Expand Down
2 changes: 2 additions & 0 deletions core/css/icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ audio, canvas, embed, iframe, img, input, object, video {
@include icon-black-white('disabled-users', 'actions', 1, true);
@include icon-black-white('user-admin', 'actions', 1, true);

@include icon-black-white('alert-outline', 'actions', 1, true);

/* PLACES ------------------------------------------------------------------- */
.icon-calendar {
@include icon-color('calendar', 'places', $color-white, 1, true);
Expand Down
1 change: 1 addition & 0 deletions core/img/actions/alert-outline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.