Switch to unified view

a/opensourceprojects/templates/frontpage.html b/opensourceprojects/templates/frontpage.html
...
...
31
    {% endfor %}
31
    {% endfor %}
32
    {% for blob in g.resource_manager.emit('head_js') %}
32
    {% for blob in g.resource_manager.emit('head_js') %}
33
      {{ blob }}
33
      {{ blob }}
34
    {% endfor %}
34
    {% endfor %}
35
35
36
    <link href='http://fonts.googleapis.com/css?family=Sintony:400,700' rel='stylesheet' type='text/css'>
37
36
    {% if c.project and c.project.neighborhood.css %}
38
    {% if c.project and c.project.neighborhood.css %}
37
      <style type="text/css">
39
      <style type="text/css">
38
        {{c.project.neighborhood.get_custom_css()|safe}}
40
        {{c.project.neighborhood.get_custom_css()|safe}}
39
      </style>
41
      </style>
40
    {% elif neighborhood and neighborhood.css %}
42
    {% elif neighborhood and neighborhood.css %}
...
...
43
      </style>
45
      </style>
44
    {% endif %}
46
    {% endif %}
45
    {% block extra_css %}{% endblock %}
47
    {% block extra_css %}{% endblock %}
46
      <style>.{{ g.antispam.honey_class }} { display:none }</style>
48
      <style>.{{ g.antispam.honey_class }} { display:none }</style>
47
49
48
      <style>
