<tiles:insert template="/WEB-INF/view/common/admin/layout.jsp" flush="true">
	<tiles:put name="title"><bean:message key="labels.design_configuration" /></tiles:put>
	<tiles:put name="header" value="/WEB-INF/view/common/admin/header.jsp" />
	<tiles:put name="footer" value="/WEB-INF/view/common/admin/footer.jsp" />
	<tiles:put name="menu" value="/WEB-INF/view/common/admin/menu.jsp" />
	<tiles:put name="menuType" value="design" />
	<tiles:put name="headerScript" type="string"></tiles:put>
	<tiles:put name="body" type="string">

<div id="main">

	<div>
		<html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages>
		<html:errors/>
	</div>

	<s:form action="upload" enctype="multipart/form-data">
	<div class="form-table">
		<table style="width:500px;">
            <caption><bean:message key="labels.design_title_image"/></caption>
			<tbody>
				<tr>
					<th style="width:200px;">
						<bean:message key="labels.design_image_file"/>
					</th>
					<td style="text-align:center;">
						<input type="file" name="designImageFile" style="width:330;"/>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_image_file_name"/>
					</th>
					<td style="text-align:center;">
						<html:text property="designImageFileName" style="width:98%;"/>
					</td>
				</tr>
			</tbody>
			<tfoot>
				<tr>
					<td colspan="2">
						<input type="submit" name="update" value="<bean:message key="labels.design_button_upload"/>"/>
					</td>
				</tr>
			</tfoot>
		</table>
	</div>
	</s:form>

	<div class="form-table" style="margin-top:5px;">
		<table style="width:500px;">
            <caption><bean:message key="labels.design_file_title_edit"/></caption>
			<tbody>
				<tr>
					<th style="width:300px;">
						<bean:message key="labels.design_file_index"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="index"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_indexHtmlHead"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="indexHtmlHead"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_indexMain"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="indexMain"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_search"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="search"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_searchHtmlHead"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="searchHtmlHead"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_searchHeader"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="searchHeader"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_searchFooter"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="searchFooter"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_searchResults"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="searchResults"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_searchNoResult"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="searchNoResult"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<!-- Mobile -->
				<tr>
					<th>
						<bean:message key="labels.design_file_mobileIndex"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="mobileIndex"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_mobileIndexHtmlHead"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="mobileIndexHtmlHead"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_mobileIndexMain"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="mobileIndexMain"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_mobileSearch"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="mobileSearch"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_mobileSearchHtmlHead"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="mobileSearchHtmlHead"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_mobileSearchHeader"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="mobileSearchHeader"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_mobileSearchFooter"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="mobileSearchFooter"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_mobileSearchResults"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="mobileSearchResults"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.design_file_mobileSearchNoResult"/>
					</th>
					<td style="text-align:center;">
						<s:form>
							<html:hidden property="fileName" value="mobileSearchNoResult"/>
							<input type="submit" name="edit" value="<bean:message key="labels.design_edit_button"/>"/>
							<input type="submit" name="editAsUseDefault" value="<bean:message key="labels.design_use_default_button"/>"/>
						</s:form>
					</td>
				</tr>
		</table>
	</div>

</div>

	</tiles:put>
</tiles:insert>
