pluginwizard_create_portlet.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_create_portlet.pageHelp}
11 </div>
12 </div>
13
14 <div class="col-md-9">
15
16 <form class="form-horizontal" method="post" action="jsp/site/Portal.jsp" >
17 <fieldset>
18 <legend>#i18n{pluginwizard.pluginwizard_create_portlet.pageTitle}</legend>
19
20 <input type="hidden" name="page" value="pluginwizard" />
21
22 <#include "errors_handler.html" />
23
24 <div class="form-group">
25 <label class="control-label col-md-3">#i18n{pluginwizard.pluginwizard_create_portlet.labelPortletClass} :</label>
26 <div class="col-md-9">
27 <input class="form-control input-md" type="text" name="portlet_class" value="<#if portlet.portletClass??>${portlet.portletClass}<#else>${plugin_model.pluginName?keep_after("-")?cap_first}Portlet</#if>" />
28 </div>
29 </div>
30
31 <div class="form-group">
32 <label class="col-md-3 control-label">#i18n{pluginwizard.pluginwizard_create_portlet.labelPortletTypeName} :</label>
33 <div class="col-md-9">
34 <input class="form-control input-md" type="text" name="portlet_type_name" value="<#if portlet.portletTypeName??>${portlet.portletTypeName}<#else>${plugin_model.pluginName?keep_after("-")?upper_case}_PORTLET</#if>" />
35 </div>
36 </div>
37
38 <div class="form-group">
39 <label class="col-md-3 control-label">#i18n{pluginwizard.pluginwizard_create_portlet.labelJspBaseName} :</label>
40 <div class="col-md-9">
41 <input class="form-control input-md" type="text" name="jsp_base_name" value="<#if portlet.jspBaseName??>${portlet.jspBaseName}<#else>Portlet${plugin_model.pluginName?keep_after("-")?cap_first}</#if>" />
42 </div>
43 </div>
44
45
46 <div class="form-group">
47 <div class="col-md-offset-3 col-md-9">
48 <button type="submit" name="action_createPortlet" class="btn btn-primary">#i18n{pluginwizard.pluginwizard_create_portlet.buttonCreatePortlet}</button>
49 <button type="submit" name="view_managePortlets" class="btn">#i18n{pluginwizard.pluginwizard_create_portlet.buttonBack}</button></div>
50 </div>
51 </fieldset>
52 </form>
53 </div>
54 <div class="clearfix"></div>
55 </div>
56 </div>
57 </div>
58 </div>
59
60