a08bbe5347
Changes the edit pane to look a lot better (uses groupbox). Individual tabs don't load their content unless selected.
43 lines
No EOL
1.4 KiB
XML
43 lines
No EOL
1.4 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 align="center" pack="center">
|
|
<label value="Coming soon"/>
|
|
</vbox>
|
|
<tagsbox id="editpane-tags" flex="1"/>
|
|
<seealsobox id="editpane-related" flex="1"/>
|
|
</deck>
|
|
</overlay> |