~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/apps/settings/template.html

  • Committer: David Coles
  • Date: 2010-07-29 10:51:30 UTC
  • Revision ID: coles.david@gmail.com-20100729105130-el3ut0zwisvgvthu
Fix issue with CodeMirror being wider than the screen and scrolling.

Seems like width: 100% + padding/margin causes the actual width to be more 
than 100%. Though if the CodeMirror element just auto-calculate the width it's 
fine. Also fixed similar issue with the <textbox>.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html xmlns="http://www.w3.org/1999/xhtml"
2
 
      xmlns:xi="http://www.w3.org/2001/XInclude"
3
 
      xmlns:py="http://genshi.edgewall.org/" py:strip="">
4
 
 
5
 
  <body py:strip="">
6
 
    <div id="ivle_padding">
7
 
 
8
 
      <h2>User Profile</h2>
9
 
      <p>
10
 
        <span id="login"></span>
11
 
      </p>
12
 
      <p id="role"></p>
13
 
      <h3>Change settings</h3>
14
 
      <form action="">
15
 
        <table>
16
 
          <tr>
17
 
            <td>Display name:</td>
18
 
            <td>
19
 
              <input type="text"
20
 
                  name="nick" id="nick" size="40" />
21
 
            </td>
22
 
          </tr>
23
 
          <tr>
24
 
            <td>Email address:</td>
25
 
            <td>
26
 
              <input type="text"
27
 
                  name="email" id="email" size="40" />
28
 
            </td>
29
 
          </tr>
30
 
        </table>
31
 
        <div id="changepassword"></div>
32
 
        <p id="result"></p>
33
 
        <p>
34
 
          <input value="Save" onclick="return save_settings()" id="save"
35
 
                type="submit" />
36
 
          <input value="Revert" onclick="return revert_settings()" id="revert"
37
 
                type="reset" />
38
 
        </p>
39
 
      </form>
40
 
      <div id="notices"></div>
41
 
    </div>
42
 
  </body>
43
 
</html>