#288 wizard page
This commit is contained in:
parent
3d322c0d9c
commit
1e411cdff4
4 changed files with 158 additions and 93 deletions
|
@ -13,20 +13,17 @@
|
|||
<jsp:param name="menuType" value="wizard" />
|
||||
</jsp:include>
|
||||
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<bean:message key="labels.wizard_start_title" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
|
||||
<li class="active">Here</li>
|
||||
<li><s:link href="/admin/wizard/">Start</s:link></li>
|
||||
<li class="active"><bean:message key="labels.wizard_crawling_config_title" /></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
|
||||
<s:form>
|
||||
|
@ -75,12 +72,13 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<input type="submit" class="btn" name="index" value="<bean:message key="labels.wizard_button_cancel"/>" />
|
||||
<input type="submit" class="btn" name="startCrawlingForm"
|
||||
value="<bean:message key="labels.wizard_button_skip"/>" /> <input type="submit" class="btn btn-primary"
|
||||
name="crawlingConfig" value="<bean:message key="labels.wizard_button_register_again"/>" /> <input
|
||||
type="submit" class="btn btn-primary" name="crawlingConfigNext"
|
||||
value="<bean:message key="labels.wizard_button_register_next"/>" />
|
||||
<input type="submit" class="btn" name="index" value="<bean:message key="labels.wizard_button_cancel"/>" /> <input
|
||||
type="submit" class="btn" name="startCrawlingForm" value="<bean:message key="labels.wizard_button_skip"/>"
|
||||
/> <input type="submit" class="btn btn-primary" name="crawlingConfig"
|
||||
value="<bean:message key="labels.wizard_button_register_again"/>"
|
||||
/> <input type="submit" class="btn btn-primary" name="crawlingConfigNext"
|
||||
value="<bean:message key="labels.wizard_button_register_next"/>"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,20 +1,51 @@
|
|||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><tiles:insert template="/WEB-INF/view/common/admin/layout.jsp" flush="true">
|
||||
<tiles:put name="title"><bean:message key="labels.roletype_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="roleType" />
|
||||
<tiles:put name="headerScript" type="string"></tiles:put>
|
||||
<tiles:put name="body" type="string">
|
||||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Fess | <bean:message key="labels.wizard_title_configuration" /></title>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/head.jsp"></jsp:include>
|
||||
</head>
|
||||
<body class="skin-blue sidebar-mini">
|
||||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="system" />
|
||||
<jsp:param name="menuType" value="wizard" />
|
||||
</jsp:include>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<html:errors/>
|
||||
<br/>
|
||||
<s:link href="index"><bean:message key="labels.wizard_button_back"/></s:link>
|
||||
<div class="content-wrapper">
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<bean:message key="labels.wizard_start_title" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li class="active"><s:link href="/admin/wizard/">Start</s:link></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<section class="content">
|
||||
|
||||
</tiles:put>
|
||||
</tiles:insert>
|
||||
<div class="callout callout-danger lead">
|
||||
<h4>Error</h4>
|
||||
<p>
|
||||
<html:errors />
|
||||
</p>
|
||||
<p>
|
||||
<s:link href="index">
|
||||
<bean:message key="labels.wizard_button_back" />
|
||||
</s:link>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/footer.jsp"></jsp:include>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="${f:url('/js/admin2/jQuery-2.1.4.min.js')}" type="text/javascript"></script>
|
||||
<script src="${f:url('/js/admin2/bootstrap.min.js')}" type="text/javascript"></script>
|
||||
<script src="${f:url('/js/admin2/app.min.js')}" type="text/javascript"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -13,59 +13,53 @@
|
|||
<jsp:param name="menuType" value="wizard" />
|
||||
</jsp:include>
|
||||
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<bean:message key="labels.wizard_start_title" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
|
||||
<li class="active">Here</li>
|
||||
<li class="active"><s:link href="/admin/wizard/">Start</s:link></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Start Configuration Wizard</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<%-- Message: BEGIN --%>
|
||||
<div>
|
||||
<html:messages id="msg" message="true">
|
||||
<div class="alert-message info">
|
||||
<bean:write name="msg" ignore="true" />
|
||||
</div>
|
||||
</html:messages>
|
||||
<html:errors />
|
||||
</div>
|
||||
<%-- Message: END --%>
|
||||
<s:form>
|
||||
<s:form>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Start Configuration Wizard</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<%-- Message: BEGIN --%>
|
||||
<div>
|
||||
<p class="span8">
|
||||
<bean:message key="labels.wizard_start_desc" />
|
||||
</p>
|
||||
<div class="span8">
|
||||
<input type="submit" name="crawlingConfigForm" class="btn small"
|
||||
value="<bean:message key="labels.wizard_start_button"/>" />
|
||||
</td>
|
||||
</div>
|
||||
<html:messages id="msg" message="true">
|
||||
<div class="alert-message info">
|
||||
<bean:write name="msg" ignore="true" />
|
||||
</div>
|
||||
</html:messages>
|
||||
<html:errors />
|
||||
</div>
|
||||
</s:form>
|
||||
<%-- Message: END --%>
|
||||
<p>
|
||||
<bean:message key="labels.wizard_start_desc" />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<input type="submit" name="crawlingConfigForm" class="btn btn-primary"
|
||||
value="<bean:message key="labels.wizard_start_button"/>"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</s:form>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -1,37 +1,79 @@
|
|||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><tiles:insert template="/WEB-INF/view/common/admin/layout.jsp" flush="true">
|
||||
<tiles:put name="title"><bean:message key="labels.wizard_title_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="wizard" />
|
||||
<tiles:put name="headerScript" type="string"></tiles:put>
|
||||
<tiles:put name="body" type="string">
|
||||
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Fess | <bean:message key="labels.wizard_title_configuration" /></title>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/head.jsp"></jsp:include>
|
||||
</head>
|
||||
<body class="skin-blue sidebar-mini">
|
||||
<div class="wrapper">
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/header.jsp"></jsp:include>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/sidebar.jsp">
|
||||
<jsp:param name="menuCategoryType" value="system" />
|
||||
<jsp:param name="menuType" value="wizard" />
|
||||
</jsp:include>
|
||||
|
||||
<div id="main">
|
||||
<div class="content-wrapper">
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<bean:message key="labels.wizard_start_crawling_title" />
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><s:link href="/admin/wizard/">Start</s:link></li>
|
||||
<li><bean:message key="labels.wizard_crawling_config_title" /></li>
|
||||
<li class="active"><bean:message key="labels.wizard_start_crawling_title" /></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<%-- Message: BEGIN --%>
|
||||
<div>
|
||||
<html:messages id="msg" message="true">
|
||||
<div class="alert-message info"><bean:write name="msg" ignore="true" /></div>
|
||||
</html:messages>
|
||||
<html:errors />
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
|
||||
<s:form>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Start Crawling</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<%-- Message: BEGIN --%>
|
||||
<div>
|
||||
<html:messages id="msg" message="true">
|
||||
<div class="alert-message info">
|
||||
<bean:write name="msg" ignore="true" />
|
||||
</div>
|
||||
</html:messages>
|
||||
<html:errors />
|
||||
</div>
|
||||
<%-- Message: END --%>
|
||||
|
||||
<p class="span8">
|
||||
<bean:message key="labels.wizard_start_crawling_desc" />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<input type="submit" class="btn btn-primary" name="startCrawling"
|
||||
value="<bean:message key="labels.wizard_button_start_crawling"/>"
|
||||
/> <input type="submit" class="btn" name="index" value="<bean:message key="labels.wizard_button_finish"/>" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</s:form>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
<%-- Message: END --%>
|
||||
|
||||
<s:form>
|
||||
<h3><bean:message key="labels.wizard_start_crawling_title"/></h3>
|
||||
<div>
|
||||
<p class="span8">
|
||||
<bean:message key="labels.wizard_start_crawling_desc"/>
|
||||
</p>
|
||||
<div class="span8">
|
||||
<input type="submit" class="btn small" name="startCrawling" value="<bean:message key="labels.wizard_button_start_crawling"/>"/>
|
||||
<input type="submit" class="btn small" name="index" value="<bean:message key="labels.wizard_button_finish"/>"/>
|
||||
</div>
|
||||
<jsp:include page="/WEB-INF/view/common/admin2/footer.jsp"></jsp:include>
|
||||
|
||||
</div>
|
||||
</s:form>
|
||||
|
||||
</div>
|
||||
|
||||
</tiles:put>
|
||||
</tiles:insert>
|
||||
<script src="${f:url('/js/admin2/jQuery-2.1.4.min.js')}" type="text/javascript"></script>
|
||||
<script src="${f:url('/js/admin2/bootstrap.min.js')}" type="text/javascript"></script>
|
||||
<script src="${f:url('/js/admin2/app.min.js')}" type="text/javascript"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue