summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/print_preview.html
blob: b9163315801f0ea3ed6ff5b26ef62ed7478cff91 (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
<!DOCTYPE HTML>
<html i18n-values="dir:textdirection;">
<head>
<meta charset="utf-8">
<title i18n-content="title"></title>

<link rel="stylesheet" href="dom_ui.css">
<link rel="stylesheet" href="print_preview.css">

<script src="chrome://resources/js/local_strings.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="print_preview.js"></script>
</head>
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
<div id="navbar-container">
  <div id="destination-container">
    <h1>Destination</h1>
    <select id="printer-list"></select>
    <div id="buttons">
      <button id="print-button" i18n-content="printButton"></button>
      <button id="cancel-button" i18n-content="cancelButton"></button>
    </div>
  </div>

  <section>
    <h3>Pages</h3>
    <div>
      <input id="pages" type="textbox"></input>
      <label>
        <input id="all-pages" type="checkbox">
        <span i18n-content="optionAllPages"></span>
      </label>
      <div>
        <label>
          <input id="two-sided" type="checkbox">
          <span i18n-content="optionTwoSided"></span>
        </label>
      </div>
    </div>
  </section>

  <section>
    <h3>Copies</h3>
    <div>
      <input id="copies" type="textbox"></input>
      <div>
        <label>
          <input id="collate" type="checkbox">
          <span i18n-content="optionCollate"></span>
        </label>
      </div>
    </div>
  </section>

  <section>
    <h3>Layout</h3>
    <div>
      <select id="layout">
        <option i18n-content="optionPortrait"></option>
        <option i18n-content="optionLandscape"></option>
      </select>
    </div>
  </section>

  <section>
    <h3>Color</h3>
    <div>
      <select id="color">
        <option i18n-content="optionColor"></option>
        <option i18n-content="optionBw"></option>
      </select>
    </div>
  </section>

</div>
<div id="separator"></div>
<div id="mainview">
  <p id="loading" i18n-content="loading"></p>
  <p id="no-plugin" class="hidden" i18n-content="noPlugin"></p>
</div>

<script>
console.log('in bottom script');
</script>
</body>
</html>