~john-koepi/ubuntu/trusty/golang/default

« back to all changes in this revision

Viewing changes to lib/godoc/codewalk.html

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-04-20 17:36:48 UTC
  • Revision ID: james.westby@ubuntu.com-20110420173648-ifergoxyrm832trd
Tags: upstream-2011.03.07.1
Import upstream version 2011.03.07.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--
 
2
        Copyright 2010 The Go Authors. All rights reserved.
 
3
        Use of this source code is governed by a BSD-style
 
4
        license that can be found in the LICENSE file.
 
5
-->
 
6
 
 
7
<script src="http://www.google.com/jsapi"></script>
 
8
<script>google.load("jquery", "1.3.2");</script>
 
9
<style type='text/css'>@import "/doc/codewalk/codewalk.css";</style>
 
10
<script type="text/javascript" src="/doc/codewalk/codewalk.js"></script>
 
11
 
 
12
<div id="codewalk-main">
 
13
  <div class="left" id="code-column">
 
14
    <div id='sizer'></div>
 
15
    <div id="code-area">
 
16
      <div id="code-header" align="center">
 
17
        <a id="code-popout-link" href="" target="_blank">
 
18
          <img title="View code in new window" alt="Pop Out Code" src="/doc/codewalk/popout.png" style="display: block; float: right;"/>
 
19
        </a>
 
20
        <select id="code-selector">
 
21
          {.repeated section File}
 
22
          <option value="/doc/codewalk/?fileprint=/{@|html-esc}">{@|html-esc}</option>
 
23
          {.end}
 
24
        </select>
 
25
      </div>
 
26
      <div id="code">
 
27
        <iframe class="code-display" name="code-display" id="code-display"></iframe>
 
28
      </div>
 
29
    </div>
 
30
    <div id="code-options" class="setting">
 
31
      <span>code on <a id="set-code-left" class="selected" href="#">left</a> &bull; <a id="set-code-right" href="#">right</a></span>
 
32
      <span>code width <span id="code-column-width">70%</span></span>
 
33
      <span>filepaths <a id="show-filepaths" class="selected" href="#">shown</a> &bull; <a id="hide-filepaths" href="#">hidden</a></span>
 
34
    </div>
 
35
  </div>
 
36
  <div class="right" id="comment-column">
 
37
    <div id="comment-area">
 
38
      {.repeated section Step}
 
39
      <div class="comment first last">
 
40
        <a class="comment-link" href="/doc/codewalk/?fileprint=/{File|html-esc}&lo={Lo|html-esc}&hi={Hi|html-esc}#mark" target="code-display"></a>
 
41
        <div class="comment-title">{Title|html-esc}</div>
 
42
        <div class="comment-text">
 
43
        {.section Err}
 
44
        ERROR LOADING FILE: {Err|html-esc}<br/><br/>
 
45
        {.end}
 
46
        {XML}
 
47
        </div>
 
48
        <div class="comment-text file-name"><span class="path-file">{@|html-esc}</span></div>
 
49
      </div>
 
50
      {.end}
 
51
    </div>
 
52
    <div id="comment-options" class="setting">
 
53
      <a id="prev-comment" href="#"><span class="hotkey">p</span>revious step</a>
 
54
      &bull;
 
55
      <a id="next-comment" href="#"><span class="hotkey">n</span>ext step</a>
 
56
    </div>
 
57
  </div>
 
58
</div>