summaryrefslogtreecommitdiff
path: root/installer/pages/mode.tmpl
blob: 5033b935a29646f8fd6e3143da20ffb601841960 (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!--
/*
 (c) Copyright 2001-2007 Hewlett-Packard Development Company, L.P.

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA

 Author: Pete Parks
*/ 
-->
<html>
<HEAD>
    
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" />
       
    <link rel="stylesheet" type="text/css" href="../styles/hplip.css" />
    <script type="text/javascript" src="../scripts/hplip.js"></script>
    <script type="text/javascript">
    <!--
    function changeCheckbox(number) {
        checkboxes = document.getElementsByName("install_type");
        var val1 = checkboxes[0].checked  ? 1 : 0;
        var path = "mode_controller?auto_mode=" + val1;
        //document.getElementById("next_button").value = path;
        setLocationRef(path);
    };

    if(document.addEventListener){ 
        document.addEventListener("keyup", captureKey,false);
    }else{ 
        document.attachEvent("onkeyup", captureKey);
    }

    function captureKey(events){
        if("undefined" != (typeof window.event)){ 
            events = window.event;
        }
        if("keyup" == events.type){
            checkKey(events.keyCode);
        }
    }

    function checkKey(keyID)
    {
       switch(keyID)
       {
          case 13:  //mode_controller?auto_mode=1
            indexClickActions( "next_button", "mode_controller?auto_mode=1");
            break;
       }
    }
    -->
    </script>
    
<TITLE>$installer_title</TITLE>
</HEAD>
<BODY onload=" 
         
        ">
    
<!-- Header Div -->    
<div id="header_box" class="background_box">
  <div class='header_title_class'>
    <div id='hp_blue_logo'><img src='images/hplogo.png' alt=''/></div>
    <div id='header_title'>$header_string</div>
    <div id='header_title2'>$header_string</div>
    <div id='header_subtitle'>$sub_header_string</div>
    <div id='header_subtitle2'>$sub_header_string</div>
    <div id='tux_logo'><img src='images/tux.png' alt=''/></div>
  </div>
</div>

<!-- Body Div -->
<div class="body_content">
    
    <div id="message_title">$mode_message_title</div>
    
    <div id="message_body">
        <form name="modeForm">
            <div id="radio1">
                <input type="radio" onclick="changeCheckbox(0)" name="install_type" value="auto_install" checked >$mode_radio1
            </div>
            <div id="radio2">
                <input type="radio" onclick="changeCheckbox(1)" name="install_type" value="custom_install">$mode_radio2
            </div>
        </form>
    </div>
    
    <div id="message_footer">
    </div>
</div>

<!-- Button Div -->
<div class="button_options">
    
    <div id="quit_button" OnSelectStart='return false;' onClick='todoOnQuit("quit");' >
      <img src="../images/button1.png" width="100" height="35">
      <div id="quitHiliteText">$quit_button</div>
      <div id="quitText">$quit_button</div>
    </div>

    <div id="next_button" OnSelectStart='return false;' onClick='indexClickActions( "next_button", "mode_controller?auto_mode=1");' >
      <img src="../images/button1.png" width="100" height="35">
      <div id="nextHiliteText">$next_button</div>
      <div id="nextText">$next_button</div>
    </div>
    
</div>
    
</BODY>
</HTML>