[glade-web] Added registration page for beta testing
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade-web] Added registration page for beta testing
- Date: Wed, 6 Nov 2013 21:40:17 +0000 (UTC)
commit 6b6c36474385ffca20533b8ad7b5e291ddbad80c
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Wed Nov 6 18:39:45 2013 -0300
Added registration page for beta testing
images/glade-bg.svg | 61 +++++++
registration.html | 497 +++++++++++++++++++++++++++++++++++++++++++++++++++
registration.py | 2 +
3 files changed, 560 insertions(+), 0 deletions(-)
---
diff --git a/images/glade-bg.svg b/images/glade-bg.svg
new file mode 100644
index 0000000..0eec4a7
--- /dev/null
+++ b/images/glade-bg.svg
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ width="250"
+ height="320"
+ id="svg2"
+ inkscape:version="0.48.4 r9939"
+ sodipodi:docname="glade.svg">
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1920"
+ inkscape:window-height="1141"
+ id="namedview6"
+ showgrid="false"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ inkscape:zoom="1"
+ inkscape:cx="-11.50001"
+ inkscape:cy="205"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2" />
+ <metadata
+ id="metadata11">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs9" />
+ <path
+ d="m 123.69655,318.83915 c -13.55877,-2.65276 -30.532991,-10.31562 -42.204607,-19.05289
-7.173283,-5.36984 -10.543938,-8.24328 -8.358918,-7.12585 0.584628,0.29898 4.88961,2.71933 9.566621,5.37855
11.259392,6.40182 23.665644,11.80004 39.860924,17.34435 12.9684,4.43963 13.43608,5.86235 1.13598,3.45584 z m
19.06024,-3.11474 c -6.13859,-1.08734 -15.46605,-3.22146 -20.7277,-4.74251 -21.31301,-6.16116
-51.707394,-20.02691 -56.581456,-25.81216 -6.672695,-6.87036 -11.454648,-16.5446 -15.488672,-23.84531
-2.435118,-3.70678 -7.828389,-20.03577 -8.78209,-26.58912 l -0.758623,-5.21274 3.304013,2.34654 c
1.817207,1.2906 3.564268,2.76659 3.882373,3.27995 0.318106,0.51338 2.604649,2.50781 5.081202,4.43208
4.144834,3.22053 4.00165,2.95276 -1.801075,-3.3682 C 43.522477,228.19308 35.998221,216.9624
33.68614,210.54226 32.790743,208.05593 31.167873,198.51331 30.079749,189.33642 27.815569,170.24082
24.767722,156.96469 20.465785,147.45883 17.114317,140.05316 8.3111106,130.0809 3.2960869,128.
009 L 0,126.64726 4.1449922,125.21595 c 9.1766768,-3.16879 23.4142708,-2.62865 37.5443208,1.42432
2.175352,0.62397 2.457852,0.44349 1.835928,-1.17301 -1.315449,-3.41911 -5.820906,-27.40552
-6.475968,-34.47713 l -0.638359,-6.8913 2.580363,4.79563 c 3.266972,6.07177 12.091865,14.35392
18.135878,17.02055 2.558702,1.12888 6.953282,2.3671 9.765742,2.75159 l 5.113585,0.69908 -3.873681,-4.51378 C
58.276521,93.36695 52.394362,76.305 52.421619,59.27962 c 0.01807,-11.25817 0.982089,-14.53913
2.984247,-10.15626 2.04336,4.47301 10.755196,13.05371 16.554405,16.3052 6.635664,3.72048 12.981923,5.80737
26.152266,8.59985 20.722163,4.39367 31.185403,12.78192 36.836863,29.53165 2.01145,5.9615 2.75299,7.04374
4.82626,7.04374 1.98342,0 3.18379,-1.47776 6.30712,-7.76463 4.99969,-10.06374 6.61493,-17.9473
6.0579,-29.56732 -0.37029,-7.72488 -1.03989,-10.61428 -3.84565,-16.59451 -1.86852,-3.98257 -4.87587,-9.10302
-6.68301,-11.3788 -1.80714,-2.27576 -2.85095,-4.13776 -2.31961,-4.13776 0.53134,0 4.28
926,1.12734 8.35091,2.50521 20.82706,7.06536 37.39773,18.51446 47.76065,32.99908 11.56646,16.1669
15.76811,33.69787 10.54802,44.01061 -4.95328,9.78559 -19.11057,12.19451 -34.7168,5.90724 -3.62157,-1.459
-6.75499,-2.48288 -6.96317,-2.27524 -1.57053,1.56642 16.90321,10.65172 25.11727,12.35252 15.21331,3.15007
23.34627,-1.5496 27.2677,-15.75672 0.75885,-2.74928 1.42251,-4.01811 1.47476,-2.81962 0.0523,1.19847
2.49913,6.87435 5.43744,12.61303 4.79576,9.3664 5.32302,11.07718 5.15324,16.72059 -0.21947,7.29454
-0.77231,7.84315 -11.55857,11.46948 -16.55507,5.56581 -48.29174,-0.69764 -73.1068,-14.42814 -4.3034,-2.38113
-4.64829,-2.44969 -2.41425,-0.47987 7.64301,6.73905 29.81732,17.0904 45.75822,21.36071 7.15518,1.91676
11.91895,2.4302 22.89481,2.46762 13.12181,0.0448 14.16258,-0.10947 19.54913,-2.89525 3.12922,-1.61836
5.84545,-2.78693 6.03607,-2.59678 0.19063,0.19014 2.26612,4.37678 4.6122,9.30367 l 4.2656,8.95799
-2.46679,2.18906 c -1.35675,1.20398 -6.48938,3.53906 -11.40585,5.189
07 -7.95369,2.66932 -10.40364,2.99638 -22.22601,2.967 -23.0882,-0.0573 -47.48244,-6.64472
-74.14134,-20.02088 -8.33094,-4.18007 -15.14715,-7.47805 -15.14715,-7.32884 0,0.72746 12.82989,8.62613
21.54902,13.26655 29.0484,15.45993 66.15611,24.51869 87.47924,21.35551 9.72793,-1.4431 15.93167,-4.07969
15.73241,-6.68632 -0.0752,-0.98516 0.48222,-2.02819 1.23894,-2.31782 1.38084,-0.5285 2.78057,4.02901
4.23596,13.79222 0.59017,3.95894 0.36395,4.58142 -2.34236,6.4453 -3.71416,2.55801 -13.11887,6.26422
-19.47147,7.67334 -7.39618,1.64061 -30.33098,1.31409 -41.53379,-0.5913 -24.85382,-4.22717 -54.86528,-15.34523
-78.31476,-29.01255 -8.11215,-4.72809 -6.83683,-2.93875 1.87522,2.63105 44.90572,28.70911 105.7675,43.3934
133.94252,32.31669 2.95277,-1.16084 5.64585,-2.11063 5.98463,-2.11063 0.87846,0 -0.72728,13.96388
-1.84686,16.06071 -1.23186,2.30707 -14.7451,7.84016 -22.69384,9.29213 -9.07005,1.6568 -30.30871,1.41059
-42.04254,-0.4874 -28.48976,-4.60827 -60.716,-16.1673 -86.380178,-30.98
316 -5.115484,-2.95317 -9.300888,-5.1527 -9.300888,-4.88786 0,1.25069 20.986546,13.80414 32.397116,19.37888
45.35084,22.15655 92.52657,31.01317 121.46609,22.80363 3.25296,-0.9228 3.06488,0.2971 -1.4484,9.39461
-4.18129,8.4283 -5.88913,9.6209 -18.68721,13.04948 -31.49552,8.43758 -91.56924,-5.39416 -137.182201,-31.58568
-5.700122,-3.27308 -10.363849,-5.7426 -10.363849,-5.48782 0,1.09817 18.988713,12.66976 30.07108,18.32511
33.436,17.06247 72.02516,27.97332 99.07835,28.01382 7.01551,0.0106 15.19082,-0.17979 18.16733,-0.42286 l
5.41184,-0.44197 -3.79946,4.53293 c -7.25692,8.65785 -12.71296,10.90078 -30.4093,12.50104 -29.21535,2.6419
-81.53722,-12.05066 -117.701364,-33.05189 -5.419492,-3.1472 -8.447696,-4.55748 -6.729356,-3.13393
1.71834,1.42351 8.114689,5.55324 14.214101,9.17713 30.369959,18.04394 75.304329,32.98893 99.852069,33.21041
5.40739,0.0488 9.83196,0.44649 9.83235,0.88383 4e-4,0.43733 1.07696,0.81671 2.39238,0.84308 3.57245,0.0716
-5.29186,4.58355 -15.46777,7.87319 -10.
08974,3.26179 -19.61319,3.40339 -35.81996,0.53264 z m 87.15738,-192.42947 c -0.65659,-1.73215
-2.54346,-5.29626 -4.1931,-7.92025 -6.17252,-9.81842 -6.43187,-16.79003 -0.81992,-22.04087 l 2.36081,-2.20889
0.23242,3.23364 c 0.12782,1.77851 1.76716,5.61909 3.64292,8.53463 4.49352,6.98438 5.36208,15.05804
2.16222,20.09876 l -2.19157,3.45235 z M 123.87188,73.32695 C 119.60531,69.00703 114.6886,66.46067
100.26233,61.09955 84.688709,55.31205 70.765125,48.40309 65.419079,43.81016 56.557214,36.19669
52.316764,25.70948 52.317986,11.40939 c 9.76e-4,-12.581365 0.605967,-13.724192 4.457401,-8.42125
5.363829,7.38532 9.469864,9.79919 30.707567,18.05241 13.530226,5.258 19.295166,8.83241 26.499916,16.43059
7.39686,7.8008 11.50623,16.84122 12.92913,28.44351 0.62098,5.0637 0.97221,9.59394 0.78049,10.06722
-0.19173,0.47327 -1.91099,-0.72144 -3.82061,-2.65492 z"
+ id="path3823"
+ style="fill:#000000;fill-opacity:0.06422018"
+ inkscape:connector-curvature="0" />
+</svg>
diff --git a/registration.html b/registration.html
new file mode 100644
index 0000000..6cff028
--- /dev/null
+++ b/registration.html
@@ -0,0 +1,497 @@
+<!--
+ * registration.html: Glade registration and survey form
+ *
+ * Copyright (C) 2013 Juan Pablo Ugarte.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * Authors:
+ * Juan Pablo Ugarte
+-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<head>
+ <meta charset="utf-8" content="Glade survey"/>
+
+ <title>Glade Survey (Beta testing)</title>
+ <style media="screen" type="text/css">
+
+body {
+ width: 768px;
+ margin: 0px auto 12px auto;
+ background-color: gray;
+}
+
+div.body {
+ border: solid #61605e 4px;
+ border-radius: 16px;
+ background-color: white;
+}
+
+div.bodybg {
+ background: url(images/glade-bg.svg) no-repeat bottom center fixed;
+ background-size: 768px;
+}
+
+div.bodypadd {
+ padding: 12px;
+}
+
+h2 {
+ margin: 0;
+ color: white;
+ text-shadow: 2px 2px 2px black;
+ background-color: #4a90d9;
+ border-radius: 8px;
+ padding: 12px;
+ box-shadow: 2px 2px 4px gray;
+}
+
+h3 {
+ margin: 0 0 8px 0;
+ text-shadow: 1px 1px white;
+}
+
+table.infobox {
+ margin: 8px;
+ border: 4px solid;
+ border-color: #c1c0bf;
+ border-radius: 24px;
+ padding: 16px;
+}
+
+div.textbox {
+ margin: 8px;
+ color: white;
+ text-shadow: 1px 1px 1px black;
+ border-radius: 16px;
+ background-color: #999;
+ box-shadow: 4px 4px 2px #555;
+ padding: 12px;
+}
+
+div.question {
+ margin: 8px;
+ border: 4px solid;
+ border-color: #c1c0bf;
+ border-radius: 16px;
+ padding: 12px;
+}
+
+div.comment {
+ margin: 8px;
+ padding: 0px 16px 16px 16px;
+}
+
+div.submit {
+ padding: 120px;
+ color: white;
+ text-shadow: 2px 2px 2px black;
+ background-color: #4a90d9;
+ border-radius: 8px;
+ padding: 12px;
+ box-shadow: 1px 1px 2px gray;
+}
+
+div.footnotes {
+ color: white;
+ text-shadow: 1px 1px 1px black;
+ text-align:right;
+}
+
+a.whitelink {
+ color: white;
+ text-shadow: 1px 1px 1px #3a80c9;
+}
+
+a.whitelink:hover, a.whitelink:focus, a.whitelink:active{
+ outline:none;
+ color: #76c5f0;
+ text-shadow: 1px 1px 1px black;
+}
+
+ </style>
+ <script type="text/javascript">
+//<!--
+
+function validate_field (name, message)
+ {
+ var field = document.forms["GladeForm"][name];
+ var x = field.value;
+ if (x == null || x == "")
+ {
+ if (message != null) alert (message);
+ field.focus();
+ return true;
+ }
+ return false;
+}
+
+function validate_email (name)
+ {
+ var field = document.forms["GladeForm"][name];
+ var email = field.value;
+
+ if (email != null && email != "")
+ {
+ if (!email.match(/\S+ \S+\ \S+/))
+ {
+ alert('Please provide a valid email address');
+ field.focus;
+ return true;
+ }
+ }
+
+ return false;
+}
+
+function validate_form()
+ {
+ if (validate_field ("name_entry", "Your name or nickname is required"));
+ else if (validate_field ("email_entry", "Your email is required, it will be used to identify you as a
Glade user") ||
+ validate_email ("email_entry"));
+ else
+ {
+ var form = document.forms["GladeForm"];
+
+ for (var i = 0; i < form.elements.length; i++)
+ {
+ if (form.elements[i] != document.activeElement) continue;
+
+ do {
+ i++;
+ } while (form.elements[i] != null && (form.elements[i].disabled || form.elements[i].style.display ==
'none'));
+
+ if (form.elements[i] != null)
+ {
+ form.elements[i].focus();
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ return false
+}
+
+function set_sensitivity (name, checked, value)
+ {
+ var field = document.forms["GladeForm"][name];
+
+ if (checked)
+ {
+ if (value == null)
+ field.style.display = 'inline';
+ else
+ field.disabled = false;
+
+ field.focus();
+ field.value = "";
+ }
+ else
+ {
+ if (value == null)
+ {
+ field.style.display = 'none';
+ value = "";
+ }
+ else
+ {
+ field.disabled = true;
+ field.value = value;
+ }
+ }
+}
+
+function element_set_visibility (name, checked)
+ {
+ var field = document.getElementById (name);
+
+ if (checked)
+ field.style.display = 'inline';
+ else
+ field.style.display = 'none';
+}
+
+function check_set_visibility ()
+ {
+ for (var i = 0; i < arguments.length; i++)
+ {
+ var field = document.forms["GladeForm"][arguments[i++]];
+
+ if (arguments[i])
+ field.style.display = 'inline';
+ else
+ field.style.display = 'none';
+ }
+}
+
+ //-->
+ </script>
+</head>
+<body>
+
+<form name="GladeForm" action="/cgi-bin/registration.py" onsubmit="return validate_form ();" method="post"
enctype="application/x-www-form-urlencoded">
+<div class="body">
+<div class="bodybg">
+<div class="bodypadd">
+
+<h2>Glade User Information (Beta testing)</h2><br>
+
+<table summary="">
+<tr><td>
+<table class="infobox" summary="">
+<tr>
+ <td>Name: *</td>
+ <td><input type="text" name="name_entry" style="width:100%"/></td>
+</tr>
+<tr>
+ <td>Email: *</td>
+ <td><input type="text" name="email_entry" style="width:100%"/></td>
+</tr>
+<tr>
+ <td>Country:</td>
+ <td><select name="country_combobox"><option value="other">Choose your country</option>
+<option value="af">Afghanistan</option><option value="ax">Aland Islands</option><option
value="al">Albania</option><option value="dz">Algeria</option><option value="as">American
Samoa</option><option value="ao">Angola</option><option value="ai">Anguilla</option><option
value="aq">Antarctica</option><option value="ag">Antigua and Barbuda</option><option
value="ar">Argentina</option><option value="am">Armenia</option><option value="aw">Aruba</option><option
value="au">Australia</option><option value="at">Austria</option><option value="az">Azerbaijan</option><option
value="bs">Bahamas</option><option value="bh">Bahrain</option><option value="bd">Bangladesh</option><option
value="bb">Barbados</option><option value="by">Belarus</option><option value="be">Belgium</option><option
value="bz">Belize</option>
+<option value="bj">Benin</option><option value="bm">Bermuda</option><option
value="bt">Bhutan</option><option value="bo">Bolivia, Plurinational State of</option><option
value="bq">Bonaire, Sint Eustatius and Saba</option><option value="ba">Bosnia and Herzegovina</option><option
value="bw">Botswana</option><option value="bv">Bouvet Island</option><option
value="br">Brazil</option><option value="io">British Indian Ocean Territory</option><option value="bn">Brunei
Darussalam</option><option value="bg">Bulgaria</option><option value="bf">Burkina Faso</option><option
value="bi">Burundi</option><option value="kh">Cambodia</option><option value="cm">Cameroon</option><option
value="ca">Canada</option><option value="cv">Cape Verde</option><option value="ky">Cayman Islands</option>
+<option value="cf">Central African Republic</option><option value="td">Chad</option><option
value="cl">Chile</option><option value="cn">China</option><option value="cx">Christmas Island</option><option
value="cc">Cocos (Keeling) Islands</option><option value="co">Colombia</option><option
value="km">Comoros</option><option value="cg">Congo</option><option value="cd">Congo, The Democratic Republic
of the</option><option value="ck">Cook Islands</option><option value="cr">Costa Rica</option><option
value="ci">Côte D'ivoire</option><option value="hr">Croatia</option><option value="cu">Cuba</option><option
value="cw">Curaçao</option><option value="cy">Cyprus</option><option value="cz">Czech
Republic</option><option value="dk">Denmark</option><option value="dj">Djibouti</option>
+<option value="dm">Dominica</option><option value="do">Dominican Republic</option><option
value="ec">Ecuador</option><option value="eg">Egypt</option><option value="sv">El Salvador</option><option
value="gq">Equatorial Guinea</option><option value="er">Eritrea</option><option
value="ee">Estonia</option><option value="et">Ethiopia</option><option value="fk">Falkland Islands
(Malvinas)</option><option value="fo">Faroe Islands</option><option value="fj">Fiji</option><option
value="fi">Finland</option><option value="fr">France</option><option value="gf">French Guiana</option><option
value="pf">French Polynesia</option><option value="tf">French Southern Territories</option><option
value="ga">Gabon</option><option value="gm">Gambia</option><option value="ge">Georgia</option><option
value="de">Germany</option>
+<option value="gh">Ghana</option><option value="gi">Gibraltar</option><option
value="gr">Greece</option><option value="gl">Greenland</option><option value="gd">Grenada</option><option
value="gp">Guadeloupe</option><option value="gu">Guam</option><option value="gt">Guatemala</option><option
value="gg">Guernsey</option><option value="gn">Guinea</option><option
value="gw">Guinea-bissau</option><option value="gy">Guyana</option><option value="ht">Haiti</option><option
value="hm">Heard Island and Mcdonald Islands</option><option value="va">Holy See (Vatican City
State)</option><option value="hn">Honduras</option><option value="hk">Hong Kong</option><option
value="hu">Hungary</option><option value="is">Iceland</option><option value="in">India</option><option
value="id">Indonesia</option>
+<option value="ir">Iran, Islamic Republic of</option><option value="iq">Iraq</option><option
value="ie">Ireland</option><option value="im">Isle of Man</option><option value="il">Israel</option><option
value="it">Italy</option><option value="jm">Jamaica</option><option value="jp">Japan</option><option
value="je">Jersey</option><option value="jo">Jordan</option><option value="kz">Kazakhstan</option><option
value="ke">Kenya</option><option value="ki">Kiribati</option><option value="kp">Korea, Democratic People's
Republic of</option><option value="kr">Korea, Republic of</option><option value="kw">Kuwait</option><option
value="kg">Kyrgyzstan</option><option value="la">Lao People's Democratic Republic</option><option
value="lv">Latvia</option><option value="lb">Lebanon</option><option value="ls">Lesotho</option>
+<option value="lr">Liberia</option><option value="ly">Libya</option><option
value="li">Liechtenstein</option><option value="lt">Lithuania</option><option
value="lu">Luxembourg</option><option value="mo">Macao</option><option value="mk">Macedonia, The Former
Yugoslav Republic of</option><option value="mg">Madagascar</option><option value="mw">Malawi</option><option
value="my">Malaysia</option><option value="mv">Maldives</option><option value="ml">Mali</option><option
value="mt">Malta</option><option value="mh">Marshall Islands</option><option
value="mq">Martinique</option><option value="mr">Mauritania</option><option
value="mu">Mauritius</option><option value="yt">Mayotte</option><option value="mx">Mexico</option><option
value="fm">Micronesia, Federated States of</option>
+<option value="md">Moldova, Republic of</option><option value="mc">Monaco</option><option
value="mn">Mongolia</option><option value="me">Montenegro</option><option
value="ms">Montserrat</option><option value="ma">Morocco</option><option
value="mz">Mozambique</option><option value="mm">Myanmar</option><option value="na">Namibia</option><option
value="nr">Nauru</option><option value="np">Nepal</option><option value="nl">Netherlands</option><option
value="nc">New Caledonia</option><option value="nz">New Zealand</option><option
value="ni">Nicaragua</option><option value="ne">Niger</option><option value="ng">Nigeria</option><option
value="nu">Niue</option><option value="nf">Norfolk Island</option><option value="mp">Northern Mariana
Islands</option><option value="no">Norway</option>
+<option value="om">Oman</option><option value="pk">Pakistan</option><option value="pw">Palau</option><option
value="ps">Palestine, State of</option><option value="pa">Panama</option><option value="pg">Papua New
Guinea</option><option value="py">Paraguay</option><option value="pe">Peru</option><option
value="ph">Philippines</option><option value="pn">Pitcairn</option><option value="pl">Poland</option><option
value="pt">Portugal</option><option value="pr">Puerto Rico</option><option value="qa">Qatar</option><option
value="re">Réunion</option><option value="ro">Romania</option><option value="ru">Russian
Federation</option><option value="rw">Rwanda</option><option value="bl">Saint Barthélemy</option><option
value="sh">Saint Helena, Ascension and Tristan Da Cunha</option>
+<option value="kn">Saint Kitts and Nevis</option><option value="lc">Saint Lucia</option><option
value="mf">Saint Martin (French Part)</option><option value="pm">Saint Pierre and Miquelon</option><option
value="vc">Saint Vincent and The Grenadines</option><option value="ws">Samoa</option><option value="sm">San
Marino</option><option value="st">Sao Tome and Principe</option><option value="sa">Saudi
Arabia</option><option value="sn">Senegal</option><option value="rs">Serbia</option><option
value="sc">Seychelles</option><option value="sl">Sierra Leone</option><option
value="sg">Singapore</option><option value="sx">Sint Maarten (Dutch Part)</option><option
value="sk">Slovakia</option><option value="si">Slovenia</option><option value="sb">Solomon
Islands</option><option value="so">Somalia</option>
+<option value="za">South Africa</option><option value="gs">South Georgia and The South Sandwich
Islands</option><option value="ss">South Sudan</option><option value="es">Spain</option><option
value="lk">Sri Lanka</option><option value="sd">Sudan</option><option value="sr">Suriname</option><option
value="sj">Svalbard and Jan Mayen</option><option value="sz">Swaziland</option><option
value="se">Sweden</option><option value="ch">Switzerland</option><option value="sy">Syrian Arab
Republic</option><option value="tw">Taiwan, Province of China</option><option
value="tj">Tajikistan</option><option value="tz">Tanzania, United Republic of</option><option
value="th">Thailand</option><option value="tl">Timor-leste</option><option value="tg">Togo</option><option
value="tk">Tokelau</option>
+<option value="to">Tonga</option><option value="tt">Trinidad and Tobago</option><option
value="tn">Tunisia</option><option value="tr">Turkey</option><option value="tm">Turkmenistan</option><option
value="tc">Turks and Caicos Islands</option><option value="tv">Tuvalu</option><option
value="ug">Uganda</option><option value="ua">Ukraine</option><option value="ae">United Arab
Emirates</option><option value="gb">United Kingdom</option><option value="us">United States</option><option
value="um">United States Minor Outlying Islands</option><option value="uy">Uruguay</option><option
value="uz">Uzbekistan</option><option value="vu">Vanuatu</option><option value="ve">Venezuela, Bolivarian
Republic of</option><option value="vn">Vietnam</option><option value="vg">Virgin Islands, British</option>
+<option value="vi">Virgin Islands, U.S.</option><option value="wf">Wallis and Futuna</option><option
value="eh">Western Sahara</option><option value="ye">Yemen</option><option value="zm">Zambia</option>
+</select></td>
+</tr>
+<tr>
+ <td>City:</td>
+ <td><input type="text" name="city_entry" style="width:100%"/></td>
+</tr>
+<tr>
+ <td><select name="contact_type_combobox"><option value="c">Company</option><option
value="o">Organization</option><option value="p">Personal</option></select></td>
+ <td><input type="text" name="contact_name_entry" style="width:100%"/></td>
+</tr>
+<tr>
+ <td>Website:</td>
+ <td><input type="text" name="contact_website_entry" style="width:100%"/></td>
+</tr>
+<tr>
+ <td/>
+ <td><small><label><input type="checkbox" name="subscribe_checkbutton"/>Subscribe me to <a
href="http://lists.ximian.com/mailman/listinfo/glade-users" target="_blank">users mailing list</a>
**</label></small></td>
+</tr>
+</table>
+
+</td><td>
+<div class="textbox">
+<b><big>We care about privacy!</big></b><br><br>
+All the data will be stored in a private location and will not be shared with the public or any third
party.<br><br>
+<div style="text-align:right;"><small>See <a href="#privacy" class="whitelink">Privacy Note
</a></small></div>
+</div>
+</td></tr>
+</table>
+<small><label><input type="checkbox" name="update_token_checkbutton" value="1" onchange="set_sensitivity
('update_token_entry', this.checked, '<Insert update token, if you want to update previously sent
data>')"/>Update Info</label></small>
+<input type="text" name="update_token_entry" value="<Insert update token, if you want to update previously
sent data>" size="48" disabled />
+<br>
+<br>
+<h2>User Survey (Beta testing)</h2><br>
+
+<div class="question"><h3>How long have you been programming?</h3>
+<input type="text" size="4" name="experience_spinbutton" /> <select name="experience_unit_combobox"><option
value="y">years</option>
+<option value="m">months</option></select> <label><input type="checkbox"
name="experience_not_programmer_checkbutton" value="1"/>I am not a programmer</label>
+</div>
+
+<div class="question"><h3>Which programming languages do you prefer?</h3>
+<label><input type="checkbox" name="lang_c_checkbutton" value="1"/>C</label> <label><input type="checkbox"
name="lang_cpp_checkbutton" value="1"/>C++</label> <label><input type="checkbox"
name="lang_csharp_checkbutton" value="1"/>C#</label> <label><input type="checkbox"
name="lang_java_checkbutton" value="1"/>Java</label> <label><input type="checkbox"
name="lang_python_checkbutton" value="1"/>Python</label> <label><input type="checkbox"
name="lang_javascript_checkbutton" value="1"/>Javascript</label> <label><input type="checkbox"
name="lang_vala_checkbutton" value="1"/>Vala</label> <label><input type="checkbox"
name="lang_perl_checkbutton" value="1"/>Perl</label> <label><input type="checkbox"
name="lang_other_checkbutton" value="1"/>Other</label>
+</div>
+
+<div class="question"><h3>When did you start using Glade?</h3>
+<input type="text" size="4" name="start_using_spinbutton" /> <select
name="start_using_unit_combobox"><option value="y">years</option>
+<option value="m">months</option></select> ago
+</div>
+
+<div class="question"><h3>Which version do you normally use?</h3>
+Glade <select name="version_combobox">
+ <option value="0">3.0</option>
+ <option value="2">3.2</option>
+ <option value="4">3.4</option>
+ <option value="6">3.6</option>
+ <option value="8">3.8</option>
+ <option value="10">3.10</option>
+ <option value="12">3.12</option>
+ <option value="14">3.14</option>
+ <option value="16">3.16</option>
+ <option value="-1">master</option>
+ </select>
+</div>
+
+<div class="question"><h3>On what operating system?</h3>
+<label><input type="radio" name="os_radiobutton" value="0" onchange="check_set_visibility ('linux_combobox',
true, 'windows_combobox', false, 'osx_combobox', false, 'bsd_combobox', false, 'solaris_combobox', false,
'os_other_entry', false)"/> GNU/Linux</label> <select name="linux_combobox" style="display:none">
+ <option value="0">distribution</option>
+ <option value="1">Arch Linux</option>
+ <option value="2">Debian</option>
+ <option value="3">openSUSE</option>
+ <option value="4">Fedora</option>
+ <option value="5">Gentoo</option>
+ <option value="6">Mandriva</option>
+ <option value="7">Red Hat</option>
+ <option value="8">Turbolinux</option>
+ <option value="9">Ubuntu</option>
+ <option value="10">Xandros</option>
+ <option value="11">Oracle</option>
+ <option value="-1">Other</option>
+</select><br>
+<label><input type="radio" name="os_radiobutton" value="3" onchange="check_set_visibility ('linux_combobox',
false, 'windows_combobox', false, 'osx_combobox', false, 'bsd_combobox', true, 'solaris_combobox', false,
'os_other_entry', false)"/> BSD</label> <select name="bsd_combobox" style="display:none">
+ <option value="0">variant</option>
+ <option value="1">FreeBSD</option>
+ <option value="2">OpenBSD</option>
+ <option value="3">NetBSD</option>
+ <option value="-1">Other</option>
+</select><br>
+<label><input type="radio" name="os_radiobutton" value="1" onchange="check_set_visibility ('linux_combobox',
false, 'windows_combobox', true, 'osx_combobox', false, 'bsd_combobox', false, 'solaris_combobox', false,
'os_other_entry', false)"/> Windows</label> <select name="windows_combobox" style="display:none">
+ <option value="0">version</option>
+ <option value="1">2000</option>
+ <option value="2">XP</option>
+ <option value="3">2003</option>
+ <option value="4">Vista</option>
+ <option value="5">2008</option>
+ <option value="6">7</option>
+ <option value="7">8</option>
+ <option value="8">2012</option>
+ <option value="-1">Other</option>
+</select><br>
+<label><input type="radio" name="os_radiobutton" value="2" onchange="check_set_visibility ('linux_combobox',
false, 'windows_combobox', false, 'osx_combobox', true, 'bsd_combobox', false, 'solaris_combobox', false,
'os_other_entry', false)"/> Mac OS X</label> <select name="osx_combobox" style="display:none">
+ <option value="0">version</option>
+ <option value="1">Tiger</option>
+ <option value="2">Leopard</option>
+ <option value="3">Snow Leopard</option>
+ <option value="4">Lion</option>
+ <option value="5">Mountain Lion</option>
+ <option value="6">Mavericks</option>
+ <option value="-1">Other</option>
+</select><br>
+<label><input type="radio" name="os_radiobutton" value="4" onchange="check_set_visibility ('linux_combobox',
false, 'windows_combobox', false, 'osx_combobox', false, 'bsd_combobox', false, 'solaris_combobox', true,
'os_other_entry', false)"/> Solaris</label> <select name="solaris_combobox" style="display:none">
+ <option value="0">variant</option>
+ <option value="1">Oracle Solaris</option>
+ <option value="2">OpenSolaris</option>
+ <option value="3">illumos</option>
+ <option value="-1">Other</option>
+</select><br>
+
+<label><input type="radio" name="os_radiobutton" value="5" onchange="check_set_visibility ('linux_combobox',
false, 'windows_combobox', false, 'osx_combobox', false, 'bsd_combobox', false, 'solaris_combobox', false,
'os_other_entry', true)"/> Other</label> <input type="text" name="os_other_entry" style="display:none"/>
+</div>
+
+
+<div class="question"><h3>How often do you use it?</h3>
+<label><input type="radio" name ="freq_radiobutton" value="0" /> Every day</label><br>
+<label><input type="radio" name ="freq_radiobutton" value="1" /> Few days a week</label><br>
+<label><input type="radio" name ="freq_radiobutton" value="2" /> Every week</label><br>
+<label><input type="radio" name ="freq_radiobutton" value="3" /> A few times a month</label><br>
+<label><input type="radio" name ="freq_radiobutton" value="4" /> Once a month</label><br>
+<label><input type="radio" name ="freq_radiobutton" value="5" /> A few times a year</label><br>
+</div>
+
+<div class="question"><h3>What level of Glade user would you say you are?</h3>
+<label><input type="radio" name ="user_level_radiobutton" value="0" /> Beginner</label>
+<label><input type="radio" name ="user_level_radiobutton" value="1" /> Intermediate</label>
+<label><input type="radio" name ="user_level_radiobutton" value="2" /> Advanced</label>
+</div>
+
+<div class="question"><h3>Under what kind of license(s) do you release the software you used Glade to
create?</h3>
+<label><input type="checkbox" name="soft_free_checkbutton" value="1"/> Free software</label><br>
+<label><input type="checkbox" name="soft_open_checkbutton" value="1"/> Open source software</label><br>
+<label><input type="checkbox" name="soft_commercial_checkbutton" value="1"/> Commercial/Closed
software</label><br>
+<label><input type="checkbox" name="soft_none_checkbutton" value="1"/> None - distributed internally</label>
+</div>
+
+<div class="question"><h3>In what field(s) is the software you used Glade to create generally used?</h3>
+<label><input type="checkbox" name="field_academic_checkbutton" value="1"/> Academic</label><br>
+<label><input type="checkbox" name="field_accounting_checkbutton" value="1"/> Accounting</label><br>
+<label><input type="checkbox" name="field_desktop_checkbutton" value="1"/> Desktop applications</label><br>
+<label><input type="checkbox" name="field_educational_checkbutton" value="1"/> Educational</label><br>
+<label><input type="checkbox" name="field_embedded_checkbutton" value="1"/> Embedded applications</label><br>
+<label><input type="checkbox" name="field_medical_checkbutton" value="1"/> Medical</label><br>
+<label><input type="checkbox" name="field_industrial_checkbutton" value="1"/> Industrial
applications</label><br>
+<label><input type="checkbox" name="field_scientific_checkbutton" value="1"/> Scientific</label><br>
+<label><input type="checkbox" name="field_other_checkbutton" value="1" onchange="set_sensitivity
('field_other_entry', this.checked)"/> Other</label> <input type="text" name="field_other_entry" size="42"
style="display:none"/>
+</div>
+
+<div class="question"><h3>What aspect of the software needs the most improvement?</h3>
+<textarea name="improvement_other_entry" rows="4" style="width:100%"></textarea>
+</div>
+
+<div class="question"><h3>In your opinion what is the biggest problem with Glade?</h3>
+<label><input type="radio" name="problem_radiobutton" value="0" onchange="set_sensitivity
('problem_other_entry', false)"/> Lack of documentation</label><br>
+<label><input type="radio" name="problem_radiobutton" value="1" onchange="set_sensitivity
('problem_other_entry', false)"/> Lack of professional support</label><br>
+<label><input type="radio" name="problem_radiobutton" value="2" onchange="set_sensitivity
('problem_other_entry', false)"/> Lack of professional training</label><br>
+<label><input type="radio" name="problem_radiobutton" value="3" onchange="set_sensitivity
('problem_other_entry', false)"/> Lack of publicity/exposure</label><br>
+<label><input type="radio" name="problem_radiobutton" value="4" onchange="set_sensitivity
('problem_other_entry', false)"/> Lack of official binary releases for other OS (Win32, OSX)</label><br>
+<label><input type="radio" name="problem_radiobutton" value="5" onchange="set_sensitivity
('problem_other_entry', true)"/> Other</label><br>
+<textarea name="problem_other_entry" style="display:none;width:100%"></textarea>
+</div>
+
+<div class="question"><h3>Have you ever encountered a bug?</h3>
+<label><input type="radio" name="bug_radiobutton" value="1"/> Yes</label>
+<label><input type="radio" name="bug_radiobutton" value="0"/> No</label>
+</div>
+
+<div class="question"><h3>If so, did you file a bug report?</h3>
+<label><input type="radio" name="bugzilla_radiobutton" value="1"/> Yes</label>
+<label><input type="radio" name="bugzilla_radiobutton" value="0"/> No</label>
+</div>
+
+<div class="question"><h3>Have you ever contributed to the project?</h3>
+<label><input type="radio" name="contributing_radiobutton" value="1" onchange="set_sensitivity
('contributing_whynot_textview', false);element_set_visibility ('whynot_title', false);"/> Yes</label>
+<label><input type="radio" name="contributing_radiobutton" value="0" onchange="set_sensitivity
('contributing_whynot_textview', true);element_set_visibility ('whynot_title', true);"/> No</label>
+<div id="whynot_title" style="display:none;">
+<br> <br> <h3>Why not?</h3></div>
+<textarea name="contributing_whynot_textview" rows="4" style="display:none;width:100%"></textarea>
+</div>
+
+<div class="comment"><h3>Comments:</h3>
+<textarea name="comments_textview" rows="8" style="width:100%"></textarea>
+</div>
+
+<div class="submit">
+<button name="send_request_button" type="submit">Submit</button>
+information to glade.gnome.org (See below for details)
+</div>
+
+</div></div></div>
+
+</form>
+
+<br>
+<div class="textbox">
+<b><a id="privacy">Privacy Note:</a></b><br><br>
+The sole purpose of this survey is to better know our user base.<br>
+Your email address will be used to uniquely identify you as a Glade user and send you back a modification
token
+in case you want to modify something or add extra comments.<br>
+Only statistics compiled from the whole dataset will be shared publicly.<br>
+Individual data will be stored in a private database and it will not be shared with the public or any other
third party.
+</div>
+<br><br>
+<div class="footnotes">
+* Required fields<br>
+** You will receive a mail to confirm the subscription
+</div>
+
+</body>
+</html>
\ No newline at end of file
diff --git a/registration.py b/registration.py
new file mode 100644
index 0000000..5aa7830
--- /dev/null
+++ b/registration.py
@@ -0,0 +1,2 @@
+#!/usr/bin/env python
+execfile ("/home/users/jpu/registration.py")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]