Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: d8769ecf94fdc8a06758761ba7d4230cad0ddf21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!-- **************************************************************************
#
# Copyright  (c) 2004-2009 Oracle Corporation.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors: 
#
#   
#        
#
#************************************************************************** --> 


<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
  <l:layout title="${%Permission Denied}">
    <l:header />
    <l:side-panel />
    <l:main-panel>
      <h1>
        <img src="${imagesURL}/48x48/secure.gif" width="48" height="48" alt=""/>
        ${%Permission Denied}
      </h1>
      <div>
        ${%blurb}

        <f:form method="post" action="start">
          <f:entry title="${%Username}">
            <f:textbox name="username" value="root" />
          </f:entry>

          <f:entry title="${%Password}">
            <f:password name="password" />
          </f:entry>

          <f:block>
            <f:submit value="${%OK}" style="margin-top:1em;" />
          </f:block>
        </f:form>

        <input type="button" value="${%See errors...}" onclick="showDetails()" id="button"/>
        <pre id="details" style="display:none"><st:out value="${message}"/></pre>
        <script>
          function showDetails() {
            $('button').style.display="none";
            $('details').style.display="block";
          }
        </script>
      </div>
    </l:main-panel>
  </l:layout>
</j:jelly>

Back to the top