- {{> afQuickField name="body" id="body" rows="6"}}
+ {{> afQuickField name="body" id="body" rows="6"}}
Use ctrl+enter for normal line break.
@@ -68,9 +68,9 @@
@@ -78,7 +78,7 @@
diff --git a/web/client/admin/emailTemplates/admin_emailTemplates.js b/client/admin/emailTemplates/admin_emailTemplates.js
similarity index 96%
rename from web/client/admin/emailTemplates/admin_emailTemplates.js
rename to client/admin/emailTemplates/admin_emailTemplates.js
index e2b391e..201b7f1 100644
--- a/web/client/admin/emailTemplates/admin_emailTemplates.js
+++ b/client/admin/emailTemplates/admin_emailTemplates.js
@@ -12,9 +12,9 @@ Template.admin_emailTemplates.helpers({
showFilter: false,
rowsPerPage: 500,
fields: [
- 'groups',
- 'subject',
- 'identifier',
+ { fieldId: 'groups', key: 'groups', label: 'groups'},
+ { fieldId: 'subject', key: 'subject', label: 'subject'},
+ { fieldId: 'identifier', key: 'identifier', label: 'identifier'},
Field.edit,
],
}
diff --git a/web/client/admin/emailTemplates/preview.styl b/client/admin/emailTemplates/preview.styl
similarity index 100%
rename from web/client/admin/emailTemplates/preview.styl
rename to client/admin/emailTemplates/preview.styl
diff --git a/web/client/admin/growth/admin_growth.html b/client/admin/growth/admin_growth.html
similarity index 100%
rename from web/client/admin/growth/admin_growth.html
rename to client/admin/growth/admin_growth.html
diff --git a/web/client/admin/growth/admin_growth.js b/client/admin/growth/admin_growth.js
similarity index 70%
rename from web/client/admin/growth/admin_growth.js
rename to client/admin/growth/admin_growth.js
index 843515d..de60768 100644
--- a/web/client/admin/growth/admin_growth.js
+++ b/client/admin/growth/admin_growth.js
@@ -22,25 +22,26 @@ var state = new State('adminGrowth', {
var fields = function() {
return [
Field.city,
- { key: 'createdAt', label: 'since', sortByValue: true, fn: Field.fn.date },
- { key: 'avatarUrl', label: '#', fn: function(avatarUrl, obj) { return Safe.string('

'); }},
+ { fieldId: 'createdAt', key: 'createdAt', label: 'since', sortByValue: true, fn: Field.fn.date },
+ { fieldId: 'avatarUrl', key: 'avatarUrl', label: '#', fn: function(avatarUrl, obj) { return Safe.string('

'); }},
// 'name',
- 'followers',
- 'following',
- 'repos',
- 'gists',
- { key: 'username', label: 'username', sortByValue: true, fn: function(username) { return Safe.url("https://github.com/"+username, {text: username}); }},
- { key: 'hireable', label: 'hire', fn: Field.fn.bool },
- { key: 'biography', label: 'bio', fn: function(bio) { return bio ? Safe.string('
') : ''; } },
- { key: 'company', label: 'comp.', fn: function(company) { return company ? Safe.string('
') : ''; } },
- { key: 'location', label: 'loc.', fn: function(location) { return location ? Safe.string('
') : ''; } },
-
- { key: 'website', label: 'site', sortByValue: true, fn: function(url) { return url ? Safe.url(url, {text: '
'}) : ''; }},
- { key: 'email', label: 'email', sortByValue: true, fn: Field.fn.email },
- { key: 'invitedAt', label: 'invited', sortByValue: true, fn: Field.fn.date},
- { key: 'open', label: 'open', sortByValue: true, fn: Field.fn.bool},
- { key: 'clicks', label: 'clicks', sortByValue: true},
- { key: 'signupAt', label: 'singup', sortByValue: true, fn: Field.fn.date},
+ { fieldId: 'followers', key: 'followers', label: 'followers'},
+ { fieldId: 'following', key: 'following', label: 'following'},
+ { fieldId: 'repos', key: 'repos', label: 'repos'},
+ { fieldId: 'gists', key: 'gists', label: 'gists'},
+
+ { fieldId: 'username', key: 'username', label: 'username', sortByValue: true, fn: function(username) { return Safe.url("https://github.com/"+username, {text: username}); }},
+ { fieldId: 'hireable', key: 'hireable', label: 'hire', fn: Field.fn.bool },
+ { fieldId: 'biography', key: 'biography', label: 'bio', fn: function(bio) { return bio ? Safe.string('
') : ''; } },
+ { fieldId: 'company', key: 'company', label: 'comp.', fn: function(company) { return company ? Safe.string('
') : ''; } },
+ { fieldId: 'location', key: 'location', label: 'loc.', fn: function(location) { return location ? Safe.string('
') : ''; } },
+
+ { fieldId: 'website', key: 'website', label: 'site', sortByValue: true, fn: function(url) { return url ? Safe.url(url, {text: '
'}) : ''; }},
+ { fieldId: 'email', key: 'email', label: 'email', sortByValue: true, fn: Field.fn.email },
+ { fieldId: 'invitedAt', key: 'invitedAt', label: 'invited', sortByValue: true, fn: Field.fn.date},
+ { fieldId: 'open', key: 'open', label: 'open', sortByValue: true, fn: Field.fn.bool},
+ { fieldId: 'clicks', key: 'clicks', label: 'clicks', sortByValue: true},
+ { fieldId: 'signupAt', key: 'signupAt', label: 'singup', sortByValue: true, fn: Field.fn.date},
];
};
diff --git a/web/client/admin/growth/admin_growth.styl b/client/admin/growth/admin_growth.styl
similarity index 100%
rename from web/client/admin/growth/admin_growth.styl
rename to client/admin/growth/admin_growth.styl
diff --git a/web/client/admin/hackers/admin_hackers.html b/client/admin/hackers/admin_hackers.html
similarity index 100%
rename from web/client/admin/hackers/admin_hackers.html
rename to client/admin/hackers/admin_hackers.html
diff --git a/web/client/admin/hackers/admin_hackers.js b/client/admin/hackers/admin_hackers.js
similarity index 51%
rename from web/client/admin/hackers/admin_hackers.js
rename to client/admin/hackers/admin_hackers.js
index b4fbff3..2657641 100644
--- a/web/client/admin/hackers/admin_hackers.js
+++ b/client/admin/hackers/admin_hackers.js
@@ -15,11 +15,11 @@ Template.admin_hackers.helpers({
fields: [
Field.date,
Field.city,
- { key: 'globalId', label: '#', sortByValue: true, fn: function(val, obj) { return Safe.url(Users.userProfileUrl(obj), {text: Users.userRank(obj) ? '#'+Users.userRank(obj) : '-'}); } },
- { key: 'profile.name', label: 'name', sortByValue: true, fn: function(val, obj) { return Safe.url(Users.userProfileUrl(obj), {text: val || '-'}); } },
- { key: 'profile.email', label: 'e-mail', sortByValue: true, fn: Field.fn.email },
- { key: 'invitations', label: 'free invites' },
- { key: '_id', label: 'status',
+ { fieldId: 'globalId', key: 'globalId', label: '#', sortByValue: true, fn: function(val, obj) { return Safe.url(Users.userProfileUrl(obj), {text: Users.userRank(obj) ? '#'+Users.userRank(obj) : '-'}); } },
+ { fieldId: 'profile.name', key: 'profile.name', label: 'name', sortByValue: true, fn: function(val, obj) { return Safe.url(Users.userProfileUrl(obj), {text: val || '-'}); } },
+ { fieldId: 'profile.email', key: 'profile.email', label: 'e-mail', sortByValue: true, fn: Field.fn.email },
+ { fieldId: 'invitations', key: 'invitations', label: 'free invites' },
+ { fieldId: '_id', key: '_id', label: 'status',
fn: function(val, obj) {
var labels = Users.userStatusLabel(obj);
var makeLabel = function(label) { return '
'+label.text+''; }
diff --git a/web/client/admin/highlights/admin_highlights.html b/client/admin/highlights/admin_highlights.html
similarity index 100%
rename from web/client/admin/highlights/admin_highlights.html
rename to client/admin/highlights/admin_highlights.html
diff --git a/web/client/admin/highlights/admin_highlights.js b/client/admin/highlights/admin_highlights.js
similarity index 71%
rename from web/client/admin/highlights/admin_highlights.js
rename to client/admin/highlights/admin_highlights.js
index 1745149..4479a43 100644
--- a/web/client/admin/highlights/admin_highlights.js
+++ b/client/admin/highlights/admin_highlights.js
@@ -13,8 +13,8 @@ Template.admin_highlights.helpers({
Field.date,
Field.city,
Field.private,
- 'title',
- 'subtitle',
+ {fieldId: 'title', key: 'title', label: 'title'},
+ {fieldId: 'subtitle', key: 'subtitle', label: 'subtitle'},
Field.url,
],
}
diff --git a/web/client/admin/places/admin_places.html b/client/admin/places/admin_places.html
similarity index 100%
rename from web/client/admin/places/admin_places.html
rename to client/admin/places/admin_places.html
diff --git a/web/client/admin/places/admin_places.js b/client/admin/places/admin_places.js
similarity index 62%
rename from web/client/admin/places/admin_places.js
rename to client/admin/places/admin_places.js
index aaef602..c7be0b9 100644
--- a/web/client/admin/places/admin_places.js
+++ b/client/admin/places/admin_places.js
@@ -13,9 +13,9 @@ Template.admin_places.helpers({
Field.date,
Field.city,
Field.private,
- 'type',
- 'title',
- 'description',
+ {fieldId: 'type', key: 'type', label: 'type'},
+ {fieldId: 'title', key: 'title', label: 'title'},
+ {fieldId: 'description', key: 'description', label: 'description'},
Field.url,
],
}
diff --git a/web/client/emails/data.js b/client/emails/data.js
similarity index 100%
rename from web/client/emails/data.js
rename to client/emails/data.js
diff --git a/web/client/emails/localMeetup.html b/client/emails/localMeetup.html
similarity index 100%
rename from web/client/emails/localMeetup.html
rename to client/emails/localMeetup.html
diff --git a/web/client/emails/localMeetupReminder.html b/client/emails/localMeetupReminder.html
similarity index 100%
rename from web/client/emails/localMeetupReminder.html
rename to client/emails/localMeetupReminder.html
diff --git a/web/client/emails/localMessage.html b/client/emails/localMessage.html
similarity index 100%
rename from web/client/emails/localMessage.html
rename to client/emails/localMessage.html
diff --git a/web/client/emails/personalInviteSlots.html b/client/emails/personalInviteSlots.html
similarity index 100%
rename from web/client/emails/personalInviteSlots.html
rename to client/emails/personalInviteSlots.html
diff --git a/web/client/emails/personalMessage.html b/client/emails/personalMessage.html
similarity index 100%
rename from web/client/emails/personalMessage.html
rename to client/emails/personalMessage.html
diff --git a/web/client/emails/personalMissingInfo.html b/client/emails/personalMissingInfo.html
similarity index 100%
rename from web/client/emails/personalMissingInfo.html
rename to client/emails/personalMissingInfo.html
diff --git a/web/client/emails/personalWelcome.html b/client/emails/personalWelcome.html
similarity index 100%
rename from web/client/emails/personalWelcome.html
rename to client/emails/personalWelcome.html
diff --git a/web/client/emails/personalWelcome10first.html b/client/emails/personalWelcome10first.html
similarity index 100%
rename from web/client/emails/personalWelcome10first.html
rename to client/emails/personalWelcome10first.html
diff --git a/web/client/lib/_startup.js b/client/lib/_startup.js
similarity index 100%
rename from web/client/lib/_startup.js
rename to client/lib/_startup.js
diff --git a/web/client/lib/editor.js b/client/lib/editor.js
similarity index 100%
rename from web/client/lib/editor.js
rename to client/lib/editor.js
diff --git a/web/client/lib/interface.js b/client/lib/interface.js
similarity index 100%
rename from web/client/lib/interface.js
rename to client/lib/interface.js
diff --git a/web/client/lib/loginService.js b/client/lib/loginService.js
similarity index 100%
rename from web/client/lib/loginService.js
rename to client/lib/loginService.js
diff --git a/web/client/lib/router.js b/client/lib/router.js
similarity index 100%
rename from web/client/lib/router.js
rename to client/lib/router.js
diff --git a/web/client/lib/safeString.js b/client/lib/safeString.js
similarity index 100%
rename from web/client/lib/safeString.js
rename to client/lib/safeString.js
diff --git a/web/client/lib/state.js b/client/lib/state.js
similarity index 100%
rename from web/client/lib/state.js
rename to client/lib/state.js
diff --git a/web/client/main.html b/client/main.html
similarity index 100%
rename from web/client/main.html
rename to client/main.html
diff --git a/web/client/main.js b/client/main.js
similarity index 100%
rename from web/client/main.js
rename to client/main.js
diff --git a/web/client/main.styl b/client/main.styl
similarity index 94%
rename from web/client/main.styl
rename to client/main.styl
index 99411e7..9a71c45 100644
--- a/web/client/main.styl
+++ b/client/main.styl
@@ -12,6 +12,7 @@ html, body {
margin: 0;
padding: 0;
height: 100%;
+ font-size: 14px;
}
body{
font-family: 'Tiempos Text', 'open sans';
@@ -31,7 +32,13 @@ a img {
border:0px;
}
-
+/* bootstrap adjustments */
+.control-label{
+ padding-top: 6px !important;
+}
+.btn{
+ padding: 6px 12px 4px 12px !important;
+}
#iron-router-progress {
background-color: #fff;
@@ -97,7 +104,6 @@ a img {
.alert h1 {
font-size: 26px;
- margin-top: 5px;
margin-bottom: 5px;
}
.alert p {
@@ -107,10 +113,22 @@ a img {
.main-alerts,
.alert-wrapper {
width: 100%;
- background-color: rgba(255,255,255,0.3);
+ background-color: rgba(255,255,255,0.15);
+ /*animation: fadeIn 2s;
+ @keyframes fadeIn {
+ from {
+ background-color: rgba(255, 249, 208, 1)
+ }
+ to {
+ background-color: rgba(255,255,255,0.15)
+ }
+ }*/
.alert {
margin: 10px 0px;
width: 550px;
+ h1{
+ margin-top: -20px;
+ }
}
}
@@ -358,6 +376,8 @@ a img {
margin-top: -5px;
transition: none;
height:30px;
+ outline:0px !important;
+ -webkit-appearance:none;
}
input.text:hover {
border: 1px solid rgba(0,0,0,0);
@@ -471,7 +491,7 @@ a img {
text-overflow: ""; /*Removes default arrow from firefox*/
padding-left: 12px;
font-size: 18px;
- line-height: 18px;
+ line-height: 35px;
height: 33px;
optgroup{
@@ -510,6 +530,6 @@ a img {
}
/* Replacement for button-inverse of bootstrap 2 */
a.btn.btn-inverse, button.btn.btn-inverse {
- background-color:#444;
- color:#fff;
+ background-color: rgba(255,255,255,0.15);
+ color:#fff9d0;
}
diff --git a/web/client/pages/agenda/agenda.html b/client/pages/agenda/agenda.html
similarity index 100%
rename from web/client/pages/agenda/agenda.html
rename to client/pages/agenda/agenda.html
diff --git a/web/client/pages/agenda/agenda.js b/client/pages/agenda/agenda.js
similarity index 100%
rename from web/client/pages/agenda/agenda.js
rename to client/pages/agenda/agenda.js
diff --git a/web/client/pages/books/books.html b/client/pages/books/books.html
similarity index 100%
rename from web/client/pages/books/books.html
rename to client/pages/books/books.html
diff --git a/web/client/pages/books/books.js b/client/pages/books/books.js
similarity index 100%
rename from web/client/pages/books/books.js
rename to client/pages/books/books.js
diff --git a/web/client/pages/books/books.styl b/client/pages/books/books.styl
similarity index 100%
rename from web/client/pages/books/books.styl
rename to client/pages/books/books.styl
diff --git a/web/client/pages/deals/deals.html b/client/pages/deals/deals.html
similarity index 100%
rename from web/client/pages/deals/deals.html
rename to client/pages/deals/deals.html
diff --git a/web/client/pages/deals/deals.js b/client/pages/deals/deals.js
similarity index 100%
rename from web/client/pages/deals/deals.js
rename to client/pages/deals/deals.js
diff --git a/web/client/pages/deals/deals.styl b/client/pages/deals/deals.styl
similarity index 100%
rename from web/client/pages/deals/deals.styl
rename to client/pages/deals/deals.styl
diff --git a/web/client/pages/frontpage/frontpage.html b/client/pages/frontpage/frontpage.html
similarity index 100%
rename from web/client/pages/frontpage/frontpage.html
rename to client/pages/frontpage/frontpage.html
diff --git a/web/client/pages/frontpage/frontpage.js b/client/pages/frontpage/frontpage.js
similarity index 100%
rename from web/client/pages/frontpage/frontpage.js
rename to client/pages/frontpage/frontpage.js
diff --git a/web/client/pages/frontpage/frontpage.styl b/client/pages/frontpage/frontpage.styl
similarity index 99%
rename from web/client/pages/frontpage/frontpage.styl
rename to client/pages/frontpage/frontpage.styl
index b9520f2..396ba6c 100644
--- a/web/client/pages/frontpage/frontpage.styl
+++ b/client/pages/frontpage/frontpage.styl
@@ -225,6 +225,7 @@ exit-button()
border-width: 3px;
border-radius: 0px !important;
margin-top: 50px;
+ padding-top: 9px;
}
#enroll-btn-large:hover{
background-color:rgba(0,0,0,0.1);
diff --git a/web/client/pages/hacker/hacker.html b/client/pages/hacker/hacker.html
similarity index 91%
rename from web/client/pages/hacker/hacker.html
rename to client/pages/hacker/hacker.html
index 3da1bd6..140142f 100644
--- a/web/client/pages/hacker/hacker.html
+++ b/client/pages/hacker/hacker.html
@@ -10,38 +10,38 @@
{{#if invitationLimitReached}}
-
This personal invitation URL has reached its maximum. When the person who gave you this URL will get new slots you will se it here. You can also apply trough the application process on the homepage.
+
The personal invitation URL you are trying to use has reached its maximum. When the person who gave you this URL will get new slots you will se it here. You can also apply trough the application process on the homepage.
{{/if}}
{{#if isUnverifiedEmail}}
-
Check your e-mail :)
-
We have sent you an email with a validation link
+
Check your inbox !
+
We just send you an email with a validation link.
{{else}}
{{#if tellUsMore}}
{{#if isInvited}}
{{! XXX user must only complete his profile to enter website (already invited) }}
-
Tell us more
-
Before you start using the website we need you to give us some more information, so that other hackers can get a feel for who you are :)
+
psssst !
+
Please provide some more information,
so that other users can relate to you :)
{{else}}
{{! XXX user must complete his profile AND needs to be invited by someone }}
Tell us more
-
To enter the wailting list please complete your profile. Every now an then we handpick some of you to become members.
-
To ensure acces you can also ask a member you know, to vouch for you, by providing you his invitation url. (before or after completing your profile)
+
To enter the wailting list please complete your profile, there is a good chance we will activate your account in matter of days.
+
To have instant acces you can also ask a member you know to vouch for you, by providing you his invitation url. (this works before and after completing your profile)
{{/if}}
{{else}}
{{#unless isInvited}}
{{! XXX profile is completely filled in but user needs to be invited by someone }}
-
Thank you
-
Right now there are no open slots in the community. Every now an then we handpick some of the people like you who entered the waiting list. If this is the case we will notify you.
-
To ensure acces you can also ask a member you know, to vouch for you, by providing you his invitation url.
+
Profile complte
+
Right now there are no open slots in the community. There is a good chance we will activate your account in matter of days. If this is the case we will notify you by email.
+
For instant acces you can also ask a member you know to vouch for you, by providing you his invitation url.
{{/unless}}
{{/if}}
@@ -83,8 +83,8 @@
Thank you
@@ -151,7 +151,7 @@
Thank you