Commits

Ralph Bean committed 48bea76

dos2unix

  • Participants
  • Parent commits 3fbe688

Comments (0)

Files changed (2)

File htdocs/index.html

-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
-    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-    <link href="css/tosca.css" rel="stylesheet">
-    <link href="css/panes.css" rel="stylesheet">
-    <link href="css/pygments-native.css" rel="stylesheet">
-    <link rel="shortcut icon" href="images/favicon.ico" type="image/vnd.microsoft.icon">
-    <title>ToscaWidgets</title>
-  </head>
-  <body>
-    <div><a href="/">
-        <img src="images/icon-header.jpg" alt="Icon Header" id="icon" height="96" width="96">
-    </a></div>
-    <div id="header">
-      <h1>ToscaWidgets</h1>
-      <a href="/">
-        <img src="images/toscawidgets-logo.jpg" alt="Toscawidgets Logo" id="logo" height="74" width="343">
-      </a>
-      <ul id="main-menu">
-        <li><a href="download.html" title="Go to Download">Download</a></li>
-        <li><a href="documentation/" title="Go to Documentation">Documentation</a></li>
-        <li><a href="trac.html" title="Go to Trac">Trac</a></li>
-        <li><a href="repos.html" title="Go to Repositories">Repositories</a></li>
-      </ul>
-    </div>
-    <div id="page">
-      <div class="content">
-        <h1>ToscaWidgets</h1>
-        <p>ToscaWidgets is WSGI framework for building reusable web UI
-        components in python. The system allows a web developer to use a
-        complex widget in their application with ease - the internal complexity
-        of the widget is  hidden. This helps rapidly develop compelling web
-        applications.  It is in theory compatible with any other WSGI-based web
-        framework (such as <a href="http://pyramid.rtfd.org">Pyramid</a> or
-        <a href="http://turbogears.org">TurboGears</a>).  There is an extensive
-        library of existing widgets.</p>
-
-        <p>ToscaWidgets is split into two major versions...</p>
-
-        <div id="pane_container">
-          <div id="left" class="pane">
-            <p><a href="http://toscawidgets.org/documentation/ToscaWidgets/">
-              ToscaWidgets 1</a> is battle-hardened.  It has been used for years
-            in the TurboGears community.  You can depend on it.</p>
-            <div class="syntax">
-              <div class="highlight"><pre><span class="sd">&quot;&quot;&quot; The most basic form with ToscaWidgets 1 &quot;&quot;&quot;</span>
-
-<span class="kn">import</span> <span class="nn">tw.forms</span> <span class="kn">as</span> <span class="nn">twf</span>
-
-<span class="n">movie_form</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">TableForm</span><span class="p">(</span>
-    <span class="s">&#39;movie_form&#39;</span><span class="p">,</span>
-    <span class="n">action</span><span class="o">=</span><span class="s">&#39;save_movie&#39;</span><span class="p">,</span>
-    <span class="n">children</span><span class="o">=</span><span class="p">[</span>
-        <span class="n">twf</span><span class="o">.</span><span class="n">HiddenField</span><span class="p">(</span><span class="s">&#39;id&#39;</span><span class="p">),</span>
-        <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">(</span><span class="s">&#39;title&#39;</span><span class="p">),</span>
-        <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">(</span><span class="s">&#39;year&#39;</span><span class="p">,</span> <span class="n">size</span><span class="o">=</span><span class="mi">4</span><span class="p">),</span>
-        <span class="n">twf</span><span class="o">.</span><span class="n">CalendarDatePicker</span><span class="p">(</span><span class="s">&#39;release_date&#39;</span><span class="p">),</span>
-        <span class="n">twf</span><span class="o">.</span><span class="n">SingleSelectField</span><span class="p">(</span><span class="s">&#39;genera&#39;</span><span class="p">,</span> <span class="n">options</span><span class="o">=</span><span class="p">[</span>
-            <span class="s">&#39;&#39;</span><span class="p">,</span> <span class="s">&#39;Action&#39;</span><span class="p">,</span> <span class="s">&#39;Comedy&#39;</span><span class="p">,</span> <span class="s">&#39;Other&#39;</span>
-        <span class="p">]),</span>
-        <span class="n">twf</span><span class="o">.</span><span class="n">TextArea</span><span class="p">(</span><span class="s">&#39;description&#39;</span><span class="p">),</span>
-    <span class="p">]</span>
-<span class="p">)</span>
-</pre></div>
-            </div>
-
-          </div>
-          <div id="right" class="pane">
-            <p><a href="http://tw2core.rtfd.org">ToscaWidgets 2</a> is where
-            all the new development is happening.</p>
-            <div class="syntax">
-              <div class="highlight"><pre><span class="sd">&quot;&quot;&quot; The most basic form with ToscaWidgets 2 &quot;&quot;&quot;</span>
-
-<span class="kn">import</span> <span class="nn">tw2.core</span> <span class="kn">as</span> <span class="nn">twc</span>
-<span class="kn">import</span> <span class="nn">tw2.forms</span> <span class="kn">as</span> <span class="nn">twf</span>
-
-<span class="k">class</span> <span class="nc">MovieForm</span><span class="p">(</span><span class="n">twf</span><span class="o">.</span><span class="n">FormPage</span><span class="p">):</span>
-    <span class="n">title</span> <span class="o">=</span> <span class="s">&#39;Movie&#39;</span>
-    <span class="k">class</span> <span class="nc">child</span><span class="p">(</span><span class="n">twf</span><span class="o">.</span><span class="n">TableForm</span><span class="p">):</span>
-        <span class="nb">id</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">HiddenField</span><span class="p">()</span>
-        <span class="n">title</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">(</span><span class="n">validator</span><span class="o">=</span><span class="n">twc</span><span class="o">.</span><span class="n">Required</span><span class="p">)</span>
-        <span class="n">director</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">()</span>
-        <span class="n">genres</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">CheckBoxList</span><span class="p">(</span><span class="n">options</span><span class="o">=</span><span class="p">[</span>
-            <span class="s">&#39;Action&#39;</span><span class="p">,</span> <span class="s">&#39;Comedy&#39;</span><span class="p">,</span> <span class="s">&#39;Romance&#39;</span><span class="p">,</span> <span class="s">&#39;Sci-fi&#39;</span>
-        <span class="p">])</span>
-        <span class="k">class</span> <span class="nc">cast</span><span class="p">(</span><span class="n">twf</span><span class="o">.</span><span class="n">GridLayout</span><span class="p">):</span>
-            <span class="n">extra_reps</span> <span class="o">=</span> <span class="mi">5</span>
-            <span class="n">character</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">()</span>
-            <span class="n">actor</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">()</span>
-</pre></div>
-
-
-            </div>
-          </div>
-        </div>
-      </div>
-    </div>
-    <div class="clear"></div>
-    <div id="footer">
-      © 2008-2012 Alberto Valverde Gonzalez and contributors,
-      Webdesign Theme by Daniel Haus,
-      <a href="http://ematia.de/" title="Ematia">ematia.de</a>.
-      <div>All times are UTC.</div>
-    </div>
-    <script type="text/javascript">
-      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-      document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-    </script><script src="index_files/ga.js" type="text/javascript"></script>
-    <script type="text/javascript">
-      if (window._gat) {
-        var pageTracker = _gat._getTracker("UA-4615122-1");
-        pageTracker._initData();
-        pageTracker._setDomainName("toscawidgets.org");
-        pageTracker._trackPageview();
-      }
-    </script>
-    <script type="text/javascript">
-      Calendar.setup({"ifFormat": "%m/%d/%Y", "button": "demo1_date_trigger", "showsTime": false, "inputField": "demo1_date"})
-    </script>
-</body></html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+    <link href="css/tosca.css" rel="stylesheet">
+    <link href="css/panes.css" rel="stylesheet">
+    <link href="css/pygments-native.css" rel="stylesheet">
+    <link rel="shortcut icon" href="images/favicon.ico" type="image/vnd.microsoft.icon">
+    <title>ToscaWidgets</title>
+  </head>
+  <body>
+    <div><a href="/">
+        <img src="images/icon-header.jpg" alt="Icon Header" id="icon" height="96" width="96">
+    </a></div>
+    <div id="header">
+      <h1>ToscaWidgets</h1>
+      <a href="/">
+        <img src="images/toscawidgets-logo.jpg" alt="Toscawidgets Logo" id="logo" height="74" width="343">
+      </a>
+      <ul id="main-menu">
+        <li><a href="http://toscawidgets.org/documentation/ToscaWidgets/" title="tw1">ToscaWidgets1</a></li>
+        <li><a href="http://tw2core.rtfd.org/" title="tw2">ToscaWidgets2</a></li>
+        <li><a href="http://pypi.python.org/pypi?%3Aaction=search&term=toscawidgets&submit=search">On PyPI</a></li>
+        <li><a href="repos.html" title="Go to Repositories">Repositories</a></li>
+      </ul>
+    </div>
+    <div id="page">
+      <div class="content">
+        <h1>ToscaWidgets</h1>
+        <p>ToscaWidgets is WSGI framework for building reusable web UI
+        components in python. The system allows a web developer to use a
+        complex widget in their application with ease - the internal complexity
+        of the widget is  hidden. This helps rapidly develop compelling web
+        applications.  It is in theory compatible with any other WSGI-based web
+        framework (such as <a href="http://pyramid.rtfd.org">Pyramid</a> or
+        <a href="http://turbogears.org">TurboGears</a>).  There is an extensive
+        library of existing widgets.</p>
+
+        <p>ToscaWidgets is split into two major versions...</p>
+
+        <div id="pane_container">
+          <div id="left" class="pane">
+            <p><a href="http://toscawidgets.org/documentation/ToscaWidgets/">
+              ToscaWidgets 1</a> is battle-hardened.  It has been used for years
+            in the TurboGears community.  You can depend on it.</p>
+            <div class="syntax">
+              <div class="highlight"><pre><span class="sd">&quot;&quot;&quot; The most basic form with ToscaWidgets 1 &quot;&quot;&quot;</span>
+
+<span class="kn">import</span> <span class="nn">tw.forms</span> <span class="kn">as</span> <span class="nn">twf</span>
+
+<span class="n">movie_form</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">TableForm</span><span class="p">(</span>
+    <span class="s">&#39;movie_form&#39;</span><span class="p">,</span>
+    <span class="n">action</span><span class="o">=</span><span class="s">&#39;save_movie&#39;</span><span class="p">,</span>
+    <span class="n">children</span><span class="o">=</span><span class="p">[</span>
+        <span class="n">twf</span><span class="o">.</span><span class="n">HiddenField</span><span class="p">(</span><span class="s">&#39;id&#39;</span><span class="p">),</span>
+        <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">(</span><span class="s">&#39;title&#39;</span><span class="p">),</span>
+        <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">(</span><span class="s">&#39;year&#39;</span><span class="p">,</span> <span class="n">size</span><span class="o">=</span><span class="mi">4</span><span class="p">),</span>
+        <span class="n">twf</span><span class="o">.</span><span class="n">CalendarDatePicker</span><span class="p">(</span><span class="s">&#39;release_date&#39;</span><span class="p">),</span>
+        <span class="n">twf</span><span class="o">.</span><span class="n">SingleSelectField</span><span class="p">(</span><span class="s">&#39;genera&#39;</span><span class="p">,</span> <span class="n">options</span><span class="o">=</span><span class="p">[</span>
+            <span class="s">&#39;&#39;</span><span class="p">,</span> <span class="s">&#39;Action&#39;</span><span class="p">,</span> <span class="s">&#39;Comedy&#39;</span><span class="p">,</span> <span class="s">&#39;Other&#39;</span>
+        <span class="p">]),</span>
+        <span class="n">twf</span><span class="o">.</span><span class="n">TextArea</span><span class="p">(</span><span class="s">&#39;description&#39;</span><span class="p">),</span>
+    <span class="p">]</span>
+<span class="p">)</span>
+</pre></div>
+            </div>
+
+          </div>
+          <div id="right" class="pane">
+            <p><a href="http://tw2core.rtfd.org">ToscaWidgets 2</a> is where
+            all the new development is happening.  It is approaching
+            <em>stable</em>.</p>
+            <div class="syntax">
+              <div class="highlight"><pre><span class="sd">&quot;&quot;&quot; The most basic form with ToscaWidgets 2 &quot;&quot;&quot;</span>
+
+<span class="kn">import</span> <span class="nn">tw2.core</span> <span class="kn">as</span> <span class="nn">twc</span>
+<span class="kn">import</span> <span class="nn">tw2.forms</span> <span class="kn">as</span> <span class="nn">twf</span>
+
+<span class="k">class</span> <span class="nc">MovieForm</span><span class="p">(</span><span class="n">twf</span><span class="o">.</span><span class="n">FormPage</span><span class="p">):</span>
+    <span class="n">title</span> <span class="o">=</span> <span class="s">&#39;Movie&#39;</span>
+    <span class="k">class</span> <span class="nc">child</span><span class="p">(</span><span class="n">twf</span><span class="o">.</span><span class="n">TableForm</span><span class="p">):</span>
+        <span class="nb">id</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">HiddenField</span><span class="p">()</span>
+        <span class="n">title</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">(</span><span class="n">validator</span><span class="o">=</span><span class="n">twc</span><span class="o">.</span><span class="n">Required</span><span class="p">)</span>
+        <span class="n">director</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">()</span>
+        <span class="n">genres</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">CheckBoxList</span><span class="p">(</span><span class="n">options</span><span class="o">=</span><span class="p">[</span>
+            <span class="s">&#39;Action&#39;</span><span class="p">,</span> <span class="s">&#39;Comedy&#39;</span><span class="p">,</span> <span class="s">&#39;Romance&#39;</span><span class="p">,</span> <span class="s">&#39;Sci-fi&#39;</span>
+        <span class="p">])</span>
+        <span class="k">class</span> <span class="nc">cast</span><span class="p">(</span><span class="n">twf</span><span class="o">.</span><span class="n">GridLayout</span><span class="p">):</span>
+            <span class="n">extra_reps</span> <span class="o">=</span> <span class="mi">5</span>
+            <span class="n">character</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">()</span>
+            <span class="n">actor</span> <span class="o">=</span> <span class="n">twf</span><span class="o">.</span><span class="n">TextField</span><span class="p">()</span>
+</pre></div>
+
+
+            </div>
+          </div>
+        </div>
+      </div>
+    </div>
+    <div class="clear"></div>
+    <div id="footer">
+      © 2008-2012 Alberto Valverde Gonzalez and contributors,
+      Webdesign Theme by Daniel Haus,
+      <a href="http://ematia.de/" title="Ematia">ematia.de</a>.
+      <div>All times are UTC.</div>
+    </div>
+    <script type="text/javascript">
+      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+      document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+    </script><script src="index_files/ga.js" type="text/javascript"></script>
+    <script type="text/javascript">
+      if (window._gat) {
+        var pageTracker = _gat._getTracker("UA-4615122-1");
+        pageTracker._initData();
+        pageTracker._setDomainName("toscawidgets.org");
+        pageTracker._trackPageview();
+      }
+    </script>
+    <script type="text/javascript">
+      Calendar.setup({"ifFormat": "%m/%d/%Y", "button": "demo1_date_trigger", "showsTime": false, "inputField": "demo1_date"})
+    </script>
+</body></html>

File htdocs/repos.html

       <a href="/">
         <img src="images/toscawidgets-logo.jpg" alt="Toscawidgets Logo" id="logo" height="74" width="343"></a>
       <ul id="main-menu">
-        <li>
-        <a href="download.html" title="Go to Download">Download</a>
-        </li><li>
-        <a href="documentation/" title="Go to Documentation">Documentation</a>
-        </li><li>
-        <a href="trac.html" title="Go to Trac">Trac</a>
-        </li><li>
-        <a href="repos.html" title="Go to Repositories">Repositories</a>
-        </li>
+        <li><a href="http://toscawidgets.org/documentation/ToscaWidgets/" title="tw1">ToscaWidgets1</a></li>
+        <li><a href="http://tw2core.rtfd.org/" title="tw2">ToscaWidgets2</a></li>
+        <li><a href="http://pypi.python.org/pypi?%3Aaction=search&term=toscawidgets&submit=search">On PyPI</a></li>
+        <li><a href="repos.html" title="Go to Repositories">Repositories</a></li>
       </ul>
     </div>
     <div id="page">