pluginwizard_manage_portlets.html

 1   <#include "sidebar.html" />   
 2   
 3   <div class="row">
 4   	<div class="container">
 5   		<div class="panel panel-default">
 6   			<div class="panel-body">
 7   				<div class="col-md-3">             
 8   					<@sidebar step="portlet" />
 9   					<div class="well">         
 10   						#i18n{pluginwizard.pluginwizard_manage_portlets.pageHelp}
 11   					</div>  
 12   				</div>
 13   
 14   				<div class="col-md-9">
 15   
 16   					<#include "infos_handler.html" />
 17   
 18   					<h4>#i18n{pluginwizard.pluginwizard_manage_portlets.pageTitle}</h4>
 19   
 20   					<div class="pull-right"> 
 21   						<form class="default-form" method="post" action="jsp/site/Portal.jsp">
 22   							<input type="hidden" name="page" value="pluginwizard" />
 23   							<input type="hidden" name="view" value="createPortlet" /> 
 24   							<button type="submit" class="btn btn-primary">
 25   								<i class="glyphicon glyphicon-plus"></i>
 26   								#i18n{pluginwizard.pluginwizard_manage_portlets.buttonAddPortlet}
 27   							</button>
 28   						</form>
 29   					</div>
 30   
 31   				   <table class="table table-condensed table-striped">
 32   						<thead>
 33   							<tr>
 34   								<th>#i18n{pluginwizard.pluginwizard_manage_portlets.labelPortletClass}</th>
 35   								<th>#i18n{pluginwizard.pluginwizard_manage_portlets.labelPortletTypeName}</th>
 36   								<th>#i18n{pluginwizard.pluginwizard_manage_portlets.labelPortletJspBaseName}</th>
 37   								<th>#i18n{pluginwizard.pluginwizard_manage_portlets.labelPortletAction}</th>
 38   							</tr>
 39   						</thead>
 40   
 41   						<tbody>
 42   							<#if plugin_portlets?? > <#list plugin_portlets as portlet >
 43   							<tr>
 44   								<#assign nEndIndex = portlet.portletClass?length>
 45   								<#assign nBeginIndex = portlet.portletClass?last_index_of(".")+1>
 46   
 47   								<td>${portlet.portletClass?substring(nBeginIndex, nEndIndex)}
 48   								</td>
 49   								<td>${portlet.portletTypeName}</td>
 50   								<td>${portlet.jspBaseName}</td>
 51   
 52   								<td>
 53   									<a class="btn btn-primary btn-small" href="jsp/site/Portal.jsp?page=pluginwizard&view=modifyPortlet&portletId=${portlet.id}" 
 54   									   title="#i18n{pluginwizard.pluginwizard_manage_plugin_admin_features.buttonModifyFeature}" >
 55   										<i class="glyphicon glyphicon-edit"></i>
 56   									</a>
 57   									<a class="btn btn-danger btn-small" href="jsp/site/Portal.jsp?page=pluginwizard&action=confirmRemovePortlet&portletId=${portlet.id}" 
 58   									   title="#i18n{pluginwizard.pluginwizard_manage_plugin_admin_features.buttonRemoveFeature}" >
 59   										<i class="glyphicon glyphicon-trash"></i>
 60   									</a>
 61   								</td>
 62   								</#list> 
 63   								</#if>
 64   							</tr>
 65   						</tbody>
 66   					</table>
 67   
 68   					<div class="form-group"> 
 69   						<form class="default-form" method="post" action="jsp/site/Portal.jsp">
 70   							<input type="hidden" name="page" value="pluginwizard" />
 71   
 72   							<button type="submit" name="view_manageApplications" class="btn btn-primary">
 73   								<i class="glyphicon glyphicon-chevron-left"></i>
 74   								#i18n{pluginwizard.pluginwizard_manage_portlets.buttonBack}
 75   							</button>
 76   							<button type="submit" name="view_manageRest" class="btn btn-primary">
 77   								#i18n{pluginwizard.pluginwizard_manage_portlets.buttonNext}
 78   								<i class="glyphicon glyphicon-chevron-right"></i>
 79   							</button>
 80   						</form>
 81   					</div>
 82   				</div>
 83   				<div class="clearfix"></div>
 84   			</div>
 85   		</div>
 86   	</div>
 87   </div>