app/views/list/email.html.erb in photoviewer-1.1.1 vs app/views/list/email.html.erb in photoviewer-1.1.2

- old
+ new

@@ -5,29 +5,81 @@ xmlns:ext="http://www.mobio.com/ext" xmlns:ev="http://www.w3.org/2001/xml-events"> <xhtml:head> <xf:model> <xf:instance id="emails" src="get_mails"/> + <xf:instance id="msg"> + <data xmlns=""> + <checked/> + </data> + </xf:instance> </xf:model> </xhtml:head> <%= render :partial => 'base' %> <xhtml:body style="body"> + <output height="1ex" style="white" + value="concat('Selected email: ', instance('msg')/checked)"/> + - <grid height="100%" style="grid"> + <button height="1ex"> + <label>Update Selected Email</label> + <xf:setvalue + ref="instance('msg')/checked" + value="concat-nodeset(instance('emails')/email[@check='1']/@id)" ev:event="DOMActivate" /> + </button> + + <grid height="50%" style="grid"> <rowset nodeset="instance('emails')/email"> <headers height="1ex"> + <header label=" " style="header" /> <header label="Subject" style="header" ref="." sort="click"/> <header label="From" style="header" ref="@from" sort="click" /> <header label="Date" style="header" ref="date" sort="click"/> </headers> <row style="rowheader"> <rowheader height="1ex" style="rowheader" width="2em"> <output height="1ex" style="white" ref="@id"/> </rowheader> + <item height="1ex" width="3em" style="item"> + + <checkgroup ref="@check" width="3em" height="1ex"> + <itemlist height="0"> + <item height="1ex"> + <value>1</value> + </item> + </itemlist> + </checkgroup> + </item> + <item height="1ex" width="23em" style="item"> + <output ref="." style="white" height="1ex" /> + </item> + <item height="1ex" width="15em" style="item"> + <output ref="@from" style="white" height="1ex"/> + </item> + <item height="1ex" width="5em" style="item"> + <output ref="@date" style="white" height="1ex"/> + </item> + </row></rowset> + + </grid> + + + + <grid height="50%" style="grid"> + <rowset nodeset="instance('emails')/email"> + <headers height="1ex"> + <header label="Subject" style="header" ref="." sort="click"/> + <header label="From" style="header" ref="@from" sort="click" /> + <header label="Date" style="header" ref="date" sort="click"/> + </headers> + <row style="rowheader"> + <rowheader height="1ex" style="rowheader" width="2em"> + <output height="1ex" style="white" ref="@id"/> + </rowheader> <item height="1ex" width="23em" style="item"> <output ref="." style="white" height="1ex" /> </item> <item height="1ex" width="15em" style="item"> @@ -35,10 +87,9 @@ </item> <item height="1ex" width="5em" style="item"> <output ref="@date" style="white" height="1ex"/> </item> </row></rowset></grid> - <footer style="footer"> <softkey position="1"> <label>Back</label> <back ev:event="DOMActivate" /> </softkey>