Add initial style for account.html
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 16 Jan 2014 21:07:57 +0000 (23:07 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Thu, 16 Jan 2014 21:07:57 +0000 (23:07 +0200)
img/facebook_logo.png [new file with mode: 0644]
img/logo_hermes.png [new file with mode: 0644]
img/mindcoding.png [new file with mode: 0644]
mc.css [new file with mode: 0644]
mindcoding.png [deleted file]
tmpl/account.en [new file with mode: 0644]
tmpl/footer.en [new file with mode: 0644]
tmpl/header.en [new file with mode: 0644]

diff --git a/img/facebook_logo.png b/img/facebook_logo.png
new file mode 100644 (file)
index 0000000..c6cf45c
Binary files /dev/null and b/img/facebook_logo.png differ
diff --git a/img/logo_hermes.png b/img/logo_hermes.png
new file mode 100644 (file)
index 0000000..2e2e417
Binary files /dev/null and b/img/logo_hermes.png differ
diff --git a/img/mindcoding.png b/img/mindcoding.png
new file mode 100644 (file)
index 0000000..549c771
Binary files /dev/null and b/img/mindcoding.png differ
diff --git a/mc.css b/mc.css
new file mode 100644 (file)
index 0000000..7177461
--- /dev/null
+++ b/mc.css
@@ -0,0 +1,151 @@
+body{
+    background: #ffffff; /* Old browsers */
+       /* IE9 SVG, needs conditional override of 'filter' to 'none' */
+       background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlMmUyZTIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
+       background: -moz-linear-gradient(top, #ffffff 1%, #e2e2e2 100%); /* FF3.6+ */
+       background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#e2e2e2)); /* Chrome,Safari4+ */
+       background: -webkit-linear-gradient(top, #ffffff 1%,#e2e2e2 100%); /* Chrome10+,Safari5.1+ */
+       background: -o-linear-gradient(top, #ffffff 1%,#e2e2e2 100%); /* Opera 11.10+ */
+       background: -ms-linear-gradient(top, #ffffff 1%,#e2e2e2 100%); /* IE10+ */
+       background: linear-gradient(to bottom, #ffffff 1%,#e2e2e2 100%); /* W3C */
+       filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e2e2e2',GradientType=0 ); /* IE6-8 */
+    font-family: verdana;
+    color: #999999;
+}
+
+.mindcoding_logo{
+    background-image: url('/img/mindcoding.png');
+    width: 600px;
+    height: 93px;
+    margin: 0 auto;
+}
+
+.spacer{
+    width: 600px;
+    height: 30px;
+    margin: 0 auto;
+}
+
+.main{
+    width: 540px;
+    margin: 0 auto;
+
+    font-size: 16px;
+       padding: 10px;
+
+}
+
+.main span{
+    color: #000000;
+    margin-bottom: 20px;
+    float: left;
+}
+
+.main input[type="text"], .main input[type="tel"], .main input[type="email"], .main input[type="password"]{
+    font-family: verdana;
+    padding: 5px;
+    border: 1px solid #DDDDDD;
+    width: 300px;
+
+    /*Applying CSS3 gradient*/
+    background: -moz-linear-gradient(center top , #FFFFFF,  #EEEEEE 1px, #FFFFFF 20px);
+    background: -webkit-gradient(linear, left top, left 20, from(#FFFFFF), color-stop(5%, #EEEEEE) to(#FFFFFF));
+    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FBFBFB', endColorstr='#FFFFFF');
+
+    /*Applying CSS 3radius*/
+    -moz-border-radius: 3px;
+    -webkit-border-radius: 3px;
+    border-radius: 3px;
+
+    /*Applying CSS3 box shadow*/
+    -moz-box-shadow: 0 0 2px #DDDDDD;
+    -webkit-box-shadow: 0 0 2px #DDDDDD;
+    box-shadow: 0 0 2px #DDDDDD;
+
+}
+
+.main input[type="text"]:hover, .main input[type="tel"]:hover, .main input[type="email"]:hover, .main input[type="password"]:hover
+{
+    border:1px solid #cccccc;
+}
+
+.main input[type="text"]:focus, .main input[type="tel"]:focus, .main input[type="email"]:focus, .main input[type="password"]:focus
+{
+    box-shadow:0 0 2px #FFFE00;
+}
+
+.main select{
+    width: 300px;
+}
+
+.main table{
+    margin: 0 auto;
+}
+
+
+.submit {
+    float: left;
+    margin: 0 0 0 110px;
+    -moz-box-shadow:inset 0px 1px 0px -1px #ffffff;
+       -webkit-box-shadow:inset 0px 1px 0px -1px #ffffff;
+       box-shadow:inset 0px 1px 0px -1px #ffffff;
+       background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
+       background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
+       filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
+       background-color:#ededed;
+       -webkit-border-top-left-radius:6px;
+       -moz-border-radius-topleft:6px;
+       border-top-left-radius:6px;
+       -webkit-border-top-right-radius:6px;
+       -moz-border-radius-topright:6px;
+       border-top-right-radius:6px;
+       -webkit-border-bottom-right-radius:6px;
+       -moz-border-radius-bottomright:6px;
+       border-bottom-right-radius:6px;
+       -webkit-border-bottom-left-radius:6px;
+       -moz-border-radius-bottomleft:6px;
+       border-bottom-left-radius:6px;
+       text-indent:0;
+       border:1px solid #dcdcdc;
+       display:inline-block;
+       color:#777777;
+       font-family:arial;
+       font-size:15px;
+       font-weight:bold;
+       font-style:normal;
+       height:30px;
+       line-height:30px;
+       width:150px;
+       text-decoration:none;
+       text-align:center;
+       text-shadow:1px 1px 0px #ffffff;
+}
+.submit:hover {
+       background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
+       background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
+       filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
+       background-color:#dfdfdf;
+}.submit:active {
+       position:relative;
+       top:1px;
+}
+
+.logos{
+    width: 540px;
+    margin: 0 auto;
+    padding-top: 40px;
+}
+
+.hermes{
+    background-image: url('/img/logo_hermes.png');
+    width: 200px;
+    height: 111px;
+    float: left;
+}
+
+.fb{
+    background-image: url('/img/facebook_logo.png');
+    width: 113px;
+    height: 111px;
+    float: right;
+}
\ No newline at end of file
diff --git a/mindcoding.png b/mindcoding.png
deleted file mode 100644 (file)
index 549c771..0000000
Binary files a/mindcoding.png and /dev/null differ
diff --git a/tmpl/account.en b/tmpl/account.en
new file mode 100644 (file)
index 0000000..492d103
--- /dev/null
@@ -0,0 +1,25 @@
+<div class="mindcoding_logo"></div>
+<div class="spacer"></div>
+
+<form action="/action/register" method="POST" class="jsform">
+<div class="main">
+<table>
+<tr> <td>Username                      <td><input type="text"          name="username"                 required>
+<tr> <td>Password                      <td><input type="password"      name="password"                 required>
+<tr> <td>Confirm password      <td><input type="password"      name="confirm_password" required>
+
+<tr> <td>Full name                     <td><input type="text"          name="name"                             required>
+<tr> <td>Email                         <td><input type="email"         name="email"                    required>
+<tr> <td>Phone                         <td><input type="tel"           name="phone"                    required>
+<tr> <td>Town                          <td><input type="text"          name="town"                             required>
+<tr> <td>University                    <td><input type="text"          name="university"               required>
+<tr> <td>Level                         <td><select name="level"> <option>Highschool</option> <option>Undergraduate</option> <option>Master</option> <option>Doctorate</option> <option>Other</option> </select>
+
+<tr> <td colspan="2"><input type="submit" value="Register" class="submit">
+</table>
+<div class="logos">
+<a href="http://www.societatea-hermes.ro"><div class="hermes"></div></a>
+<a href="https://www.facebook.com/mindcodingcluj"><div class="fb"></div></a>
+</div>
+</div>
+</form>
diff --git a/tmpl/footer.en b/tmpl/footer.en
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/tmpl/header.en b/tmpl/header.en
new file mode 100644 (file)
index 0000000..8299981
--- /dev/null
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<title>TITLE_GOES_HERE</title>
+<link rel="stylesheet" href="/mc.css">
+<script src="/zepto.var" defer></script>
+<script src="/view.js" defer></script>
+<script src="/form.js" defer></script>
+<meta charset="utf-8">
+
This page took 0.016155 seconds and 4 git commands to generate.