49
.upcontent{
50
    background-color: #F4F1FF;
51
    width:100%;
52
    height:350px;
53
    border-bottom: 2px solid #414E96;
54
}
55
56
.tagnsign{
57
    margin: 0 auto;
58
    padding-top:80px;
59
    width: 900px;
60
    right:0px;
61
    left:0px;
62
}
63
64
.tagline{
65
    max-width: 500px;
66
    word-wrap:break-word;
67
    float: left;
68
    color:#000C4C;
69
    text-shadow: -1px 1 #333, 1 1px #333, 1px 1 #333, 1 -1px #333;
70
}
71
72
73
.taglinebig{
74
    font-size: 42pt;
75
    line-height: 60px;
76
}
77
78
.taglinemini{
79
    font-size: 20pt;
80
    line-height: 30px;
81
    color:#414E96;
82
    margin-top: 5px;
83
}
84
85
.signbtn {
86
  width:277px;
87
  height: 42px;
88
  display: inline-block;
89
  *display: inline;
90
  padding: 4px 12px;
91
  margin-top: 10px;
92
  margin-bottom: 0;
93
  *margin-left: .3em;
94
  font-size: 14pt;
95
  line-height: 20px;
96
  color: #fff;
97
  text-align: center;
98
  vertical-align: middle;
99
  cursor: pointer;
100
  background-color: #414E96;
101
  *background-color: #414E96;
102
  background-image: -moz-linear-gradient(top, #414E96, #000C4C);
103
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#414E96), to(#000C4C));
104
  background-image: -webkit-linear-gradient(top, #414E96, ##000C4C);
105
  background-image: -o-linear-gradient(top, #414E96, #000C4C);
106
  background-image: linear-gradient(to bottom, #414E96, #000C4C);
107
  background-repeat: repeat-x;
108
  -webkit-border-radius: 4px;
109
  -moz-border-radius: 4px;
110
  border-radius: 4px;
111
  border: 1px solid #000C4C;
112
  text-shadow:none;
113
  letter-spacing:1px;
114
  font-weight: normal;
115
  -webkit-box-shadow:none;
116
  -moz-box-shadow:none;
117
  box-shadow:none;
118
    outline: none;
119
}
120
121
.signbtn:hover{
122
  cursor: pointer;
123
  background-color: #000C4C;
124
  *background-color: #000C4C;
125
  background-image: -moz-linear-gradient(top, #000C4C, #414E96);
126
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#000C4C), to(#414E96));
127
  background-image: -webkit-linear-gradient(top, #000C4C, #414E96);
128
  background-image: -o-linear-gradient(top, #000C4C, #414E96);
129
  background-image: linear-gradient(to bottom, #000C4C, #414E96);
130
  background-repeat: repeat-x;
131
  border: 1px solid #000C4C !important;
132
}
133
134
.signform{
135
    font-weight: lighter;
136
    float: right;
137
    max-width: 277px;
138
}
139
140
.signform input {
141
    width:255px;
142
    color:#444;
143
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
144
    letter-spacing: 1px;
145
    font-size: 13pt;
146
    -webkit-border-radius: 4px;
147
    -moz-border-radius: 4px;
148
    border-radius: 4px;
149
    padding:10px;
150
    margin:5px 0px 1px 0px;
151
    -webkit-box-shadow: none;
152
    box-shadow: none;
153
    -moz-box-shadow: none;
154
}
155
156
.signformbox{
157
    border:1px solid #414E96;
158
}
159
160
.signformboxcheck {
161
    border:1px solid #0E942C;
162
    background-color: #D9FEE1;
163
}
164
165
.signformboxwrong {
166
    border:1px solid #d04437;
167
    background-color: #f6e4e4;
168
}
169
170
.signformerror{ 
171
    background-color:#d04437;
172
    padding:7px 6px 5px 10px;
173
    color:#FFF;
174
    font-size: 10pt;
175
    position: relative;
176
    word-wrap:break-word;
177
    max-width:264px;
178
    text-align: left;
179
    font-weight: bold;
180
    display:none;
181
}
182
183
.signformarrow{
184
    width: 0; 
185
    height: 0; 
186
    border-left: 5px solid transparent;
187
    border-right: 5px solid transparent;
188
    border-bottom: 5px solid #d04437;
189
    margin-left:12px;
190
    display:none;
191
}
192
193
/* display only to test */
194
195
#passarrow, #passerror{
196
    display:block;
197
}
198
199
.middlecontent{
200
    background-color: #FFF;
201
    width:100%;
202
    height:350px;
203
    border-bottom: 1px solid #DFE2F2;
204
    display: none;
205
}
206
207
208
.highlightnrecent{
209
    margin: 0 auto;
210
    width: 900px;
211
    right:0px;
212
    left:0px;
213
}
214
215
.highlightproj{
216
    padding-top:20px;
217
    background-color: #F00;
218
    height:330px;
219
    width: 445px;
220
    float: left;
221
    opacity:0.6;
222
    padding-right:5px;
223
}
224
.recentproj{
225
    padding-top:20px;
226
    background-color: #0F0;
227
    height:330px;
228
    width: 445px;
229
    float: right;
230
    opacity:0.6;
231
    padding-left:5px;
232
}
233
234
235
.downcontent{
236
    background-color: #FFF;
237
    width:100%;
238
    height:800px;
239
    border-bottom: 1px solid #414E96;
240
    background-color: #d2d7f4;
241
}
242
243
244
.featurenexplain{
245
    margin: 0 auto;
246
    width: 900px;
247
    right:0px;
248
    left:0px;
249
}
250
251
.featureosp{
252
    margin-top:40px;
253
    float: left;
254
    text-align: center;
255
    padding:24px;
256
    height: 530px;
257
        border-right-width:1px;
258
    -webkit-border-image: 
259
        -webkit-gradient(linear, 0 0, 0 100%, from(#414E96), to(#d2d7f4)) 1 100%;
260
    -webkit-border-image: 
261
        -webkit-linear-gradient(#414E96, #d2d7f4) 1 100%;
262
    -o-border-image:
263
             -o-linear-gradient(#414E96, #d2d7f4) 1 100%;
264
    -moz-border-image:
265
           -moz-linear-gradient(#414E96, #d2d7f4) 1 100%; 
266
267
}
268
269
#lastfeature {border:none;}
270
271
.featureadmin {
272
    -webkit-border-radius: 4px;
273
    -moz-border-radius: 4px;
274
    border-radius: 4px;
275
    border: 1px solid #414E96;
276
    width:172px;
277
    background-color: #FFF;
278
    margin:0 auto;
279
    margin-top: 30px;
280
    height: 315px;
281
}
282
283
284
.featuregit {
285
    -webkit-border-radius: 4px;
286
    -moz-border-radius: 4px;
287
    border-radius: 4px;
288
    border: 1px solid #414E96;
289
    height: 255px;
290
    width:172px;
291
    background-color: #FFF;
292
    margin:0 auto;
293
    margin-top: 30px;
294
}
295
296
297
.featureforum {
298
    -webkit-border-radius: 4px;
299
    -moz-border-radius: 4px;
300
    border-radius: 4px;
301
    border: 1px solid #414E96;
302
    height: 320px;
303
    width:172px;
304
    background-color: #FFF;
305
    padding-left: 2px;
306
    margin:0 auto;
307
    margin-top: 30px;
308
    padding-top:4px;
309
    padding-bottom:3px;
310
}
311
312
.featuretickets {
313
    -webkit-border-radius: 4px;
314
    -moz-border-radius: 4px;
315
    border-radius: 4px;
316
    border: 1px solid #414E96;
317
    height: 410px;
318
    width:172px;
319
    background-color: #FFF;
320
    margin:0 auto;
321
    margin-top: 30px;
322
    padding-top:5px;
323
    padding-bottom:1px;
324
}
325
326
327
.titleosp{
328
    color:#000C4C;
329
    font-size: 18pt;
330
    font-weight: bold;
331
    padding-bottom: 10px;
332
    text-shadow: -1px 1 #333, 1 1px #333, 1px 1 #333, 1 -1px #333;
333
}
334
335
.explainosp{
336
    color:#000C4C;
337
    font-size: 10pt;
338
    height: 60px;
339
    line-height: 20px;
340
    width: 170px;
341
    margin: 0 auto;
342
    text-align: center;
343
}
344
345
.explainosp p{
346
    font-size: 13pt;
347
    line-height: 25px;
348
    padding: 0px;
349
    margin: 0px; 
350
}
351
352
.featureadmin img{
353
    width:167px;
354
}
355
356
.featureforum img{
357
    width:170px;
358
}
359
360
.featuregit img{
361
    width:167px;
362
}
363
364
.featuretickets img{
365
    width:166px;
366
}
367
368
      </style>
369
    {% block head %}
50
    {% block head %}
370
    {% endblock %}
51
    {% endblock %}
371
    {{g.analytics.display()}}
52
    {{g.analytics.display()}}
372
  </head>
53
  </head>
373
54
...
...
386
67
387
<div class="upcontent">
68
<div class="upcontent">
388
<div class="tagnsign">
69
<div class="tagnsign">
389
70
390
<div class="tagline">
71
<div class="tagline">
391
<div class="taglinebig">A common location for ICT-EU projects</div>
72
<div class="taglinebig">A common location for EU-ICT projects</div>
392
<div class="taglinemini">Community and Management Tools</div>
73
<div class="taglinemini">Open Source Community and Management Tools</div>
393
</div>
74
</div>
394
75
395
<form class="signform" action="/auth/create_account" method="get">
76
{% if c.user and c.user != c.user.anonymous() %}
396
77
397
    <button class="signbtn" type="submit">Sign up here </button>
78
{% else %}
398
</form>
79
    <div class="signform">
80
    {{form.display()}}
81
    </div>
82
{% endif %}
399
</div>
83
</div>
400
</div>
84
</div>
401
85
402
86
403
87