📄 extensionstorecontent.jspf
字号:
<%@ page import="com.sslexplorer.boot.Util" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="/sslexplorer/taglibs/input" prefix="input" %>
<%@ taglib uri="/sslexplorer/taglibs/explorer" prefix="explorer" %>
<%@ taglib uri="/sslexplorer/taglibs/table" prefix="table"%>
<%@ taglib uri="/sslexplorer/taglibs/tabs" prefix="tabs"%>
<div id="page_showExtensionStore" class="tabbedForm">
<explorer:form autocomplete="OFF" method="post" action="/showExtensionStore.do">
<html:hidden property="referer"/>
<html:hidden property="actionTarget"/>
<html:hidden property="selectedTab"/>
<logic:empty name="extensionStoreForm" property="descriptor">
<table>
<tr>
<td>
<bean:message key="extensionStore.notConnected.text" bundle="extensions"/>
</td>
<td>
<input type="button"
onclick="self.location = '/showExtensionStore.do?action=list&connect';"
value="<bean:message key='extensionStore.notConnected.connect' bundle='extensions'/>"
/>
</td>
</tr>
</table>
</logic:empty>
<bean:define id="extensionStoreForm" name="extensionStoreForm" type="com.sslexplorer.extensions.forms.ExtensionStoreForm"/>
<tabs:tabSet name="extensionStoreForm" bundle="" resourcePrefix="">
<tabs:tabHeadings/>
<logic:iterate name="extensionStoreForm" property="tabbedCategories" id="cat" type="com.sslexplorer.extensions.ExtensionBundleCategoryItem">
<tabs:tab tabName="<%= cat.getCategory() %>">
<logic:iterate name="cat" property="types" id="typeItem" type="com.sslexplorer.extensions.ExtensionBundleTypeItem">
<table>
<tr class="typeTitle">
<td>
<bean:message key="<%= "extensionStore.type." + typeItem.getType() + ".name" %>" bundle="extensions" />
</td>
</tr>
<tr class="typeDescription">
<td>
<bean:message key="<%= "extensionStore.type." + typeItem.getType() + ".description" %>" bundle="extensions" />
</td>
</tr>
<tr class="typeItems">
<td>
<table class="dialog_form_table">
<thead>
<tr class="titles">
<td class="extension">
<bean:message key="extensionStore.extension" bundle="extensions"/>
</td>
<td class="license">
<bean:message key="extensionStore.license" bundle="extensions" />
</td>
<td class="actions">
<bean:message key="extensionStore.actions" bundle="extensions" />
</td>
</tr>
</thead>
<tbody>
<logic:iterate name="typeItem" property="extensionBundles" id="element" type="com.sslexplorer.extensions.ExtensionBundle">
<tr class="values">
<td class="extension">
<logic:notEmpty name="element" property="productURL">
<input:toolTip href="#" onclick="<%= "window.open('" + Util.escapeForJavascriptString(element.getProductURL()) + "');" %>" name="element" property="description">
<bean:write name="element" property="name"/>
</input:toolTip>
</logic:notEmpty>
<logic:empty name="element" property="productURL">
<input:toolTip href="#" name="element" property="description">
<bean:write name="element" property="name"/>
</input:toolTip>
</logic:empty>
</td>
<td class="license">
<bean:write name="element" property="license" />
</td>
<td class="actions">
<logic:equal value="0" name="element" property="type">
<tiles:insert flush="false" attribute="actionLink">
<tiles:put name="actionName" value="updateExtension"/>
<tiles:put name="bundle" value="extensions"/>
<tiles:put name="nameKey" value="action.updateExtension.name"/>
<tiles:put name="descriptionKey" value="action.updateExtension.description"/>
<tiles:put name="actionOnclick" value=""/>
<tiles:put name="actionPath" value="<%= "/showExtensionStore.do?actionTarget=update&id=" + element.getId() %>"/>
</tiles:insert>
<tiles:insert flush="false" attribute="actionLink">
<tiles:put name="actionName" value="removeExtension"/>
<tiles:put name="bundle" value="extensions"/>
<tiles:put name="nameKey" value="action.removeExtension.name"/>
<tiles:put name="descriptionKey" value="action.removeExtension.description"/>
<tiles:put name="actionOnclick" value=""/>
<tiles:put name="actionPath" value="<%= "/removeExtension.do?id=" + element.getId() %>"/>
</tiles:insert>
</logic:equal>
<logic:equal value="1" name="element" property="type">
<tiles:insert flush="false" attribute="actionLink">
<tiles:put name="actionName" value="removeExtension"/>
<tiles:put name="bundle" value="extensions"/>
<tiles:put name="nameKey" value="action.removeExtension.name"/>
<tiles:put name="descriptionKey" value="action.removeExtension.description"/>
<tiles:put name="actionOnclick" value=""/>
<tiles:put name="actionPath" value="<%= "/removeExtension.do?id=" + element.getId() %>"/>
</tiles:insert>
</logic:equal>
<logic:equal value="2" name="element" property="type">
<tiles:insert flush="false" attribute="actionLink">
<tiles:put name="actionName" value="installExtension"/>
<tiles:put name="bundle" value="extensions"/>
<tiles:put name="nameKey" value="action.installExtension.name"/>
<tiles:put name="descriptionKey" value="action.installExtension.description"/>
<tiles:put name="actionOnclick" value=""/>
<tiles:put name="actionPath" value="<%= "/showExtensionStore.do?actionTarget=install&id=" + element.getId() %>"/>
</tiles:insert>
</logic:equal>
<logic:equal value="3" name="element" property="type">
<tiles:insert flush="false" attribute="actionLink">
<tiles:put name="actionName" value="configureExtension"/>
<tiles:put name="bundle" value="extensions"/>
<tiles:put name="nameKey" value="action.configureExtension.name"/>
<tiles:put name="descriptionKey" value="action.configureExtension.description"/>
<tiles:put name="actionPath" value="#"/>
<tiles:put name="actionOnclick" value="<%= "window.open('" + element.getInstructionsURL() + "')"%>"/>
</tiles:insert>
</logic:equal>
</td>
</tr>
</logic:iterate>
</tbody>
</table>
</td>
</tr>
</table>
</logic:iterate>
</tabs:tab>
</logic:iterate>
</tabs:tabSet>
</explorer:form>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -