update annotation & panel
This commit is contained in:
parent
abc53d2d06
commit
059e25a000
2 changed files with 41 additions and 23 deletions
|
|
@ -8,18 +8,31 @@ oml.ui.annotationPanel = function() {
|
|||
disabled: true,
|
||||
style: 'symbol',
|
||||
title: 'add',
|
||||
tooltip: Ox._('Add Quote'),
|
||||
type: 'image'
|
||||
}).appendTo($bar);
|
||||
|
||||
var $menuButton = Ox.MenuButton({
|
||||
items: [
|
||||
{id: 'sortAnnotations', title: 'Sort Annotations', disabled: true}
|
||||
{id: 'showAnnotations', title: Ox._('Show Annotations'), disabled: true},
|
||||
{group: 'sort', min: 1, max: 1, items: [
|
||||
{id: 'all', title: Ox._('All Annotations'), checked: true},
|
||||
{id: 'my', title: Ox._('My Annotations'), checked: false},
|
||||
]},
|
||||
{},
|
||||
{id: 'sortAnnotations', title: Ox._('Sort Annotations'), disabled: true},
|
||||
{group: 'sort', min: 1, max: 1, items: [
|
||||
{id: 'position', title: Ox._('By Position'), checked: true},
|
||||
{id: 'text', title: Ox._('By Note Text'), checked: false},
|
||||
{id: 'date', title: Ox._('By Date Added'), checked: false}
|
||||
]},
|
||||
],
|
||||
style: 'square',
|
||||
title: 'set',
|
||||
type: 'image',
|
||||
width: 16
|
||||
}).css({
|
||||
// borderColor: 'transparent',
|
||||
float: 'right'
|
||||
}).appendTo($bar);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue