MobileBlur

Check-in [1d6bdd2f2b]
Login
Overview
SHA1:1d6bdd2f2b6b9e4690695eb1adc2da8a85a2820c
Date: 2011-11-22 13:36:43
User: spiffy
Comment:Prettied up the feed list page
Timelines: family | ancestors | descendants | both | feature/pretty
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2011-11-22
22:50
[21cebdfb51] Set the page title for the stories list page (user: spiffy, tags: feature/pretty)
13:36
[1d6bdd2f2b] Prettied up the feed list page (user: spiffy, tags: feature/pretty)
13:01
[b6f01ceab0] Set the minimum page scale factor to make it big enough on my tablet (user: spiffy, tags: feature/pretty)
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Modified applications/mobileblur/static/css/base.css from [bc70561535] to [bdcac81a66].

   524    524       color: white;
   525    525       font-weight: bold;
   526    526   }
   527    527   
   528    528   #story-list {
   529    529   }
   530    530   
   531         -#story-list > .story > a {
          531  +#story-list > .story > a, .feed > a {
   532    532       text-decoration: none;
   533    533       font-weight: bold;
   534    534       margin-top: 0;
   535    535   }
   536    536   #story-list > .story > p {
   537    537       font-size: .75em;
   538    538   }
   539    539   
   540    540   #story-list > .story > .read {
   541    541       color: #CC3333;
   542    542   }
   543         -#story-list > .story > .unread {
          543  +#story-list > .story > .unread, .feed > a {
   544    544       color: #CC0000;
   545    545   /*    color: #A8A8EE;*/
   546    546   }
   547    547   
   548         -#story-list > .story {
          548  +#story-list > .story, .feed {
   549    549       padding: .5%;
   550         -    padding-top: 0;
   551    550       border-top: 1px solid black;
   552    551       margin-top: .33%;
   553    552   }
   554    553   
   555    554   span.ps, span.nt, span.ng {
   556    555       padding: .05em;
   557    556       border-radius: 5px;

Modified applications/mobileblur/views/default/index.html from [db0910ac52] to [de8ac0789f].

     1      1   {{extend 'layout.html'}}
     2      2   
     3      3   {{ for feed in feeds.itervalues(): }}
     4         -    {{ if threshold == -1 and feed["ng"] > 0: }} <span class='ng'>{{= feed["ng"] }}</span> {{ pass }}
     5         -    {{ if threshold <= 0 and feed["nt"] > 0: }} <span class='nt'>{{= feed["nt"] }}</span> {{ pass }}
     6         -    {{if feed["ps"] > 0: }}<span class='ps'>{{= feed["ps"] }}</span> {{ pass }}
     7         -    <a href="{{= URL(c="feeds", f="view", args=[feed["id"]]) }}">{{= feed["feed_title"] }}</a><br />
            4  +    <div class="feed">
            5  +        {{ if threshold == -1 and feed["ng"] > 0: }} <span class='ng'>{{= feed["ng"] }}</span> {{ pass }}
            6  +        {{ if threshold <= 0 and feed["nt"] > 0: }} <span class='nt'>{{= feed["nt"] }}</span> {{ pass }}
            7  +        {{if feed["ps"] > 0: }}<span class='ps'>{{= feed["ps"] }}</span> {{ pass }}
            8  +        <a href="{{= URL(c="feeds", f="view", args=[feed["id"]]) }}">{{= feed["feed_title"] }}</a><br />
            9  +    </div>
     8     10   {{ pass }}