Here is a simple upload.html for testing the template.

<div xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" data-template="templates:surround" data-template-with="templates/page.html" data-template-at="content" data-template-options="noscript=yes">
   
<xf:model>
       
<xf:instance xmlns="">
           
<data>
               
<file filename="" mediatype="" size=""/>
           
</data>
       
</xf:instance>
       
<xf:bind nodeset="/data/file" type="xs:anyURI"/>
       
<xf:submission id="load" resource="{$restxq}upload" method="put" replace="none" ref="//file">
           
<xf:message ev:event="xforms-submit-done" level="ephemeral">file uploaded.</xf:message>
           
<xf:message ev:event="xforms-submit-error" level="ephemeral">An error occurred.</xf:message>
       
</xf:submission>
   
</xf:model>
   
<div class="row-fluid">
       
<div id="content" class="span12">
           
<div class="page-header">
               
<h1 data-template="config:app-title">Generated page</h1>
           
</div>
           
<div class="alert alert-success">adad</div>
           
<xf:upload ref="/data/file" accept="application/zip,.xsd">
               
<xf:filename ref="@filename"/>
               
<xf:mediatype ref="@mediatype"/>
               
<xf:size ref="@size"/>
               
<xf:send ev:event="xforms-value-changed" submission="load"/>
           
</xf:upload>
           
<br/>
           
<xf:output ref="/data/file/@filename">
               
<xf:label>File: </xf:label>
           
</xf:output>
           
<br/>
           
<xf:output ref="/data/file/@mediatype">
               
<xf:label>Media: </xf:label>
           
</xf:output>
           
<br/>
           
<xf:output ref="/data/file/@size">
               
<xf:label>Size: </xf:label>
           
</xf:output>
           
<br/>
           
<xf:output ref="/data/file">
               
<xf:label>Content: </xf:label>
           
</xf:output>
       
</div>
   
</div>
</div>

On Aug 13, 2013, at 12:53 PM, Loren Cahlander <loren.cahlander@gmail.com> wrote:

If you go to http://greatlinkup.com:8080/exist/apps/schema/tsgen.html you will see the navbar is messed up.

<munged.png>

If I comment out the xf:upload, I get:

<noupload.png>

I have been looking through the CSS files and cannot find the problem.