Browse files

Simplify!

  • Loading branch information...
1 parent 56943b1 commit 4d39342151874a05583704805bea2cb637abc805 @fabiopelosin committed Apr 12, 2013
Showing with 559 additions and 208 deletions.
  1. +11 −9 Rakefile
  2. BIN assets/cocoapods.png
  3. BIN assets/rss-logo.png
  4. BIN assets/twitter-logo.png
  5. +1 −1 graph.json
  6. +119 −122 index.html
  7. +203 −0 style.scss
  8. +178 −0 style2.css
  9. +47 −76 template.html
View
20 Rakefile
@@ -5,7 +5,7 @@ require 'json'
require 'erb'
require 'cgi'
-task :default => :deploy
+task :default => :update
#-----------------------------------------------------------------------------#
# These tasks assume to be in sibling directory to the CocoaPods gem
@@ -25,21 +25,23 @@ end
desc "Update the page"
task :update do
title("Updating master repo")
- # sh "pod repo update master"
+ sh "pod repo update master"
sets = Pod::Source.new(Pathname.new(File.expand_path "~/.cocoapods/master")).pod_sets
+ puts "COUNT: #{sets.count}"
title("Computing addition dates")
count_by_date = generate_count_by_date(sets)
title("Generating graph data")
graph_data = generate_graph_data(count_by_date)
- File.open('graph.json', 'w+') { |f| f.puts(graph_data.to_json) }
-
- title("Generating HTML")
- html = generate_html(sets, graph_data)
- File.open('index.html', 'w+') { |f| f.puts(html) }
+ json = {
+ 'total_count' => sets.count,
+ 'count_by_date' => graph_data,
+ }
+ File.open('graph.json', 'w+') { |f| f.puts(json.to_json) }
puts "Page updated."
+ `open index.html`
end
#-----------------------------------------------------------------------------#
@@ -48,7 +50,7 @@ end
# Pods added by the date.
#
def generate_count_by_date(sets)
- dates_by_pods = Pod::Specification::Set::Statistics.instance.creation_dates(sets)
+ dates_by_pods = Pod::Specification::Set::Statistics.new(Pod::STATISTICS_CACHE_FILE).creation_dates(sets)
dates = dates_by_pods.values
min_date = dates.min - (24 * 3600)
count_by_date = {Time.utc(min_date.year, min_date.month, min_date.day) => 0}
@@ -60,7 +62,7 @@ def generate_count_by_date(sets)
count_by_date.sort_by{|date, count| date}
end
-# @return [Hash{Symbol => Number}] Hash which contains the value of the x axis
+# @return [Array<Hash{Symbol => Number}>] Hash which contains the value of the x axis
# (the dates expressed in the UNIX format) and of the y axis (the
# cumulated number of added Pods on a specific date).
#
View
BIN assets/cocoapods.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN assets/rss-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN assets/twitter-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2 graph.json
@@ -1 +1 @@
-[{"x":1315353600,"y":0},{"x":1315440000,"y":2},{"x":1315699200,"y":3},{"x":1315785600,"y":4},{"x":1316304000,"y":8},{"x":1316390400,"y":10},{"x":1316476800,"y":11},{"x":1316563200,"y":13},{"x":1316736000,"y":14},{"x":1316908800,"y":16},{"x":1317081600,"y":17},{"x":1317513600,"y":20},{"x":1317859200,"y":21},{"x":1319068800,"y":22},{"x":1320105600,"y":23},{"x":1320883200,"y":26},{"x":1321142400,"y":28},{"x":1321315200,"y":32},{"x":1321401600,"y":34},{"x":1321660800,"y":36},{"x":1321747200,"y":39},{"x":1321833600,"y":42},{"x":1321920000,"y":45},{"x":1322006400,"y":46},{"x":1322265600,"y":47},{"x":1322352000,"y":48},{"x":1323216000,"y":49},{"x":1323302400,"y":50},{"x":1323734400,"y":51},{"x":1323820800,"y":52},{"x":1323907200,"y":53},{"x":1324166400,"y":55},{"x":1324598400,"y":56},{"x":1325116800,"y":57},{"x":1325203200,"y":58},{"x":1325376000,"y":59},{"x":1325635200,"y":60},{"x":1326067200,"y":63},{"x":1326153600,"y":64},{"x":1327449600,"y":65},{"x":1327622400,"y":66},{"x":1327795200,"y":67},{"x":1327881600,"y":71},{"x":1327968000,"y":72},{"x":1328054400,"y":73},{"x":1328227200,"y":74},{"x":1328572800,"y":77},{"x":1328659200,"y":80},{"x":1328745600,"y":81},{"x":1328832000,"y":82},{"x":1329696000,"y":83},{"x":1329955200,"y":84},{"x":1330041600,"y":85},{"x":1330214400,"y":96},{"x":1330300800,"y":99},{"x":1330387200,"y":100},{"x":1330646400,"y":107},{"x":1330732800,"y":108},{"x":1330819200,"y":111},{"x":1331078400,"y":112},{"x":1331251200,"y":113},{"x":1331337600,"y":114},{"x":1331424000,"y":115},{"x":1331510400,"y":118},{"x":1331683200,"y":121},{"x":1331769600,"y":122},{"x":1331856000,"y":123},{"x":1332115200,"y":124},{"x":1332374400,"y":125},{"x":1332547200,"y":126},{"x":1332633600,"y":128},{"x":1332720000,"y":129},{"x":1332892800,"y":131},{"x":1333065600,"y":134},{"x":1333152000,"y":135},{"x":1333238400,"y":136},{"x":1333324800,"y":137},{"x":1333411200,"y":138},{"x":1333497600,"y":139},{"x":1333584000,"y":142},{"x":1333670400,"y":152},{"x":1333756800,"y":156},{"x":1334016000,"y":157},{"x":1334188800,"y":158},{"x":1334275200,"y":159},{"x":1334448000,"y":161},{"x":1334534400,"y":169},{"x":1334620800,"y":177},{"x":1334707200,"y":183},{"x":1334793600,"y":186},{"x":1334880000,"y":187},{"x":1334966400,"y":188},{"x":1335398400,"y":189},{"x":1336608000,"y":190},{"x":1337817600,"y":256},{"x":1338249600,"y":260},{"x":1338336000,"y":261},{"x":1339027200,"y":278},{"x":1339545600,"y":284},{"x":1339718400,"y":285},{"x":1340064000,"y":286},{"x":1340582400,"y":297},{"x":1340755200,"y":299},{"x":1341100800,"y":300},{"x":1343001600,"y":362},{"x":1343088000,"y":365},{"x":1343174400,"y":366},{"x":1343260800,"y":367},{"x":1343520000,"y":368},{"x":1343692800,"y":370},{"x":1343779200,"y":371},{"x":1343865600,"y":375},{"x":1344038400,"y":384},{"x":1344211200,"y":386},{"x":1344297600,"y":392},{"x":1344470400,"y":396},{"x":1344556800,"y":402},{"x":1344816000,"y":407},{"x":1344902400,"y":408},{"x":1344988800,"y":410},{"x":1345075200,"y":414},{"x":1345161600,"y":416},{"x":1345680000,"y":440},{"x":1345766400,"y":444},{"x":1346025600,"y":449},{"x":1346112000,"y":454},{"x":1346284800,"y":464},{"x":1346371200,"y":466},{"x":1346544000,"y":467},{"x":1346630400,"y":470},{"x":1346716800,"y":476},{"x":1346803200,"y":478},{"x":1346889600,"y":484},{"x":1346976000,"y":490},{"x":1347062400,"y":495},{"x":1347235200,"y":497},{"x":1347321600,"y":499},{"x":1347408000,"y":505},{"x":1347494400,"y":507},{"x":1347580800,"y":509},{"x":1347840000,"y":514},{"x":1348012800,"y":515},{"x":1348099200,"y":517},{"x":1348185600,"y":518},{"x":1348272000,"y":520},{"x":1348531200,"y":524},{"x":1348617600,"y":525},{"x":1348704000,"y":529},{"x":1348790400,"y":535},{"x":1348876800,"y":540},{"x":1349049600,"y":541},{"x":1349136000,"y":545},{"x":1349222400,"y":557},{"x":1349308800,"y":559},{"x":1349481600,"y":562},{"x":1349568000,"y":564},{"x":1349654400,"y":566},{"x":1349740800,"y":571},{"x":1349827200,"y":572},{"x":1349913600,"y":575},{"x":1350000000,"y":579},{"x":1350086400,"y":583},{"x":1350172800,"y":584},{"x":1350259200,"y":587},{"x":1350864000,"y":604},{"x":1350950400,"y":614},{"x":1351036800,"y":619},{"x":1351296000,"y":626},{"x":1351382400,"y":628},{"x":1351468800,"y":631},{"x":1351555200,"y":635},{"x":1351641600,"y":642},{"x":1351814400,"y":644},{"x":1352073600,"y":652},{"x":1352160000,"y":656},{"x":1352246400,"y":659},{"x":1352505600,"y":660},{"x":1352592000,"y":661},{"x":1352678400,"y":669},{"x":1352764800,"y":676},{"x":1352851200,"y":678},{"x":1352937600,"y":683},{"x":1353024000,"y":684},{"x":1353110400,"y":685},{"x":1353283200,"y":689},{"x":1353369600,"y":691},{"x":1353456000,"y":695},{"x":1353542400,"y":698},{"x":1353715200,"y":706},{"x":1353888000,"y":707},{"x":1353974400,"y":711},{"x":1354147200,"y":721},{"x":1354320000,"y":723},{"x":1354406400,"y":725},{"x":1354492800,"y":731},{"x":1354579200,"y":732},{"x":1354665600,"y":734},{"x":1355184000,"y":751},{"x":1355270400,"y":755},{"x":1355356800,"y":756},{"x":1355529600,"y":777},{"x":1355616000,"y":778},{"x":1355702400,"y":783},{"x":1356566400,"y":826},{"x":1356652800,"y":827},{"x":1356998400,"y":842},{"x":1357084800,"y":845},{"x":1357171200,"y":849},{"x":1357257600,"y":857},{"x":1357430400,"y":861},{"x":1357516800,"y":869},{"x":1357603200,"y":875},{"x":1357689600,"y":885},{"x":1357776000,"y":892},{"x":1357862400,"y":894},{"x":1357948800,"y":897},{"x":1358035200,"y":901},{"x":1358121600,"y":905},{"x":1358208000,"y":915},{"x":1358294400,"y":918},{"x":1358380800,"y":926},{"x":1358467200,"y":931},{"x":1358553600,"y":936},{"x":1358640000,"y":939},{"x":1358726400,"y":945},{"x":1358812800,"y":951},{"x":1359072000,"y":975},{"x":1359158400,"y":984},{"x":1359244800,"y":987},{"x":1359331200,"y":989},{"x":1359417600,"y":994},{"x":1359504000,"y":1002},{"x":1359590400,"y":1012},{"x":1359676800,"y":1016},{"x":1359849600,"y":1031},{"x":1360281600,"y":1055},{"x":1360368000,"y":1057},{"x":1360540800,"y":1066},{"x":1360627200,"y":1070},{"x":1360972800,"y":1097},{"x":1361059200,"y":1101},{"x":1361145600,"y":1102},{"x":1361232000,"y":1106},{"x":1361318400,"y":1111},{"x":1361404800,"y":1117},{"x":1361491200,"y":1122},{"x":1361836800,"y":1135},{"x":1363046400,"y":1202},{"x":1363132800,"y":1211},{"x":1363219200,"y":1216},{"x":1363305600,"y":1219},{"x":1363392000,"y":1225},{"x":1363478400,"y":1226},{"x":1363564800,"y":1228},{"x":1363651200,"y":1236},{"x":1363737600,"y":1241},{"x":1363824000,"y":1246},{"x":1363910400,"y":1252},{"x":1363996800,"y":1256},{"x":1364169600,"y":1263},{"x":1364601600,"y":1289},{"x":1364860800,"y":1309}]
+{"total_count":1365,"count_by_date":[{"x":1315353600,"y":0},{"x":1315440000,"y":2},{"x":1315699200,"y":3},{"x":1315785600,"y":4},{"x":1316304000,"y":8},{"x":1316390400,"y":10},{"x":1316476800,"y":11},{"x":1316563200,"y":13},{"x":1316736000,"y":14},{"x":1316908800,"y":16},{"x":1317081600,"y":17},{"x":1317513600,"y":20},{"x":1317859200,"y":21},{"x":1319068800,"y":22},{"x":1320105600,"y":23},{"x":1320883200,"y":26},{"x":1321142400,"y":28},{"x":1321315200,"y":32},{"x":1321401600,"y":34},{"x":1321660800,"y":36},{"x":1321747200,"y":39},{"x":1321833600,"y":42},{"x":1321920000,"y":45},{"x":1322006400,"y":46},{"x":1322265600,"y":47},{"x":1322352000,"y":48},{"x":1323216000,"y":49},{"x":1323302400,"y":50},{"x":1323734400,"y":51},{"x":1323820800,"y":52},{"x":1323907200,"y":53},{"x":1324166400,"y":55},{"x":1324598400,"y":56},{"x":1325116800,"y":57},{"x":1325203200,"y":58},{"x":1325376000,"y":59},{"x":1325635200,"y":60},{"x":1326067200,"y":63},{"x":1326153600,"y":64},{"x":1327449600,"y":65},{"x":1327622400,"y":66},{"x":1327795200,"y":67},{"x":1327881600,"y":71},{"x":1327968000,"y":72},{"x":1328054400,"y":73},{"x":1328227200,"y":74},{"x":1328572800,"y":77},{"x":1328659200,"y":80},{"x":1328745600,"y":81},{"x":1328832000,"y":82},{"x":1329696000,"y":83},{"x":1329955200,"y":84},{"x":1330041600,"y":85},{"x":1330214400,"y":96},{"x":1330300800,"y":99},{"x":1330387200,"y":100},{"x":1330646400,"y":107},{"x":1330732800,"y":108},{"x":1330819200,"y":111},{"x":1331078400,"y":112},{"x":1331251200,"y":113},{"x":1331337600,"y":114},{"x":1331424000,"y":115},{"x":1331510400,"y":118},{"x":1331683200,"y":121},{"x":1331769600,"y":122},{"x":1331856000,"y":123},{"x":1332115200,"y":124},{"x":1332374400,"y":125},{"x":1332547200,"y":126},{"x":1332633600,"y":128},{"x":1332720000,"y":129},{"x":1332892800,"y":131},{"x":1333065600,"y":134},{"x":1333152000,"y":135},{"x":1333238400,"y":136},{"x":1333324800,"y":137},{"x":1333411200,"y":138},{"x":1333497600,"y":139},{"x":1333584000,"y":142},{"x":1333670400,"y":152},{"x":1333756800,"y":156},{"x":1334016000,"y":157},{"x":1334188800,"y":158},{"x":1334275200,"y":159},{"x":1334448000,"y":161},{"x":1334534400,"y":169},{"x":1334620800,"y":177},{"x":1334707200,"y":183},{"x":1334793600,"y":186},{"x":1334880000,"y":187},{"x":1334966400,"y":188},{"x":1335398400,"y":189},{"x":1336608000,"y":190},{"x":1337817600,"y":256},{"x":1338249600,"y":260},{"x":1338336000,"y":261},{"x":1339027200,"y":278},{"x":1339545600,"y":284},{"x":1339718400,"y":285},{"x":1340064000,"y":286},{"x":1340582400,"y":297},{"x":1340755200,"y":299},{"x":1341100800,"y":300},{"x":1343001600,"y":362},{"x":1343088000,"y":365},{"x":1343174400,"y":366},{"x":1343260800,"y":367},{"x":1343520000,"y":368},{"x":1343692800,"y":370},{"x":1343779200,"y":371},{"x":1343865600,"y":375},{"x":1344038400,"y":384},{"x":1344211200,"y":386},{"x":1344297600,"y":392},{"x":1344470400,"y":396},{"x":1344556800,"y":402},{"x":1344816000,"y":407},{"x":1344902400,"y":408},{"x":1344988800,"y":410},{"x":1345075200,"y":414},{"x":1345161600,"y":416},{"x":1345680000,"y":440},{"x":1345766400,"y":444},{"x":1346025600,"y":449},{"x":1346112000,"y":454},{"x":1346284800,"y":464},{"x":1346371200,"y":466},{"x":1346544000,"y":467},{"x":1346630400,"y":470},{"x":1346716800,"y":476},{"x":1346803200,"y":478},{"x":1346889600,"y":484},{"x":1346976000,"y":490},{"x":1347062400,"y":495},{"x":1347235200,"y":497},{"x":1347321600,"y":499},{"x":1347408000,"y":505},{"x":1347494400,"y":507},{"x":1347580800,"y":509},{"x":1347840000,"y":514},{"x":1348012800,"y":515},{"x":1348099200,"y":517},{"x":1348185600,"y":518},{"x":1348272000,"y":520},{"x":1348531200,"y":524},{"x":1348617600,"y":525},{"x":1348704000,"y":528},{"x":1348790400,"y":534},{"x":1348876800,"y":539},{"x":1349049600,"y":540},{"x":1349136000,"y":544},{"x":1349222400,"y":556},{"x":1349308800,"y":558},{"x":1349481600,"y":561},{"x":1349568000,"y":563},{"x":1349654400,"y":565},{"x":1349740800,"y":570},{"x":1349827200,"y":571},{"x":1349913600,"y":574},{"x":1350000000,"y":578},{"x":1350086400,"y":582},{"x":1350172800,"y":583},{"x":1350259200,"y":586},{"x":1350864000,"y":603},{"x":1350950400,"y":613},{"x":1351036800,"y":618},{"x":1351296000,"y":625},{"x":1351382400,"y":627},{"x":1351468800,"y":630},{"x":1351555200,"y":634},{"x":1351641600,"y":641},{"x":1351814400,"y":643},{"x":1352073600,"y":651},{"x":1352160000,"y":655},{"x":1352246400,"y":658},{"x":1352505600,"y":659},{"x":1352592000,"y":660},{"x":1352678400,"y":668},{"x":1352764800,"y":675},{"x":1352851200,"y":677},{"x":1352937600,"y":682},{"x":1353024000,"y":683},{"x":1353110400,"y":684},{"x":1353283200,"y":688},{"x":1353369600,"y":690},{"x":1353456000,"y":694},{"x":1353542400,"y":697},{"x":1353715200,"y":705},{"x":1353888000,"y":706},{"x":1353974400,"y":710},{"x":1354147200,"y":720},{"x":1354320000,"y":722},{"x":1354406400,"y":724},{"x":1354492800,"y":730},{"x":1354579200,"y":731},{"x":1354665600,"y":733},{"x":1355184000,"y":750},{"x":1355270400,"y":754},{"x":1355356800,"y":755},{"x":1355529600,"y":776},{"x":1355616000,"y":777},{"x":1355702400,"y":782},{"x":1356566400,"y":825},{"x":1356652800,"y":826},{"x":1356998400,"y":841},{"x":1357084800,"y":844},{"x":1357171200,"y":848},{"x":1357257600,"y":856},{"x":1357430400,"y":860},{"x":1357516800,"y":868},{"x":1357603200,"y":874},{"x":1357689600,"y":884},{"x":1357776000,"y":891},{"x":1357862400,"y":893},{"x":1357948800,"y":896},{"x":1358035200,"y":900},{"x":1358121600,"y":904},{"x":1358208000,"y":914},{"x":1358294400,"y":917},{"x":1358380800,"y":925},{"x":1358467200,"y":930},{"x":1358553600,"y":935},{"x":1358640000,"y":938},{"x":1358726400,"y":944},{"x":1358812800,"y":950},{"x":1359072000,"y":974},{"x":1359158400,"y":983},{"x":1359244800,"y":986},{"x":1359331200,"y":988},{"x":1359417600,"y":993},{"x":1359504000,"y":1001},{"x":1359590400,"y":1011},{"x":1359676800,"y":1015},{"x":1359849600,"y":1030},{"x":1360281600,"y":1054},{"x":1360368000,"y":1056},{"x":1360540800,"y":1065},{"x":1360627200,"y":1069},{"x":1360972800,"y":1096},{"x":1361059200,"y":1100},{"x":1361145600,"y":1101},{"x":1361232000,"y":1105},{"x":1361318400,"y":1110},{"x":1361404800,"y":1116},{"x":1361491200,"y":1121},{"x":1361836800,"y":1134},{"x":1363046400,"y":1201},{"x":1363132800,"y":1210},{"x":1363219200,"y":1215},{"x":1363305600,"y":1218},{"x":1363392000,"y":1224},{"x":1363478400,"y":1225},{"x":1363564800,"y":1227},{"x":1363651200,"y":1235},{"x":1363737600,"y":1240},{"x":1363824000,"y":1245},{"x":1363910400,"y":1251},{"x":1363996800,"y":1255},{"x":1364169600,"y":1262},{"x":1364601600,"y":1288},{"x":1364860800,"y":1308},{"x":1364947200,"y":1311},{"x":1365033600,"y":1318},{"x":1365120000,"y":1319},{"x":1365552000,"y":1351},{"x":1365638400,"y":1363},{"x":1365724800,"y":1365}]}
View
241 index.html
@@ -1,140 +1,137 @@
<!DOCTYPE html>
<head>
- <title>CocoaPods Dashboard</title>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
-
- <link type="text/css" rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css">
- <script src="vendor/bootstrap/js/bootstrap.min.js"></script>
-
- <link type="text/css" rel="stylesheet" href="vendor/rickshaw/rickshaw.min.css">
- <script src="vendor/rickshaw/vendor/d3.min.js"></script>
- <script src="vendor/rickshaw/vendor/d3.layout.min.js"></script>
- <script src="vendor/rickshaw/rickshaw.min.js"></script>
- <script src="vendor/rickshaw/src/js/Rickshaw.Graph.Axis.Time.js"></script>
- <script src="vendor/rickshaw/src/js/Rickshaw.Graph.Axis.Y.js"></script>
- <script src="vendor/rickshaw/src/js/Rickshaw.Fixtures.Time.js"></script>
-
- <style type="text/css">
- .rickshaw_graph {
- }
- h2 {
- margin-top: 50px;
- margin-bottom: 25px;
- }
- body {
- padding-bottom: 100px;
- color: #AAA;
- }
-
- #chart {
- border: 1px solid #CCC;
- margin-bottom:40px;
- }
- #y_axis {
- position: absolute;
- top: 1px;
- right: 0px;
- width: 40px;
- }
-
- #chart_contianer {
- position: relative;
- margin-bottom: 40px;
- }
-
- h2, h3 {
- color:#E6A33C;
- }
-
- h3 {
- font-size: 14px
- }
-
- h4 {
- font-size:12px;
- color: #CCC;
- margin: -10px 0px 4px;
- }
-
- .note {
- margin-top:60px;
- /* text-align:center; */
- }
-
- p {
- font-size: 12px;
- color: #888;
- margin: 0px;
- }
- </style>
+ <meta charset="utf-8">
+ <title>CocoaPods Master Repo</title>
+ <meta content="Fabio Angelo Pelosin" name="author">
+ <meta content="The CocoaPods Master Repo" name="description">
+ <!-- <meta content="CocoaPods Master Repo" property="og:title"> -->
+ <!-- <meta content="http://feeds.cocoapods.org" property="og:url"> -->
+
+ <link rel="stylesheet" href="vendor/rickshaw/rickshaw.css" type="text/css" charset="utf-8" >
+ <link rel="stylesheet" href="style2.css" type="text/css" charset="utf-8" >
+
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
+ <script src="vendor/rickshaw/vendor/d3.min.js"></script>
+ <script src="vendor/rickshaw/vendor/d3.layout.min.js"></script>
+ <script src="vendor/rickshaw/rickshaw.js"></script>
+ <script src="vendor/rickshaw/src/js/Rickshaw.Graph.Axis.Time.js"></script>
+ <script src="vendor/rickshaw/src/js/Rickshaw.Graph.Axis.Y.js"></script>
+ <script src="vendor/rickshaw/src/js/Rickshaw.Fixtures.Time.js"></script>
</head>
<body>
- <div class="container">
- <h2>Stats</h2>
- <div id="chart_contianer">
- <div id="y_axis"></div>
- <div id="chart"></div>
-
- <h3>Milestones:</h3>
- <div id="timeline"></div>
- <h3>CocoaPods Releases:</h3>
- <div id="timeline_cocoapods"></div>
- <h3>Metrics:</h3>
- <div class="row">
- <div class="span3">
- <h4>Total Count</h4>
- <p> pods</p>
- </div>
+ <div id="content">
+
+ <header id="masthead">
+ <h1><a href="http://cocoapods.org">Cocoa<em>Pods</em></a></h1>
+ <h2>The Objective-C library dependency manager.</h2>
+ </header>
+
+ <div id="stats">
+ <section id="actions">
+ <p id="count">0</p>
+ <p id="count-pods">unique Pods</p>
+ <p id="count-counting">and counting</p>
+ </section>
+
+ <div id="chart_contianer">
+ <div id="y_axis"></div>
+ <div id="chart" class="rickshaw_graph"></div>
</div>
- </div>
-
- <div class="row">
- <div class="span12">
- <p class="note">Updated on 2013-04-02</p>
+ <div id="x-scale">
+ <p>September 2011</p>
</div>
+
</div>
- </div>
+ <p class="description">
+ This webapp powers the Twitter notifications &amp; RSS for new Pods,
+ follow us to stay up to date on the latest cocoapods news.
+ </p>
- <script>
- serie_data = [{"x":1315353600,"y":0},{"x":1315440000,"y":2},{"x":1315699200,"y":3},{"x":1315785600,"y":4},{"x":1316304000,"y":8},{"x":1316390400,"y":10},{"x":1316476800,"y":11},{"x":1316563200,"y":13},{"x":1316736000,"y":14},{"x":1316908800,"y":16},{"x":1317081600,"y":17},{"x":1317513600,"y":20},{"x":1317859200,"y":21},{"x":1319068800,"y":22},{"x":1320105600,"y":23},{"x":1320883200,"y":26},{"x":1321142400,"y":28},{"x":1321315200,"y":32},{"x":1321401600,"y":34},{"x":1321660800,"y":36},{"x":1321747200,"y":39},{"x":1321833600,"y":42},{"x":1321920000,"y":45},{"x":1322006400,"y":46},{"x":1322265600,"y":47},{"x":1322352000,"y":48},{"x":1323216000,"y":49},{"x":1323302400,"y":50},{"x":1323734400,"y":51},{"x":1323820800,"y":52},{"x":1323907200,"y":53},{"x":1324166400,"y":55},{"x":1324598400,"y":56},{"x":1325116800,"y":57},{"x":1325203200,"y":58},{"x":1325376000,"y":59},{"x":1325635200,"y":60},{"x":1326067200,"y":63},{"x":1326153600,"y":64},{"x":1327449600,"y":65},{"x":1327622400,"y":66},{"x":1327795200,"y":67},{"x":1327881600,"y":71},{"x":1327968000,"y":72},{"x":1328054400,"y":73},{"x":1328227200,"y":74},{"x":1328572800,"y":77},{"x":1328659200,"y":80},{"x":1328745600,"y":81},{"x":1328832000,"y":82},{"x":1329696000,"y":83},{"x":1329955200,"y":84},{"x":1330041600,"y":85},{"x":1330214400,"y":96},{"x":1330300800,"y":99},{"x":1330387200,"y":100},{"x":1330646400,"y":107},{"x":1330732800,"y":108},{"x":1330819200,"y":111},{"x":1331078400,"y":112},{"x":1331251200,"y":113},{"x":1331337600,"y":114},{"x":1331424000,"y":115},{"x":1331510400,"y":118},{"x":1331683200,"y":121},{"x":1331769600,"y":122},{"x":1331856000,"y":123},{"x":1332115200,"y":124},{"x":1332374400,"y":125},{"x":1332547200,"y":126},{"x":1332633600,"y":128},{"x":1332720000,"y":129},{"x":1332892800,"y":131},{"x":1333065600,"y":134},{"x":1333152000,"y":135},{"x":1333238400,"y":136},{"x":1333324800,"y":137},{"x":1333411200,"y":138},{"x":1333497600,"y":139},{"x":1333584000,"y":142},{"x":1333670400,"y":152},{"x":1333756800,"y":156},{"x":1334016000,"y":157},{"x":1334188800,"y":158},{"x":1334275200,"y":159},{"x":1334448000,"y":161},{"x":1334534400,"y":169},{"x":1334620800,"y":177},{"x":1334707200,"y":183},{"x":1334793600,"y":186},{"x":1334880000,"y":187},{"x":1334966400,"y":188},{"x":1335398400,"y":189},{"x":1336608000,"y":190},{"x":1337817600,"y":256},{"x":1338249600,"y":260},{"x":1338336000,"y":261},{"x":1339027200,"y":278},{"x":1339545600,"y":284},{"x":1339718400,"y":285},{"x":1340064000,"y":286},{"x":1340582400,"y":297},{"x":1340755200,"y":299},{"x":1341100800,"y":300},{"x":1343001600,"y":362},{"x":1343088000,"y":365},{"x":1343174400,"y":366},{"x":1343260800,"y":367},{"x":1343520000,"y":368},{"x":1343692800,"y":370},{"x":1343779200,"y":371},{"x":1343865600,"y":375},{"x":1344038400,"y":384},{"x":1344211200,"y":386},{"x":1344297600,"y":392},{"x":1344470400,"y":396},{"x":1344556800,"y":402},{"x":1344816000,"y":407},{"x":1344902400,"y":408},{"x":1344988800,"y":410},{"x":1345075200,"y":414},{"x":1345161600,"y":416},{"x":1345680000,"y":440},{"x":1345766400,"y":444},{"x":1346025600,"y":449},{"x":1346112000,"y":454},{"x":1346284800,"y":464},{"x":1346371200,"y":466},{"x":1346544000,"y":467},{"x":1346630400,"y":470},{"x":1346716800,"y":476},{"x":1346803200,"y":478},{"x":1346889600,"y":484},{"x":1346976000,"y":490},{"x":1347062400,"y":495},{"x":1347235200,"y":497},{"x":1347321600,"y":499},{"x":1347408000,"y":505},{"x":1347494400,"y":507},{"x":1347580800,"y":509},{"x":1347840000,"y":514},{"x":1348012800,"y":515},{"x":1348099200,"y":517},{"x":1348185600,"y":518},{"x":1348272000,"y":520},{"x":1348531200,"y":524},{"x":1348617600,"y":525},{"x":1348704000,"y":529},{"x":1348790400,"y":535},{"x":1348876800,"y":540},{"x":1349049600,"y":541},{"x":1349136000,"y":545},{"x":1349222400,"y":557},{"x":1349308800,"y":559},{"x":1349481600,"y":562},{"x":1349568000,"y":564},{"x":1349654400,"y":566},{"x":1349740800,"y":571},{"x":1349827200,"y":572},{"x":1349913600,"y":575},{"x":1350000000,"y":579},{"x":1350086400,"y":583},{"x":1350172800,"y":584},{"x":1350259200,"y":587},{"x":1350864000,"y":604},{"x":1350950400,"y":614},{"x":1351036800,"y":619},{"x":1351296000,"y":626},{"x":1351382400,"y":628},{"x":1351468800,"y":631},{"x":1351555200,"y":635},{"x":1351641600,"y":642},{"x":1351814400,"y":644},{"x":1352073600,"y":652},{"x":1352160000,"y":656},{"x":1352246400,"y":659},{"x":1352505600,"y":660},{"x":1352592000,"y":661},{"x":1352678400,"y":669},{"x":1352764800,"y":676},{"x":1352851200,"y":678},{"x":1352937600,"y":683},{"x":1353024000,"y":684},{"x":1353110400,"y":685},{"x":1353283200,"y":689},{"x":1353369600,"y":691},{"x":1353456000,"y":695},{"x":1353542400,"y":698},{"x":1353715200,"y":706},{"x":1353888000,"y":707},{"x":1353974400,"y":711},{"x":1354147200,"y":721},{"x":1354320000,"y":723},{"x":1354406400,"y":725},{"x":1354492800,"y":731},{"x":1354579200,"y":732},{"x":1354665600,"y":734},{"x":1355184000,"y":751},{"x":1355270400,"y":755},{"x":1355356800,"y":756},{"x":1355529600,"y":777},{"x":1355616000,"y":778},{"x":1355702400,"y":783},{"x":1356566400,"y":826},{"x":1356652800,"y":827},{"x":1356998400,"y":842},{"x":1357084800,"y":845},{"x":1357171200,"y":849},{"x":1357257600,"y":857},{"x":1357430400,"y":861},{"x":1357516800,"y":869},{"x":1357603200,"y":875},{"x":1357689600,"y":885},{"x":1357776000,"y":892},{"x":1357862400,"y":894},{"x":1357948800,"y":897},{"x":1358035200,"y":901},{"x":1358121600,"y":905},{"x":1358208000,"y":915},{"x":1358294400,"y":918},{"x":1358380800,"y":926},{"x":1358467200,"y":931},{"x":1358553600,"y":936},{"x":1358640000,"y":939},{"x":1358726400,"y":945},{"x":1358812800,"y":951},{"x":1359072000,"y":975},{"x":1359158400,"y":984},{"x":1359244800,"y":987},{"x":1359331200,"y":989},{"x":1359417600,"y":994},{"x":1359504000,"y":1002},{"x":1359590400,"y":1012},{"x":1359676800,"y":1016},{"x":1359849600,"y":1031},{"x":1360281600,"y":1055},{"x":1360368000,"y":1057},{"x":1360540800,"y":1066},{"x":1360627200,"y":1070},{"x":1360972800,"y":1097},{"x":1361059200,"y":1101},{"x":1361145600,"y":1102},{"x":1361232000,"y":1106},{"x":1361318400,"y":1111},{"x":1361404800,"y":1117},{"x":1361491200,"y":1122},{"x":1361836800,"y":1135},{"x":1363046400,"y":1202},{"x":1363132800,"y":1211},{"x":1363219200,"y":1216},{"x":1363305600,"y":1219},{"x":1363392000,"y":1225},{"x":1363478400,"y":1226},{"x":1363564800,"y":1228},{"x":1363651200,"y":1236},{"x":1363737600,"y":1241},{"x":1363824000,"y":1246},{"x":1363910400,"y":1252},{"x":1363996800,"y":1256},{"x":1364169600,"y":1263},{"x":1364601600,"y":1289},{"x":1364860800,"y":1309}];
-
- var graph = new Rickshaw.Graph( {
- element : document.querySelector("#chart"),
- width : 940 - 20,
- height : 300,
- renderer : 'line',
- timeBase: new Date().getTime() / 100000,
- interpolation : "basis",
- padding : {
- top: 0.05,
- bottom: 0.05,
- left: 0.0,
- right: 0.01
- },
- series : [
- {
- name : "Pods count",
- color : '#E6A33C',
- data : serie_data,
- }]
- });
+ <div id="footer_pod">
+ <!-- <a href="https://twitter.com/CocoaPods"><img src="assets/twitter&#45;logo.png"></a> -->
+ <a href="http://cocoapods.org"><img src="assets/cocoapods.png" alt="The CocoaoPods Logo"></a>
+ <!-- <a href="http://cocoapods.org"><img src="assets/rss&#45;logo.png"></a> -->
+ </div>
+ <p class="about">
+ CocoaPods is available under MIT license.<br>
+ Designed by Fabio Pelosin &amp; the CocoaPods team.
+ </p>
- var hoverDetail = new Rickshaw.Graph.HoverDetail( { graph: graph, yFormatter: Rickshaw.Fixtures.Number.formatKMBT } );
- var xAxis = new Rickshaw.Graph.Axis.Time( { graph: graph } );
- var y_axis = new Rickshaw.Graph.Axis.Y( {
- graph: graph,
- orientation: 'left',
- tickFormat: Rickshaw.Fixtures.Number.formatKMBT,
- element: document.getElementById('y_axis'),
- } );
+ </div>
+ <script>
+
+$.getJSON('graph.json', function(serie_data) {
+ console.log(serie_data);
+
+ // ------------------------------------------------------------------------
+ // Chart
+ // ------------------------------------------------------------------------
+
+ var graph = new Rickshaw.Graph( {
+ element : document.querySelector("#chart"),
+ width : 860,
+ height : 300,
+ renderer : 'line',
+ timeBase: new Date().getTime() / 100000,
+ onData: function(d) { d[0].data[0].y = 80; return d },
+ interpolation : "basis",
+ padding : {
+ top: 0.05,
+ bottom: 0.05,
+ left: 0.0,
+ right: 0.01
+ },
+ series : [
+ {
+ data : serie_data["count_by_date"],
+ name : "Pods count",
+ color : '#E6A33C',
+ }]
+ });
+
+ var hoverDetail = new Rickshaw.Graph.HoverDetail( { graph: graph, yFormatter: Rickshaw.Fixtures.Number.formatKMBT } );
+ // var xAxis = new Rickshaw.Graph.Axis.Time( { graph: graph } );
+ var y_axis = new Rickshaw.Graph.Axis.Y( {
+ graph: graph,
+ orientation: 'left',
+ tickFormat: Rickshaw.Fixtures.Number.formatKMBT,
+ element: document.getElementById('y_axis'),
+ } );
+
+ graph.render();
+
+ // ------------------------------------------------------------------------
+ // Counter
+ // ------------------------------------------------------------------------
+
+ var interval;
+ var target = serie_data["total_count"]
+ console.log(target)
+ var current = 0;
+
+ function countdown(element) {
+ interval = setInterval(function() {
+ var el = document.getElementById(element);
+ if(current == target) {
+ clearInterval(interval);
+ } else if ((current +10 ) >= target) {
+ current+=1;
+ } else {
+ current+=10;
+ }
+ el.innerHTML = current;
+ }, 1);
+ }
+
+ countdown('count');
+
+});
- graph.render();
- $("[rel=tooltip]").tooltip( {placement: 'left'})
</script>
</body>
View
203 style.scss
@@ -0,0 +1,203 @@
+$pale_orange: #FCF3E5;
+$dark_brown: #5E2E20;
+$bold_orange: #DE922F;
+$pale_bold_orange: #CA8A29;
+$egg_white: #FDF9F1;
+
+html {
+ margin: 0;
+ padding: 0;
+
+ /* The search results will nearly *always* go past the fold
+ so we should pre-empt it. */
+
+ overflow-y: scroll;
+ overflow: -moz-scrollbars-vertical;
+}
+
+body {
+ margin: 0;
+ padding: 0;
+ font-family: Helvetica, Arial, sans-serif;
+ color: #452e00;
+ background-color: $pale_orange;
+}
+
+a {
+ color: $dark_brown;
+ font-weight: bold;
+ text-decoration: none;
+}
+
+#content {
+ margin: 0 auto;
+ width: 600px;
+ padding: 32px;
+}
+
+#masthead {
+ margin-top:80px;
+ margin-bottom:0px;
+
+ h1 {
+ /* CocoaDocs: */
+ font-weight: bold;
+ font-size: 44px;
+ color: $dark_brown;
+ margin: 0;
+ margin-left:111px;
+ margin-right:12px;
+ display:inline-block;
+ }
+
+ h2 {
+ /* Hosted Docs for Obje: */
+ font-weight: bold;
+ font-size: 13px;
+ color: #352302;
+ margin-top: 10px;
+ width:160px;
+ display:inline-block;
+ }
+
+ em {
+ color: $bold_orange;
+ font-style: normal;
+ }
+}
+
+#command_bar {
+ clear:both;
+ border-radius: 8px;
+ background: #FFFFFF;
+ border: 2px solid #E6A33C;
+ height: 44px;
+
+ a#search_indicator {
+ float:left;
+ padding:6px;
+ width:32px;
+ }
+
+ a#about_link {
+ float:right;
+ width:44px;
+ padding:6px;
+ width:32px;
+ }
+
+ input#pod_search::selection, input#pod_search::-moz-selection {
+ background: $bold_orange;
+ }
+
+ input#pod_search[type="search"]::-webkit-search-cancel-button {
+ display:none;
+ }
+
+ input#pod_search {
+ float:left;
+ border-top:none;
+ border-bottom:none;
+ border-left: 2px solid #E6A33C;
+ border-right: 2px solid #E6A33C;
+ width: 484px;
+ height: 32px;
+
+ font-size: 24px;
+ font-family: inherit;
+ font-weight: bold;
+ padding: 6px 14px 6px 6px;
+ margin: 0px auto;
+ color: $dark_brown;
+
+ -moz-appearance: none;
+ -webkit-appearance: none;
+
+ &:focus {
+ outline: none;
+ }
+ }
+}
+
+ul#results {
+
+ padding: 0 48px;
+ margin-top: -2px;
+
+ li:nth-child(odd) {
+ background: $egg_white;
+ }
+
+ li {
+ background: white;
+ list-style-type: none;
+ padding:14px;
+ color:$dark_brown;
+ }
+
+ li:hover {
+ background: lighten($bold_orange, 20%);
+ h2, h3, p {
+ color:black;
+ }
+ }
+
+ li.selected {
+ background: $bold_orange;
+ h2, h3, p {
+ color:white;
+ }
+ }
+
+ h2 {
+ /* AFNetworking */
+ font-weight: bold;
+ font-size: 14px;
+ color: #352302;
+ line-height: 22px;
+ padding:0;
+ margin: 0 0 8px 0 ;
+ text-overflow: ellipsis;
+ width:420px;
+ float:left;
+ }
+
+ h3 {
+ /* 1.0 */
+ font-weight: bold;
+ font-size:14px;
+ line-height: 22px;
+ padding:0;
+ margin:0;
+ float:right;
+ width:40px;
+ text-align:right;
+ }
+
+ p {
+ /* A delightful iOS and ... */
+ font-weight: bold;
+ font-size: 10px;
+ line-height: 14px;
+ clear:left;
+ color: $pale_bold_orange;
+ width:420px;
+ }
+}
+
+#about {
+ text-align:center;
+}
+
+#footer_pod {
+ display:block;
+ text-align:center;
+ margin:48px;
+}
+
+#loading, #no_results {
+ text-align: center;
+ font-size: 36px;
+ font-weight: bold;
+ margin: 48px;
+}
View
178 style2.css
@@ -0,0 +1,178 @@
+
+/*****************************************************************************/
+/* CocoaPods
+/*****************************************************************************/
+
+body {
+ margin: 0;
+ padding: 0;
+ font-family: Helvetica, Arial, sans-serif;
+ color: #452e00;
+ background-color: #FCF3E5;
+}
+
+#content {
+ margin: 0 auto;
+ width: 900px;
+ padding: 32px;
+}
+
+#masthead {
+ margin-top: 80px;
+ margin-bottom: 0px;
+}
+
+#masthead h1 {
+ font-family: Helvetica-Bold;
+ font-size: 44px;
+ color: #5E2E20;
+ line-height: 53px;
+ margin: 0 12px 0 0 ;
+ display: inline-block;
+}
+
+#masthead h2 {
+ font-weight: bold;
+ font-size: 13px;
+ color: #352302;
+ margin-top: 10px;
+ width: 160px;
+ display: inline-block;
+}
+
+#masthead em {
+ color: #de922f;
+ font-style: normal;
+}
+
+#footer_pod {
+ margin-top:80px;
+ text-align: center;
+}
+
+.about {
+ margin-top:20px;
+ font-family: Helvetica-Bold;
+ font-size: 13px;
+ color: #352302;
+ line-height: 16px;
+ text-align: center;
+}
+
+/*****************************************************************************/
+/* Typography
+/*****************************************************************************/
+
+a {
+ color: #5e2e20;
+ font-weight: bold;
+ text-decoration: none;
+}
+
+/*****************************************************************************/
+/* Sections
+/*****************************************************************************/
+
+.description {
+ margin-top: 20px;
+ font-family: Helvetica-Bold;
+ font-size: 13px;
+ color: #352302;
+ line-height: 16px;
+ text-align: center;
+}
+
+#stats {
+ border-width: 4px 0;
+ border-style:solid;
+ border-color:#352302;
+ height:380px;
+ position: relative;
+}
+
+#actions {
+ text-align: center;
+ position: absolute;
+ top:40px;
+ left:40px;
+ width:140px;
+}
+
+#actions p#count {
+ font-size: 72px;
+}
+#actions p#count-pods {
+ font-size: 19px;
+}
+#actions p#count-counting {
+ font-size: 18px;
+}
+
+#actions p {
+ font-family: HelveticaNeue-CondensedBold;
+ color: #DE922F;
+}
+
+p {
+ font-size: 12px;
+ color: rgb(140, 122, 115);
+ margin: 0px;
+}
+
+#chart_contianer {
+ margin-top:40px;
+ position: relative;
+}
+
+#x-scale {
+ margin-top:0px;
+ font-family: HelveticaNeue-CondensedBold;
+ font-size: 12px;
+ color: #DE922F;
+}
+
+/* r: */
+
+/*****************************************************************************/
+/* Chart
+/*****************************************************************************/
+
+#chart {
+ height:300px;
+}
+
+#y_axis {
+ position: absolute;
+ top: 1px;
+ right: 0px;
+ width: 40px;
+}
+
+.rickshaw_graph .y_grid .tick, .rickshaw_graph .x_grid_d3 .tick {
+ visibility:hidden
+}
+
+.rickshaw_graph .y_ticks path, .rickshaw_graph .y_ticks .tick {
+ stroke: #8C7A73;
+ stroke-width:1px;
+}
+
+
+.rickshaw_graph .y_ticks text {
+ font-family: HelveticaNeue-CondensedBold;
+ font-size: 14px;
+ opacity:1;
+ fill: #8C7A73;
+}
+
+.rickshaw_graph svg {
+ padding: 4px 0;
+}
+
+.rickshaw_graph .detail {
+ background:none;
+}
+
+.rickshaw_graph .detail .item.active {
+ fill: #8C7A73;
+}
View
123 template.html
@@ -1,86 +1,61 @@
<!DOCTYPE html>
<head>
- <title>CocoaPods Dashboard</title>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
-
- <link type="text/css" rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css">
- <script src="vendor/bootstrap/js/bootstrap.min.js"></script>
-
- <link type="text/css" rel="stylesheet" href="vendor/rickshaw/rickshaw.min.css">
- <script src="vendor/rickshaw/vendor/d3.min.js"></script>
- <script src="vendor/rickshaw/vendor/d3.layout.min.js"></script>
- <script src="vendor/rickshaw/rickshaw.min.js"></script>
- <script src="vendor/rickshaw/src/js/Rickshaw.Graph.Axis.Time.js"></script>
- <script src="vendor/rickshaw/src/js/Rickshaw.Graph.Axis.Y.js"></script>
- <script src="vendor/rickshaw/src/js/Rickshaw.Fixtures.Time.js"></script>
-
- <style type="text/css">
- .rickshaw_graph {
- }
- h2 {
- margin-top: 50px;
- margin-bottom: 25px;
- }
- body {
- padding-bottom: 100px;
- color: #AAA;
- }
-
- #chart {
- border: 1px solid #CCC;
- margin-bottom:40px;
- }
- #y_axis {
- position: absolute;
- top: 1px;
- right: 0px;
- width: 40px;
- }
-
- #chart_contianer {
- position: relative;
- margin-bottom: 40px;
- }
-
- h2, h3 {
- color:#E6A33C;
- }
-
- h3 {
- font-size: 14px
- }
-
- h4 {
- font-size:12px;
- color: #CCC;
- margin: -10px 0px 4px;
- }
-
- .note {
- margin-top:60px;
- /* text-align:center; */
- }
-
- p {
- font-size: 12px;
- color: #888;
- margin: 0px;
- }
- </style>
+ <meta charset="utf-8">
+ <title>CocoaPods Master Repo</title>
+ <meta content="Fabio Angelo Pelosin" name="author">
+ <meta content="The CocoaPods Master Repo" name="description">
+ <meta content="CocoaPods Master Repo" property="og:title">
+ <meta content="http://feeds.cocoapods.org" property="og:url">
+
+ <link rel="stylesheet" href="screen.css" media="screen" type="text/css" charset="utf-8" >
+ <link rel="stylesheet" href="vendor/rickshaw/rickshaw.min.css" type="text/css" charset="utf-8" >
+ <link rel="stylesheet" href="vendor/FortAwesome/css/font-awesome.min.css" type="text/css" charset="utf-8" >
+
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
+ <script src="vendor/rickshaw/vendor/d3.min.js"></script>
+ <script src="vendor/rickshaw/vendor/d3.layout.min.js"></script>
+ <script src="vendor/rickshaw/rickshaw.min.js"></script>
+ <script src="vendor/rickshaw/src/js/Rickshaw.Graph.Axis.Time.js"></script>
+ <script src="vendor/rickshaw/src/js/Rickshaw.Graph.Axis.Y.js"></script>
+ <script src="vendor/rickshaw/src/js/Rickshaw.Fixtures.Time.js"></script>
</head>
<body>
- <div class="container">
+ <div role="container">
+ <header>
+ <hgroup>
+ <h1>CocoaPods<br>Master Repo</h1>
+ </hgroup>
+ </header>
+
+
+
+ <section id="actions">
+ <div class="step-0">
+ <p><i class="icon-twitter icon-4x"></i><br> Follow on Twitter</p>
+ </div>
+
+ <div class="step-1">
+ <p><i class="icon-rss icon-4x"></i><br> Get the feed</p>
+ </div>
+
+ <div class="step-2">
+ <p><i class="icon-github icon-4x"></i><br> See the Octocat</p>
+ </div>
+ </section>
+
+
+ <section id="actions">
+ <p>Counting 1024 Pods since September 2011</p>
+ </section>
+
+
<h2>Stats</h2>
<div id="chart_contianer">
<div id="y_axis"></div>
<div id="chart"></div>
- <h3>Milestones:</h3>
- <div id="timeline"></div>
- <h3>CocoaPods Releases:</h3>
- <div id="timeline_cocoapods"></div>
<h3>Metrics:</h3>
<div class="row">
<div class="span3">
@@ -89,8 +64,6 @@
</div>
</div>
</div>
-
-
<div class="row">
<div class="span12">
<p class="note">Updated on <%= Time.now.strftime("%Y-%m-%d") %></p>
@@ -133,8 +106,6 @@
element: document.getElementById('y_axis'),
} );
-
graph.render();
- $("[rel=tooltip]").tooltip( {placement: 'left'})
</script>
</body>

0 comments on commit 4d39342

Please sign in to comment.