mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Implement Moon's suggestions on note permissions background and wildcard placeholder
This commit is contained in:
parent
25543155b2
commit
6c89dbe93d
2 changed files with 28 additions and 5 deletions
|
|
@ -132,6 +132,28 @@
|
|||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
/*
|
||||
Note Permissions Panel
|
||||
*/
|
||||
|
||||
.permissions {
|
||||
background: white;
|
||||
padding: 10px 15px 15px 15px;
|
||||
margin-left: -10px;
|
||||
margin-right: -10px;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
}
|
||||
|
||||
.permissions .permissionsForm {
|
||||
list-style-type: none;
|
||||
background: #EFEFEF;
|
||||
padding: 10px 10px 10px 10px;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
|
||||
border: 1px solid #E5E5E5;
|
||||
}
|
||||
|
||||
/*
|
||||
Note Setting Panel
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -22,13 +22,14 @@ limitations under the License.
|
|||
<hr />
|
||||
<div>
|
||||
<p>
|
||||
Enter comma separated users and groups in the fields. Empty set means anyone can do the operation.
|
||||
Enter comma separated users and groups in the fields. <br />
|
||||
Empty field (*) implies anyone can do the operation.
|
||||
</p>
|
||||
<div class="notePermissions"
|
||||
<div class="permissionsForm"
|
||||
data-ng-model="permissions">
|
||||
<p>Owners : <input ng-list ng-model="permissions.owners"> Owners can change permissions, read and write the note. </p>
|
||||
<p>Readers : <input ng-list ng-model="permissions.readers"> Readers can only read the note.</p>
|
||||
<p>Writers : <input ng-list ng-model="permissions.writers"> Writers can read and write the note.</p>
|
||||
<p>Owners : <input ng-list ng-model="permissions.owners" placeholder="*"> Owners can change permissions, read and write the note. </p>
|
||||
<p>Readers : <input ng-list ng-model="permissions.readers" placeholder="*"> Readers can only read the note.</p>
|
||||
<p>Writers : <input ng-list ng-model="permissions.writers" placeholder="*"> Writers can read and write the note.</p>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
|
|
|
|||
Loading…
Reference in a new issue