0632cbf5e4
Closes #146, ScholarPane.selectItem(id) Closes #147, "Edit in a Separate Window" on a note should select the note's parent item. Addresses #143, Scholar toolbar button to save current page as an independent file in the selected project. - Standalone Files are now added to the current Project. Files added to an item are now actually attached to the item.
60 lines
No EOL
2.2 KiB
XML
60 lines
No EOL
2.2 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE window SYSTEM "chrome://scholar/locale/scholar.dtd">
|
|
|
|
<overlay
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<script src="itemPane.js"/>
|
|
<deck id="scholar-view-item" flex="1" onselect="ScholarItemPane.loadPane(this.selectedIndex);">
|
|
<vbox id="scholar-info" flex="1">
|
|
<popupset>
|
|
<popup id="creatorTypeMenu" position="after_start" oncommand="ScholarItemPane.modifyCreator(document.popupNode.getAttribute('fieldname').split('-')[1],'typeID',event.explicitOriginalTarget.getAttribute('typeid'));"/>
|
|
</popupset>
|
|
<menulist id="editpane-type-menu" oncommand="ScholarItemPane.changeTypeTo(this.value)">
|
|
<menupopup/>
|
|
</menulist>
|
|
<grid flex="1">
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
<rows id="editpane-dynamic-fields" flex="1"/>
|
|
</grid>
|
|
</vbox>
|
|
<vbox flex="1">
|
|
<hbox align="center">
|
|
<label id="editpane-notes-label"/>
|
|
<button label="Add Note" oncommand="ScholarItemPane.addNote();"/>
|
|
</hbox>
|
|
<grid flex="1">
|
|
<columns>
|
|
<column flex="1"/>
|
|
<column/>
|
|
</columns>
|
|
<rows id="editpane-dynamic-notes" flex="1"/>
|
|
</grid>
|
|
</vbox>
|
|
<vbox flex="1">
|
|
<hbox align="center">
|
|
<label id="editpane-files-label"/>
|
|
<button id="tb-item-files-add" type="menu" label="Add">
|
|
<menupopup>
|
|
<menuitem class="menuitem-iconic" id="tb-item-files-file" label="Add File..." oncommand="ScholarItemPane.addFileFromDialog();"/>
|
|
<menuitem class="menuitem-iconic" id="tb-item-files-link" label="Add Linked File..." oncommand="ScholarItemPane.addFileFromDialog(true);"/>
|
|
<menuitem class="menuitem-iconic" id="tb-item-files-snapshot" label="Snapshot Current Page" oncommand="ScholarItemPane.addFileFromPage();"/>
|
|
<menuitem class="menuitem-iconic" id="tb-item-files-web-link" label="Link to Current Page" oncommand="ScholarItemPane.addFileFromPage(true);"/>
|
|
</menupopup>
|
|
</button>
|
|
</hbox>
|
|
<grid flex="1">
|
|
<columns>
|
|
<column flex="1"/>
|
|
<column/>
|
|
</columns>
|
|
<rows id="editpane-dynamic-files" flex="1"/>
|
|
</grid>
|
|
</vbox>
|
|
<tagsbox id="editpane-tags" flex="1"/>
|
|
<seealsobox id="editpane-related" flex="1"/>
|
|
</deck>
|
|
</overlay> |