Overview
Comment: | Added some color. It doesn't look very good, but it's at least not atrocious anymore. |
---|---|
Timelines: | family | ancestors | descendants | both | feature/pretty |
Files: | files | file ages | folders |
SHA1: |
b2d6f6e2e967f76afdc43f0302c484f3 |
User & Date: | spiffy on 2011-11-22 05:22:25 |
Other Links: | branch diff | manifest | tags |
Context
2011-11-22
| ||
05:47 | Story list page is styled much more nicely check-in: c5a2ec2308 user: spiffy tags: better-story-list, feature/pretty | |
05:22 | Added some color. It doesn't look very good, but it's at least not atrocious anymore. check-in: b2d6f6e2e9 user: spiffy tags: feature/pretty | |
2011-11-21
| ||
03:15 | Create new branch named "feature/pretty" check-in: e8b2e22e32 user: spiffy tags: feature/pretty | |
Changes
Modified applications/mobileblur/controllers/default.py from [667cfb0951] to [cdfea9e32e].
︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | + | try: results = newsblur.login(login_form.vars["username"], login_form.vars["password"]) response.cookies["nb_cookie"] = newsblur.cookies["newsblur_sessionid"] response.cookies["nb_cookie"]["path"] = "/" redirect(URL("index")) except Exception as ex: login_form.insert(-1, ex.message) login_form._class = "alert-message block-message error" return dict(login_form=login_form) def logout(): response.cookies["nb_cookie"] = "" response.cookies["nb_cookie"]["expires"] = -10 |
︙ |
Modified applications/mobileblur/controllers/feeds.py from [353169fb7a] to [1863aef141].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | + + + - - - + + + + + + + + + + + + + + + + | # -*- coding: utf-8 -*- from pprint import pprint import time def view(): print "" s = time.time() |
Modified applications/mobileblur/static/css/base.css from [b086dc4442] to [037cce1332].
︙ | |||
23 24 25 26 27 28 29 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | - + - + | - always indent the first line and add space below paragraphs - bullets and numbers style and indent - form and table padding - code blocks - left and right padding to quoted text - page layout alignment, width and padding (change this for spaces) - column widths (change this to use left_sidebar and right_sidebar) |
︙ | |||
340 341 342 343 344 345 346 | 340 341 342 343 344 345 346 347 348 349 350 351 352 353 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | h1 {font-size: 2.0em;} h2 {font-size: 1.8em;} h3 {font-size: 1.4em;} h4 {font-size: 1.2em;} h5 {font-size: 1.0em;} h6 {font-size: 0.8em;} |
︙ | |||
551 552 553 554 555 556 557 | 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 | + + + + + + + + + + + - - + + + + + + + + + + + + + + - - + + + + + + + + + + + | thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ tr, img { page-break-inside: avoid; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3{ page-break-after: avoid; } } body { margin: 0 2% 0 2%; background-color: #CC6600; } header { background-color: #cc0000; border-bottom: 1px solid black; color: white; } |
Modified applications/mobileblur/views/default/index.html from [1ac89d52bc] to [cb0da83eed].
| 1 2 3 4 5 6 7 8 | - - - - |
|
Modified applications/mobileblur/views/feeds/view.html from [f19fa72882] to [a3c96a9b2b].
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | - + - - + + + + + + + + - - + + + + + + - - - |
|
Modified applications/mobileblur/views/layout.html from [eb19032d37] to [4a91494d8a].
1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | - + - + | <!DOCTYPE html> <html lang="{{=T.accepted_language or 'en'}}" class="no-js"><!-- no-js need it for modernzr --> <head> <meta charset="utf-8" /> <!-- www.phpied.com/conditional-comments-block-downloads/ --> <!--[if IE]><![endif]--> <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame Remove this if you use the .htaccess --> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
︙ | |||
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | + - - + - - - - - - - - - + - - - - - - - - - - + - - + - - + - - - - - - - - + - - - - + + - - - + - - - - - - - - - - - - - + - - - - - - - - - + + - - | else: width_content='100%' if left_sidebar_enabled: left_sidebar_style = 'style="display: block;"' else: left_sidebar_style = 'style="display: none;"' if right_sidebar_enabled: right_sidebar_style = 'style="display: block;"' else: right_sidebar_style = 'style="display: none;"' style_content = 'style="width: %s"' % width_content }} <!-- <link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css">--> </head> <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> <!--[if lt IE 7 ]> <body class="ie6"> <![endif]--> <!--[if IE 7 ]> <body class="ie7"> <![endif]--> <!--[if IE 8 ]> <body class="ie8"> <![endif]--> <!--[if IE 9 ]> <body class="ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <body> <!--<![endif]--> <div class="flash">{{=response.flash or ''}}</div> <!-- notification div --> |
︙ |
Modified applications/mobileblur/views/stories/view.html from [c0c8c655df] to [63977d234b].
| 1 2 3 4 5 6 7 8 9 10 | - - - + + + + + + - - - |
|