Mercurial > snowl
view extension/content/subscribe.xul @ 139:8763c90ce556
better support for feeds that require authentication; we now display a custom authentication dialog that hopefully makes more sense when it appears out of the blue; we also use it when subscribing the user to the feed, and it includes UI for the user to request that their credentials be remembered; finally, we use remembered credentials automatically across sessions instead of prompting at least once per session
author | Myk Melez <myk@mozilla.org> |
---|---|
date | Mon, 07 Jul 2008 01:22:44 -0700 |
parents | 58b04d16257c |
children | 8e61b480af10 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="chrome://global/skin/" type"text/css"?> <!-- XXX Don't we need a reference to the browser skin here? --> <?xml-stylesheet href="chrome://snowl/content/subscribe.css" type"text/css"?> <page id="subscribeToFeedPage" title="Subscribe to Feed" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" pack="center" align="center"> <script type="application/x-javascript" src="chrome://snowl/content/strands.js"/> <script type="application/x-javascript" src="chrome://snowl/content/subscribe.js"/> <vbox id="content"> <label flex="1" value="Subscribe to Feed" class="header"/> <separator class="groove-thin"/> <separator class="thin" orient="horizontal"/> <hbox align="center"> <label control="snowlLocationTextbox" value="Location:"/> <textbox id="snowlLocationTextbox" flex="1"/> <button label="Subscribe" default="true" oncommand="Subscriber.doSubscribe(event)"/> </hbox> <separator class="thin" orient="horizontal"/> <vbox> <label id="sourceTitle"/> <separator class="thin" orient="horizontal"/> <hbox id="connectingBox" class="statusBox" align="center"> <image id="connectingIcon" class="statusIcon"/> <label value="Connecting to feed" disabled="true"/> </hbox> <hbox id="gettingMessagesBox" class="statusBox" align="center"> <image id="gettingMessagesIcon" class="statusIcon"/> <label value="Getting stories" disabled="true"/> </hbox> <hbox id="doneBox" class="statusBox" align="center"> <image id="doneIcon" class="statusIcon"/> <label value="Done" disabled="true"/> </hbox> </vbox> <separator class="thin" orient="horizontal"/> <hbox> <button id="importOPMLButton" label="Import OPML..." oncommand="Subscriber.doImportOPML(event)"/> <spacer flex="1"/> <button label="Close" oncommand="Subscriber.doClose(event)"/> </hbox> </vbox> </page>