zotero/chrome/chromeFiles/content/scholar/itemPane.xul

47 lines
No EOL
1.6 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"/>
<tabbox id="scholar-view-item" height="1000" style="margin-left: 5px;">
<tabs>
<tab label="Notes"/>
<tab label="Info"/>
</tabs>
<tabpanels flex="1">
<vbox>
<hbox align="center">
<label id="scholar-notes-label"/>
<menulist flex="1" id="scholar-notes-menu" oncommand="ScholarItemPane.onNoteSelected();">
<menupopup/>
</menulist>
<label value="-" class="clicky" onclick="ScholarItemPane.removeSelectedNote();"/>
<label value="+" class="clicky" onclick="ScholarItemPane.addNote();"/>
</hbox>
<textbox id="scholar-notes-field"
type="timed" timeout="1000" oncommand="ScholarItemPane.modifySelectedNote();"
multiline="true" flex="1"
onblur="ScholarItemPane.modifySelectedNote();"/>
</vbox>
<vbox id="scholar-metadata" 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">
</rows>
</grid>
</vbox>
</tabpanels>
</tabbox>
</overlay>