Skip to content

Commit 73ace06

Browse files
committed
More deloitte style updates
1 parent 2e44550 commit 73ace06

File tree

6 files changed

+79
-33
lines changed

6 files changed

+79
-33
lines changed

app.yaml

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
application: yammerfall
1+
application: deloittewall
22
version: 1-3
33
runtime: python
44
api_version: 1
@@ -9,9 +9,15 @@ handlers:
99

1010
- url: /images
1111
static_dir: static/images
12-
12+
1313
- url: /js
1414
static_dir: static/js
15-
15+
1616
- url: .*
1717
script: main.py
18+
secure: always
19+
20+
- url: /
21+
static_dir: /
22+
secure: always
23+

static/styles/web.css

+27-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
body {
2-
background-color: #BEC4CF;
3-
font-family: "Helvetica Neue", "Helvetica", "Arial", Sans-serif;
2+
background: rgb(1,0,102) url('../images/DeloitteLogo.png') no-repeat 38px 30px;
3+
margin-top:100px;
4+
font-family: sans-serif;
45
}
56

67
span.yammerfall {
@@ -9,7 +10,7 @@ span.yammerfall {
910

1011
span.userimg {
1112
float:left;
12-
padding: 15px;
13+
padding: 10px 15px 15px 0;
1314
}
1415

1516

@@ -19,36 +20,44 @@ div.message {
1920
}
2021

2122
.yammer {
22-
-webkit-border-radius: 10px;
23-
-khtml-border-radius: 10px;
24-
-moz-border-radius: 10px;
25-
border-radius: 10px;
26-
background-color: #FFFFFF;
23+
background-color: #fff;
2724
vertical-align: middle;
28-
width: 625px;
2925
padding-right: 20px;
3026
padding-left: 20px;
3127
padding-top: 5px;
3228
padding-bottom: 5px;
3329
font-size: 120%;
3430
min-height: 80px;
35-
color: #222222;
31+
color: #333;
32+
-webkit-border-radius: 6px;
33+
-khtml-border-radius: 6px;
34+
-moz-border-radius: 6px;
35+
border-radius: 6px;
3636
}
3737

38+
.yammer h3 {
39+
margin-bottom: 0;
40+
}
41+
42+
.yammer span {
43+
font-size: 70%;
44+
}
45+
3846
div.yammerer {
3947
/*border-bottom: 2px solid #5B6F87;*/
4048
padding-bottom: 0px;
41-
margin-bottom: 15px;
49+
margin-bottom: 10px;
50+
margin-top: 5px;
4251
}
4352

4453
strong.yammerer {
4554
font-size: 80%;
46-
color: #E91A38;
55+
color: #00A1DE;
4756
font-weight: bold;
4857
}
4958

5059
span.creationdate {
51-
padding-top: 10px;
60+
padding-top: 15px;
5261
font-size: 80%;
5362
color: #999999;
5463
}
@@ -61,8 +70,12 @@ span.messageinfo {
6170

6271
div.likedby {
6372
font-size: 80%;
64-
background-color: #FFFFFF;
73+
background-color: #EEE;
6574
color: #5B6F87;
75+
-webkit-border-radius: 6px;
76+
-khtml-border-radius: 6px;
77+
-moz-border-radius: 6px;
78+
border-radius: 6px;
6679
}
6780

6881
div.break-word {

templates/base.html

+40-14
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"http://www.w3.org/TR/html4/strict.dtd">
33
<html>
44
<head>
5-
<title>YammerFall</title>
5+
<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
6+
<title>YammerWall</title>
67
<link rel="stylesheet" href="/styles/web.css" type="text/css">
78
<script type="text/javascript" src="/js/jquery-1.3.min.js"></script>
89
<script type="text/javascript" src="/js/date.js"></script>
@@ -15,27 +16,52 @@
1516
});
1617
});
1718
</script>
19+
20+
<script type="text/javascript">
21+
22+
var _gaq = _gaq || [];
23+
_gaq.push(['_setAccount', 'UA-24830730-1']);
24+
_gaq.push(['_trackPageview']);
25+
26+
(function() {
27+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
28+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
29+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
30+
})();
31+
32+
</script>
33+
34+
1835
</head>
1936
<body>
2037
<span class="yammerfall">
38+
2139
<div class="message" id="logos">
22-
<div class="yammer">
23-
<!-- content goes here -->
24-
<h2>
25-
<img src="https://assets1.yammer.com/images/YammerIconApp126x126.jpg" height="50">
26-
&nbsp;&nbsp;Yammerfall
27-
</h2>
28-
<div id="description">
29-
<b>Yammer</b> is a verified social network. You can share info on your profile (like Facebook) and connect with others through updates (like Twitter.)
30-
</br>
31-
<b>Yammerfall</b> is an app that displays the latest updates of your entire network.
32-
</div>
33-
<!-- content went here -->
34-
</div>
3540
</div>
3641
</span>
3742

3843
{% block mainpanel %}
3944
{% endblock %}
45+
46+
<script type="text/javascript">
47+
var _sf_async_config={uid:26650,domain:"yammerwall.appspot.com"};
48+
(function(){
49+
function loadChartbeat() {
50+
window._sf_endpt=(new Date()).getTime();
51+
var e = document.createElement('script');
52+
e.setAttribute('language', 'javascript');
53+
e.setAttribute('type', 'text/javascript');
54+
e.setAttribute('src',
55+
(("https:" == document.location.protocol) ? "https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/" : "http://static.chartbeat.com/") +
56+
"js/chartbeat.js");
57+
document.body.appendChild(e);
58+
}
59+
var oldonload = window.onload;
60+
window.onload = (typeof window.onload != 'function') ?
61+
loadChartbeat : function() { oldonload(); loadChartbeat(); };
62+
})();
63+
64+
</script>
4065
</body>
66+
4167
</html>

templates/home.html

+1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@
1616
// -->
1717
</script>
1818
</span>
19+
1920
{% endblock %}

templates/login.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h2>Follow these 7 steps to authenticate this Yammerfall instance with yammer.co
1515
<div class="yammer">
1616
<!-- content goes here -->
1717
<h3>1) Click this <a href="{{user_auth_url}}?oauth_token={{oauth_token}}" onclick="window.open (this.href, 'child', 'height=600,width=450'); return false">link</a></h3>
18-
(This will open up yammer.com in a new browser window.)
18+
<span class="helperText">(This will open up yammer.com in a new browser window.)</span>
1919
<!-- content went here -->
2020
</div>
2121
</div>
@@ -24,7 +24,7 @@ <h3>1) Click this <a href="{{user_auth_url}}?oauth_token={{oauth_token}}" onclic
2424
<div class="yammer">
2525
<!-- content goes here -->
2626
<h3>2) Login using your yammer username and password.</h3>
27-
(If you are already logged in, go to step 3. If you do not have an account with yammer, you can create one now.)
27+
<span class="helperText">(If you are already logged in, go to step 3. If you do not have an account with yammer, you can create one now.)</span>
2828
<!-- content went here -->
2929
</div>
3030
</div>

yammerConfig.pyc

-268 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)