Created
April 29, 2010 15:50
-
-
Save cou929/383808 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet href="chrome://opentimetable/skin/opentimetable.css" type="text/css"?> | |
<!DOCTYPE overlay SYSTEM "chrome://opentimetable/locale/opentimetable.dtd"> | |
<overlay id="opentimetable-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | |
<script src="opentimetable.js" type="application/javascript"/> | |
<statusbar id="status-bar"> | |
<statusbarpanel id="opentimetable-statusbarpanel" class="disabled" | |
tooltiptext="&opentimetable.statusbarpanel.tooltip;" | |
onclick="opentimetable.togglePanel();"> | |
<image id="opentimetable-statusbarpanel-icon"/> | |
<label id="opentimetable-statusbarpanel-label"/> | |
<!-- value="&opentimetable.statusbarpanel.label;"/> --> | |
</statusbarpanel> | |
</statusbar> | |
<popupset id="mainPopupSet"> | |
<panel id="opentimetable-firstrun-panel" noautofocus="true" noautohide="true" level="top"> | |
<hbox id="opentimetable-firstrun-title" pack="center"> | |
<label value="&opentimetable.firstrun.title.label;"/> | |
</hbox> | |
<description class="opentimetable-firstrun-label">&opentimetable.firstrun.message1;</description> | |
<description class="opentimetable-firstrun-label">&opentimetable.firstrun.message2;</description> | |
<hbox pack="end"> | |
<button label="&opentimetable.firstrun.okButton.label;" | |
oncommand="opentimetable.hideFirstrunPanel()"/> | |
</hbox> | |
</panel> | |
<panel id="opentimetable-panel" noautohide="false" noautofocus="false"> | |
<vbox id="opentimetable-panel-box" flex="1"> | |
<hbox align="start" pack="center"> | |
<label id="opentimetable-title-label" onclick="opentimetable.toggleLastTrainAlert()" | |
value="&opentimetable.popuppanel.title.label;"/> | |
<spacer flex="1"/> | |
<image id="opentimetable-panel-close-image" | |
onclick="opentimetable.hidePanel();"/> | |
</hbox> | |
<hbox> | |
<vbox> | |
<vbox id="opentimetable-tableselect-box"> | |
<hbox align="center" pack="end" id="opentimetable-route-box"> | |
<label id="opentimetable-route-label" | |
value="&opentimetable.popuppanel.route.label;"/> | |
<textbox id="opentimetable-route-textbox" type="autocomplete" | |
emptytext="&opentimetable.popuppanel.route.emptytext;" | |
onfocus="opentimetable.suggestRoute(this.value)" | |
oninput="opentimetable.suggestRoute(this.value)" | |
onblur="opentimetable.TimetableList.selectRoute(this.value)"/> | |
</hbox> | |
<vbox id="opentimetable-route-message-box" collapsed="true"/> | |
<hbox align="center" pack="end" id="opentimetable-place-box"> | |
<label id="opentimetable-place-label" | |
value="&opentimetable.popuppanel.place.label;"/> | |
<textbox id="opentimetable-place-textbox" type="autocomplete" | |
emptytext="&opentimetable.popuppanel.place.emptytext;" | |
onfocus="opentimetable.suggestPlace(this.value)" | |
oninput="opentimetable.suggestPlace(this.value)" | |
onblur="opentimetable.TimetableList.selectPlace(this.value)"/> | |
</hbox> | |
<vbox id="opentimetable-place-message-box" collapsed="true"/> | |
<hbox align="center" pack="end" id="opentimetable-bound-box"> | |
<label id="opentimetable-bound-label" | |
value="&opentimetable.popuppanel.bound.label;"/> | |
<textbox id="opentimetable-bound-textbox" type="autocomplete" | |
emptytext="&opentimetable.popuppanel.bound.emptytext;" | |
onfocus="opentimetable.suggestBound(this.value)" | |
oninput="opentimetable.suggestBound(this.value)" | |
onblur="opentimetable.TimetableList.selectBound(this.value)"/> | |
</hbox> | |
<vbox id="opentimetable-bound-message-box" collapsed="true"/> | |
</vbox> | |
<vbox> | |
<hbox id="opentimetable-margintime-box" align="center" pack="start"> | |
<label value="&opentimetable.popuppanel.marginTimeBefore;"/> | |
<menulist id="opentimetable-margintime-menulist" label="10" editable="true"> | |
<menupopup> | |
<menuitem label="5"/> | |
<menuitem label="10"/> | |
<menuitem label="15"/> | |
<menuitem label="20"/> | |
<menuitem label="30"/> | |
</menupopup> | |
</menulist> | |
<label value="&opentimetable.popuppanel.marginTimeAfter;"/> | |
</hbox> | |
<hbox pack="end"> | |
<button label="&opentimetable.popuppanel.setTimetableButton.label;" | |
oncommand="opentimetable.setTimetable()"/> | |
<button label="&opentimetable.popuppanel.showTimetableButton.label;" | |
oncommand="opentimetable.showTimetable()"/> | |
</hbox> | |
</vbox> | |
<vbox id="opentimetable-message-box" collapsed="true"/> | |
</vbox> | |
</hbox> | |
</vbox> | |
</panel> | |
<panel id="opentimetable-route-suggest-panel" | |
class="opentimetable-suggest-panel" noautofocus="true" level="top"> | |
<label class="opentimetable-suggest-label" | |
value="&opentimetable.suggest.selectRoute.label;"/> | |
<vbox id="opentimetable-route-suggest-box"/> | |
</panel> | |
<panel id="opentimetable-place-suggest-panel" | |
class="opentimetable-suggest-panel" noautofocus="true" level="top"> | |
<label class="opentimetable-suggest-label" | |
value="&opentimetable.suggest.selectPlace.label;"/> | |
<vbox id="opentimetable-place-suggest-box"/> | |
</panel> | |
<panel id="opentimetable-bound-suggest-panel" | |
class="opentimetable-suggest-panel" noautofocus="true" level="top"> | |
<label class="opentimetable-suggest-label" | |
value="&opentimetable.suggest.selectBound.label;"/> | |
<vbox id="opentimetable-bound-suggest-box"/> | |
</panel> | |
<panel id="opentimetable-type-panel" noautofocus="true" noautohide="true" level="top"> | |
<description class="opentimetable-type-label">&opentimetable.selectType.label;</description> | |
<hbox id="opentimetable-type-box"/> | |
</panel> | |
</popupset> | |
</overlay> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment