index.gsp

来自「一个为 Java/J2EE生成的最简化CAPTCHA的框架」· GSP 代码 · 共 23 行

GSP
23
字号
<html>
    <head>
		<meta name="layout" content="main" />
    </head>
    <body>
        <h1 style="margin-left:20px;">SimpleCaptcha</h1>
        <div style="margin-left:20px;margin-bottom:20px;width:90%">Below are some images which have been generated by SimpleCaptcha. Reloading the page will yield new images. To see the code responsible for generating the CAPTCHA look at the source for the controller under <code>grails-app/controllers</code>.</div>
        <div class="dialog" style="margin-left:20px;width:60%;">
            <ul>
                <g:each var="c" in="${grailsApplication.controllerClasses}">
                    <li class="controller"><h1>${c.logicalPropertyName}Controller</h1><br/>
                    <g:each var="uri" in="${c.URIs}">
                        <g:if test="${(uri.endsWith('**') == false) && (uri.endsWith('/') == false)}">
                            <a href="${createLinkTo(file:uri)}"><img src="${createLinkTo(file:uri)}"> ${createLinkTo(file:uri)}</a><br />
                        </g:if>
                    </g:each>
                    </li>
                </g:each>
            </ul>
        </div>
    </body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?