summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/print_preview/print_preview.html
blob: f8624d70c86df92820986e69f1735e8070fb6931 (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
<!DOCTYPE html>
<html i18n-values="dir:textdirection;" id="print-preview">
<head>
<meta charset="utf-8">
<title i18n-content="title"></title>
<link rel="icon" href="../../../app/theme/print_preview_favicon.png">

<link rel="stylesheet" href="margins.css">
<link rel="stylesheet" href="print_preview.css">
<link rel="stylesheet" href="../shared/css/chrome_shared.css">
<link rel="stylesheet" href="../shared/css/throbber.css">
<link rel="stylesheet" href="../shared/css/widgets.css">

<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/event_tracker.js"></script>
<script src="chrome://resources/js/local_strings.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="chrome://print/print_preview.js"></script>
<script src="chrome://print/strings.js"></script>
</head>
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
  <div id="navbar-container">
    <header>
      <h1 id="navbar-content-title" i18n-content="title"></h1>
      <div id="print-header">
        <span id="print-summary"></span>
        <div class="button-strip">
          <button id="print-button" i18n-content="printButton" class="default">
              </button>
          <button id="cancel-button" i18n-content="cancelButton"></button>
        </div>
      </div>
    </header>
    <div id="settings">
      <div id="destination-option" class="two-column visible">
        <h1 i18n-content="destinationLabel"></h1>
        <div class="right-column">
          <select id="printer-list"></select>
        </div>
      </div>
      <include src="page_settings.html"></include>
      <include src="copies_settings.html"></include>
      <include src="layout_settings.html"></include>
      <include src="color_settings.html"></include>
      <include src="margin_settings.html"></include>
      <include src="header_footer_settings.html"></include>
      <div>
        <if expr="pp_ifdef('chromeos')">
          <button id="system-dialog-link"
              class="link-button preview-link-button"
              i18n-content="cloudPrintDialogOption"></button>
        </if>
        <if expr="not pp_ifdef('chromeos')">
          <button id="system-dialog-link"
              class="link-button preview-link-button"
              i18n-content="systemDialogOption"></button>
        </if>
        <div id="system-dialog-throbber" class="throbber" hidden></div>
      </div>
      <if expr="is_macosx">
        <div>
          <button id="open-pdf-in-preview-link"
              class="link-button preview-link-button"
              i18n-content="openPdfInPreviewOption"></button>
          <div id="open-preview-app-throbber" class="throbber" hidden></div>
        </div>
      </if>
    </div>
  </div>
  <div id="mainview">
    <div id="overlay-layer" class="invisible">
      <div id="messages">
        <div id="dancing-dots-text" hidden>
          <span id="loading"></span>
          <span><span>.</span><span>.</span><span>.</span></span>
        </div>
        <div id="custom-message" hidden></div>
        <div id="custom-message-with-dots"
          class="message-with-dots" hidden></div>
        <div id="error-action-area">
          <button id="error-button" hidden></button>
          <div id="native-print-dialog-throbber" class="throbber" hidden></div>
        </div>
      </div>
    </div>
  </div>
  <object id="dummy-viewer"
      type="application/x-google-chrome-print-preview-pdf"
      data="chrome://print/dummy.pdf"></object>
  <script src="chrome://resources/js/i18n_template.js"></script>
  <script src="chrome://resources/js/i18n_process.js"></script>
</body>
</html>