You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by michellephung <gi...@git.apache.org> on 2015/07/01 18:30:48 UTC

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

GitHub user michellephung opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/478

    Change 'No Active Tasks' to show empty table

    -lots of css changes

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/michellephung/couchdb-fauxton Add-active-task-table-when-no-tasks

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fauxton/pull/478.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #478
    
----
commit 05b90c7553d9a8731256a417612059950dda9867
Author: michellephung@gmail.com <mi...@gmail.com>
Date:   2015-07-01T16:29:09Z

    Change 'No Active Tasks' to show empty table
    
    -css changes

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by michellephung <gi...@git.apache.org>.
Github user michellephung commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#issuecomment-118156769
  
    @benkeen when you have a sec, i made changes


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/couchdb-fauxton/pull/478


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by michellephung <gi...@git.apache.org>.
Github user michellephung commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#issuecomment-118099619
  
    i can checkout the scroll bar issue
    
    1/ the dark grey space is tall so that at small widths, the polling has somewhere to go
    2/ i was wondering whether i should leave this in or not. It seemed fun to have tabs move around a bit when you hover over them, but i can take them out.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by michellephung <gi...@git.apache.org>.
Github user michellephung commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#issuecomment-118102865
  
    do you think i should do something for the tall grey border?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by michellephung <gi...@git.apache.org>.
Github user michellephung commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#issuecomment-118102743
  
    i'll change it :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by benkeen <gi...@git.apache.org>.
Github user benkeen commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#issuecomment-118099095
  
    This is sooo much better than the blank screen, awesome. 
    
    One minor issue: a scrollbar appears for the tab section on the right. Be nice to remove. 
    
    Also, aesthetically, two minor points (I know, everyone's a critic):
    - the dark grey space behind the tabs seems a little tall...
    - could the mouseover effects on the tabs not cause any shifting? Haven't checked but probably adding the 1px red border expands the width by 2px on mouseover. Easy trick would be to add a default 1px border in the same grey as the tab.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by benkeen <gi...@git.apache.org>.
Github user benkeen commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#discussion_r33801874
  
    --- Diff: app/addons/activetasks/assets/less/activetasks.less ---
    @@ -14,251 +14,282 @@
     @import "../../../../../assets/less/variables.less";
     @import "../../../../../assets/less/bootstrap/mixins.less";
     
    -.task-tabs li,
    -.active-tasks th {
    -  cursor: pointer;
    -}
    -
    -.task-search-database {
    -  margin: 20px;
    -}
     
    -.active-tasks th {
     
    -  &.type {
    -    width: 10%;
    +#active-tasks-page {
    +  .inner {
    +    overflow: scroll;
    +    height: 100%;
       }
     
    -  &.database {
    -    width: 30%;
    -  }
    +  .task-tabs li,
    +  .active-tasks td {
    +    cursor: pointer;
    +    padding-bottom: 15px;
    +    
    +    &.type {
    +      width: 10%;
    +    }
     
    -  &.started_on {
    -    width: 13%;
    -  }
    +    &.database {
    +      width: 30%;
    +    }
     
    -  &.updated_on {
    -    width: 13%;
    -  }
    +    &.started_on {
    +      width: 13%;
    +    }
     
    -  &.pid {
    -    width: 10%;
    -  }
    +    &.updated_on {
    +      width: 13%;
    +    }
     
    -  &.progress {
    -    width: 23%;
    -  }
    -}
    +    &.pid {
    +      width: 10%;
    +    }
     
    -.nav.polling-interval {
    -  li.nav-header {
    -    padding: 9px 0px 0px 9px;
    +    &.progress {
    +      width: 23%;
    +    }
       }
    -  li {
    -    padding: 0px 15px 3px 9px;
    -    margin-left: 0px;
     
    -    input {
    -      width: 100%;
    +  #active-tasks-table {
    +    min-width: 725px;
    +    td.header-field {
    +      padding: 0px;
         }
     
    -    label span {
    -      font-weight: bold;
    -    }
    -  }
    -}
    +    p.multiline-active-tasks-message {
    +      margin: 0;
    +      line-height: 1.3;
    +      margin-bottom: 3px;
     
    -.no-matching-database-on-search {
    -  color: #af2d24;
    -}
    +      &.time:nth-child(2) {
    +        color: #888;
    +      }
     
    -p.multiline-active-tasks-message {
    -  margin: 0;
    +      &.to-from-database{
    +        &:first-child {
    +          border-bottom: 1px solid #ddd;
    +        }
    +        padding-bottom: 15px;
    +      }
    +    }   
    +  }
     
    -  &.time:nth-child(2) {
    -    color: #888;
    +  .task-search-database {
    +    margin: 20px;
    +  }
    +
    +  .no-matching-database-on-search {
    +    color: #af2d24;
       }
    -}
     
    -.active-tasks.dashboard-upper-menu {
    -  left: 220px;
    +  .active-tasks.dashboard-upper-menu {
    +    left: 220px;
     
    -  .closeMenu & {
    -    left: 64px;
    +    .closeMenu & {
    +      left: 64px;
    +    }
       }
    -}
     
    -#active-tasks-filter-tabs {
    +  #active-tasks-filter-tabs {
    +    height: 100px;
    +    background-color: #CBCBCB;
    +    padding-left: 20px;
    +    overflow: auto;
    +    width: 100%;
    +    min-width: 770px;
     
    -  height: 100px;
    -  background-color: #CBCBCB;
    -  padding-left: 20px;
    -  min-width: 550px;
    -  overflow: scroll;
    +    input {
    +      display:none;
    +    }
     
    +    li {
    +      background-color: #eee;
    +      margin-top: 65px;
    +      margin-left: 3px;
    +      
    +      &.active-tasks-checked {
    +        background-color: #af2d24;
     
    -  input {
    -    display:none;
    -  }
    +        label {
    +          color: #fff;
    +        }
    +      };
     
    -  li {
    -    background-color: #eee;
    -    margin-top: 65px;
    -    margin-left: 3px;
    -    &.active-tasks-checked {
    -      background-color: #af2d24;
    +      &:hover {
    +        border: 1px solid #af2d24;
    +        color: #af2d24;
    +      };
     
           label {
    -        color: #fff;
    -      }
    -    };
    +        height: 35px;
    +        width: 100%;
    +        line-height: 35px;
    +        text-align: center;
    +      } 
    +    }
     
    -    &:hover {
    -      border: 1px solid #af2d24;
    -      color: #af2d24;
    -    };
    +    #active-tasks-search-box {
    +      display: inline;
    +      font-size: 14px;
    +      font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    +      height: 36px;
    +      background-color: #eee;
    +      width: 200px;
    +      margin: 0px;
    +
    +      &:focus {
    +        background-color: #fff;
    +        outline-color: #fff;
    +      };
    +    }
    +  }
     
    -    label {
    -      height: 35px;
    -      width: 100%;
    -      line-height: 35px;
    -      text-align: center;
    -    } 
    +  .dashboard-lower-menu {
    +    padding-top: 90px;
    +    padding-left: 20px;
       }
     
    -  #active-tasks-search-box {
    -    display: inline;
    -    font-size: 14px;
    -    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -    height: 36px;
    -    background-color: #eee;
    -    width: 200px;
    -    margin: 0px;
    -
    -    &:focus {
    -      background-color: #fff;
    -      outline-color: #fff;
    -    };
    +  @media (max-width: 940px) {
    +    .filter-checkboxes li {
    +      display: inline-block;
    +      text-align: left;
    +      width: 175px;
    +    }
       }
    -}
     
    -.dashboard-lower-menu {
    -  padding-top: 90px;
    -  padding-left: 20px;
    -}
     
    -@media (max-width: 940px) {
    -  .filter-checkboxes li {
    -    display: inline-block;
    -    text-align: left;
    -    width: 175px;
    -  }
    -}
    +  .header-field {
    +    background-color: #ccc;
     
    -.polling-interval-widget {
    +    
    +    &.radio {
    +      display: none;
    +    }
    +    
    +    &.label-text {
    +      display: block;
    +      font-weight: bold;
    +      padding:10px;
    +      margin: 0px;
    +      height: 50px;
    +      -webkit-touch-callout: none;
    +      -webkit-user-select: none;
    +      -khtml-user-select: none;
    +      -moz-user-select: none;
    +      -ms-user-select: none;
    +      user-select: none;
    +    }
     
    -  width: 250px;
    -  margin-right: 20px;
    -  margin-top: 10px;
    -  color: #666;
    -  float:right;
    +    .table td& {
    +      padding: 0px;
    +      margin: 0px;
    +    }
     
    -  li {
    -    list-style-type: none;
    -  }
    +    .active-tasks-header {
    +      background-color: #ccc;
    +    }
     
    -  .polling-interval-time-label {
    -    display: inline-block;
    -    float: right;
    -    margin-right: 0px;
    -    cursor: default;
    -  }
    -  
    -  #pollingRange {
    -    width: 250px;
    +    .icon-caret-up, .icon-caret-down {
    +      color: #af2d24;
    +    }
       }
    -}
     
    -.header-field {
    -  &.radio {
    -    display: none;
    -  }
    -  
    -  &.label-text {
    -    display: block;
    -    font-weight: bold;
    -    padding:10px;
    -    margin: 0px;
    -    -webkit-touch-callout: none;
    -    -webkit-user-select: none;
    -    -khtml-user-select: none;
    -    -moz-user-select: none;
    -    -ms-user-select: none;
    -    user-select: none;
    -  }
    +  .active-tasks-loading-lines {
    +    padding-top: 15px;
    +    float: left;
    +    margin-left: -40px;
     
    -  .table th& {
    -    padding: 0px;
    -    margin: 0px;
    +    #line1, #line2, #line3, #line4 {
    +      background-color: #bbb;
    +    }
       }
     
    -  .active-tasks-header {
    -    background-color: #ccc;
    +  .view-source-sequence-btn { // "View" Button
    +    background-color: #999;
    +    display: inline;
    +    border-radius: 3px; 
    +    padding: 2px;
    +    margin: 3px;
    +    color: #fff !important; 
    +    white-space: nowrap;
       }
     
    -  .icon-caret-up, .icon-caret-down {
    -    color: #af2d24;
    -  }
    -}
    +  .view_source_sequence_tray {
    +    padding: 16px 20px 28px;
     
    -.active-tasks-loading-lines {
    -  padding-top: 15px;
    -  float: left;
    -  margin-left: -40px;
    +    position: relative;
    +    min-width: 360px;
    +    top: 15px;
    +    float: right;
    +
    +    &:before {
    +      right: 20px;
    +    }
    +    input.input-xxlarge {
    +      margin-bottom: 0px;
    +      width: 250px;
    +      .border-radius(5px 0 0 5px);
    +    }
    +
    +    a.btn {
    +      color: white;
    +      background-color: #af2d24;
    +      margin-left: 0;
    +      line-height: 1.5em;
    +      border: 0px;
    +      padding: 10px 10px 9px;
    +      font-size: 14px;
    +      .border-radius(0 5px 5px 0);
     
    -  #line1, #line2, #line3, #line4 {
    -    background-color: #bbb;
    -  }
    -}
     
    -.view-source-sequence-btn { // "View" Button
    -  background-color: #666;
    -  display: inline;
    -  border-radius: 3px; 
    -  padding: 5px;
    -  color: #fff !important; 
    +      &:hover, &.copy-button.zeroclipboard-is-hover {
    +        background-color: #cbcbcb;
    +        color: white;
    +      }
    +    }
    +  }
     }
     
    -.view_source_sequence_tray {
    -  padding: 16px 20px 28px;
    +.nav.polling-interval {
    +  li.nav-header {
    +    padding: 9px 0px 0px 9px;
    +  }
    +  li {
    +    padding: 0px 15px 3px 9px;
    +    margin-left: 0px;
     
    -  position: relative;
    -  min-width: 360px;
    -  top: 15px;
    -  float: right;
    +    input {
    +      width: 100%;
    +    }
     
    -  &:before {
    -    right: 20px;
    +    label span {
    +      font-weight: bold;
    +    }
       }
    -  input.input-xxlarge {
    -    margin-bottom: 0px;
    +}
    +
    +.polling-interval-widget {
    +
         width: 250px;
    -    .border-radius(5px 0 0 5px);
    -  }
    +    margin-right: 20px;
    +    margin-top: 10px;
    +    color: #666;
    +    float:right;
     
    -  a.btn {
    -    color: white;
    -    background-color: #af2d24;
    -    margin-left: 0;
    -    line-height: 1.5em;
    -    border: 0px;
    -    padding: 10px 10px 9px;
    -    font-size: 14px;
    -    .border-radius(0 5px 5px 0);
    -
    -    &:hover, &.copy-button.zeroclipboard-is-hover {
    -      background-color: #cbcbcb;
    -      color: white;
    +    li {
    +      list-style-type: none;
    +    }
    +
    +    .polling-interval-time-label {
    +      display: inline-block;
    +      float: right;
    +      margin-right: 0px;
    +      cursor: default;
    +    }
    +    
    +    #pollingRange {
    --- End diff --
    
    hyphens not camel here, too.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by benkeen <gi...@git.apache.org>.
Github user benkeen commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#discussion_r33801662
  
    --- Diff: app/addons/activetasks/assets/less/activetasks.less ---
    @@ -14,251 +14,282 @@
     @import "../../../../../assets/less/variables.less";
     @import "../../../../../assets/less/bootstrap/mixins.less";
     
    -.task-tabs li,
    -.active-tasks th {
    -  cursor: pointer;
    -}
    -
    -.task-search-database {
    -  margin: 20px;
    -}
     
    -.active-tasks th {
     
    -  &.type {
    -    width: 10%;
    +#active-tasks-page {
    +  .inner {
    +    overflow: scroll;
    +    height: 100%;
       }
     
    -  &.database {
    -    width: 30%;
    -  }
    +  .task-tabs li,
    +  .active-tasks td {
    +    cursor: pointer;
    +    padding-bottom: 15px;
    +    
    +    &.type {
    +      width: 10%;
    +    }
     
    -  &.started_on {
    -    width: 13%;
    -  }
    +    &.database {
    +      width: 30%;
    +    }
     
    -  &.updated_on {
    -    width: 13%;
    -  }
    +    &.started_on {
    +      width: 13%;
    +    }
     
    -  &.pid {
    -    width: 10%;
    -  }
    +    &.updated_on {
    +      width: 13%;
    +    }
     
    -  &.progress {
    -    width: 23%;
    -  }
    -}
    +    &.pid {
    +      width: 10%;
    +    }
     
    -.nav.polling-interval {
    -  li.nav-header {
    -    padding: 9px 0px 0px 9px;
    +    &.progress {
    +      width: 23%;
    +    }
       }
    -  li {
    -    padding: 0px 15px 3px 9px;
    -    margin-left: 0px;
     
    -    input {
    -      width: 100%;
    +  #active-tasks-table {
    +    min-width: 725px;
    +    td.header-field {
    +      padding: 0px;
         }
     
    -    label span {
    -      font-weight: bold;
    -    }
    -  }
    -}
    +    p.multiline-active-tasks-message {
    +      margin: 0;
    +      line-height: 1.3;
    +      margin-bottom: 3px;
     
    -.no-matching-database-on-search {
    -  color: #af2d24;
    -}
    +      &.time:nth-child(2) {
    +        color: #888;
    +      }
     
    -p.multiline-active-tasks-message {
    -  margin: 0;
    +      &.to-from-database{
    +        &:first-child {
    +          border-bottom: 1px solid #ddd;
    +        }
    +        padding-bottom: 15px;
    +      }
    +    }   
    +  }
     
    -  &.time:nth-child(2) {
    -    color: #888;
    +  .task-search-database {
    +    margin: 20px;
    +  }
    +
    +  .no-matching-database-on-search {
    +    color: #af2d24;
       }
    -}
     
    -.active-tasks.dashboard-upper-menu {
    -  left: 220px;
    +  .active-tasks.dashboard-upper-menu {
    +    left: 220px;
     
    -  .closeMenu & {
    -    left: 64px;
    +    .closeMenu & {
    +      left: 64px;
    +    }
       }
    -}
     
    -#active-tasks-filter-tabs {
    +  #active-tasks-filter-tabs {
    +    height: 100px;
    +    background-color: #CBCBCB;
    +    padding-left: 20px;
    +    overflow: auto;
    +    width: 100%;
    +    min-width: 770px;
     
    -  height: 100px;
    -  background-color: #CBCBCB;
    -  padding-left: 20px;
    -  min-width: 550px;
    -  overflow: scroll;
    +    input {
    +      display:none;
    +    }
     
    +    li {
    +      background-color: #eee;
    +      margin-top: 65px;
    +      margin-left: 3px;
    +      
    +      &.active-tasks-checked {
    +        background-color: #af2d24;
     
    -  input {
    -    display:none;
    -  }
    +        label {
    +          color: #fff;
    +        }
    +      };
     
    -  li {
    -    background-color: #eee;
    -    margin-top: 65px;
    -    margin-left: 3px;
    -    &.active-tasks-checked {
    -      background-color: #af2d24;
    +      &:hover {
    +        border: 1px solid #af2d24;
    +        color: #af2d24;
    +      };
     
           label {
    -        color: #fff;
    -      }
    -    };
    +        height: 35px;
    +        width: 100%;
    +        line-height: 35px;
    +        text-align: center;
    +      } 
    +    }
     
    -    &:hover {
    -      border: 1px solid #af2d24;
    -      color: #af2d24;
    -    };
    +    #active-tasks-search-box {
    +      display: inline;
    +      font-size: 14px;
    +      font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    +      height: 36px;
    +      background-color: #eee;
    +      width: 200px;
    +      margin: 0px;
    +
    +      &:focus {
    +        background-color: #fff;
    +        outline-color: #fff;
    +      };
    +    }
    +  }
     
    -    label {
    -      height: 35px;
    -      width: 100%;
    -      line-height: 35px;
    -      text-align: center;
    -    } 
    +  .dashboard-lower-menu {
    +    padding-top: 90px;
    +    padding-left: 20px;
       }
     
    -  #active-tasks-search-box {
    -    display: inline;
    -    font-size: 14px;
    -    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -    height: 36px;
    -    background-color: #eee;
    -    width: 200px;
    -    margin: 0px;
    -
    -    &:focus {
    -      background-color: #fff;
    -      outline-color: #fff;
    -    };
    +  @media (max-width: 940px) {
    +    .filter-checkboxes li {
    +      display: inline-block;
    +      text-align: left;
    +      width: 175px;
    +    }
       }
    -}
     
    -.dashboard-lower-menu {
    -  padding-top: 90px;
    -  padding-left: 20px;
    -}
     
    -@media (max-width: 940px) {
    -  .filter-checkboxes li {
    -    display: inline-block;
    -    text-align: left;
    -    width: 175px;
    -  }
    -}
    +  .header-field {
    +    background-color: #ccc;
     
    -.polling-interval-widget {
    +    
    +    &.radio {
    +      display: none;
    +    }
    +    
    +    &.label-text {
    +      display: block;
    +      font-weight: bold;
    +      padding:10px;
    +      margin: 0px;
    +      height: 50px;
    +      -webkit-touch-callout: none;
    +      -webkit-user-select: none;
    +      -khtml-user-select: none;
    +      -moz-user-select: none;
    +      -ms-user-select: none;
    +      user-select: none;
    --- End diff --
    
    Could we group these in a mixin? See app/assets/less/mixins for an example


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by benkeen <gi...@git.apache.org>.
Github user benkeen commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#discussion_r33801810
  
    --- Diff: app/addons/activetasks/assets/less/activetasks.less ---
    @@ -14,251 +14,282 @@
     @import "../../../../../assets/less/variables.less";
     @import "../../../../../assets/less/bootstrap/mixins.less";
     
    -.task-tabs li,
    -.active-tasks th {
    -  cursor: pointer;
    -}
    -
    -.task-search-database {
    -  margin: 20px;
    -}
     
    -.active-tasks th {
     
    -  &.type {
    -    width: 10%;
    +#active-tasks-page {
    +  .inner {
    +    overflow: scroll;
    +    height: 100%;
       }
     
    -  &.database {
    -    width: 30%;
    -  }
    +  .task-tabs li,
    +  .active-tasks td {
    +    cursor: pointer;
    +    padding-bottom: 15px;
    +    
    +    &.type {
    +      width: 10%;
    +    }
     
    -  &.started_on {
    -    width: 13%;
    -  }
    +    &.database {
    +      width: 30%;
    +    }
     
    -  &.updated_on {
    -    width: 13%;
    -  }
    +    &.started_on {
    +      width: 13%;
    +    }
     
    -  &.pid {
    -    width: 10%;
    -  }
    +    &.updated_on {
    +      width: 13%;
    +    }
     
    -  &.progress {
    -    width: 23%;
    -  }
    -}
    +    &.pid {
    +      width: 10%;
    +    }
     
    -.nav.polling-interval {
    -  li.nav-header {
    -    padding: 9px 0px 0px 9px;
    +    &.progress {
    +      width: 23%;
    +    }
       }
    -  li {
    -    padding: 0px 15px 3px 9px;
    -    margin-left: 0px;
     
    -    input {
    -      width: 100%;
    +  #active-tasks-table {
    +    min-width: 725px;
    +    td.header-field {
    +      padding: 0px;
         }
     
    -    label span {
    -      font-weight: bold;
    -    }
    -  }
    -}
    +    p.multiline-active-tasks-message {
    +      margin: 0;
    +      line-height: 1.3;
    +      margin-bottom: 3px;
     
    -.no-matching-database-on-search {
    -  color: #af2d24;
    -}
    +      &.time:nth-child(2) {
    +        color: #888;
    +      }
     
    -p.multiline-active-tasks-message {
    -  margin: 0;
    +      &.to-from-database{
    +        &:first-child {
    +          border-bottom: 1px solid #ddd;
    +        }
    +        padding-bottom: 15px;
    +      }
    +    }   
    +  }
     
    -  &.time:nth-child(2) {
    -    color: #888;
    +  .task-search-database {
    +    margin: 20px;
    +  }
    +
    +  .no-matching-database-on-search {
    +    color: #af2d24;
       }
    -}
     
    -.active-tasks.dashboard-upper-menu {
    -  left: 220px;
    +  .active-tasks.dashboard-upper-menu {
    +    left: 220px;
     
    -  .closeMenu & {
    -    left: 64px;
    +    .closeMenu & {
    +      left: 64px;
    +    }
       }
    -}
     
    -#active-tasks-filter-tabs {
    +  #active-tasks-filter-tabs {
    +    height: 100px;
    +    background-color: #CBCBCB;
    +    padding-left: 20px;
    +    overflow: auto;
    +    width: 100%;
    +    min-width: 770px;
     
    -  height: 100px;
    -  background-color: #CBCBCB;
    -  padding-left: 20px;
    -  min-width: 550px;
    -  overflow: scroll;
    +    input {
    +      display:none;
    +    }
     
    +    li {
    +      background-color: #eee;
    +      margin-top: 65px;
    +      margin-left: 3px;
    +      
    +      &.active-tasks-checked {
    +        background-color: #af2d24;
     
    -  input {
    -    display:none;
    -  }
    +        label {
    +          color: #fff;
    +        }
    +      };
     
    -  li {
    -    background-color: #eee;
    -    margin-top: 65px;
    -    margin-left: 3px;
    -    &.active-tasks-checked {
    -      background-color: #af2d24;
    +      &:hover {
    +        border: 1px solid #af2d24;
    +        color: #af2d24;
    +      };
     
           label {
    -        color: #fff;
    -      }
    -    };
    +        height: 35px;
    +        width: 100%;
    +        line-height: 35px;
    +        text-align: center;
    +      } 
    +    }
     
    -    &:hover {
    -      border: 1px solid #af2d24;
    -      color: #af2d24;
    -    };
    +    #active-tasks-search-box {
    +      display: inline;
    +      font-size: 14px;
    +      font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    +      height: 36px;
    +      background-color: #eee;
    +      width: 200px;
    +      margin: 0px;
    +
    +      &:focus {
    +        background-color: #fff;
    +        outline-color: #fff;
    +      };
    +    }
    +  }
     
    -    label {
    -      height: 35px;
    -      width: 100%;
    -      line-height: 35px;
    -      text-align: center;
    -    } 
    +  .dashboard-lower-menu {
    +    padding-top: 90px;
    +    padding-left: 20px;
       }
     
    -  #active-tasks-search-box {
    -    display: inline;
    -    font-size: 14px;
    -    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -    height: 36px;
    -    background-color: #eee;
    -    width: 200px;
    -    margin: 0px;
    -
    -    &:focus {
    -      background-color: #fff;
    -      outline-color: #fff;
    -    };
    +  @media (max-width: 940px) {
    +    .filter-checkboxes li {
    +      display: inline-block;
    +      text-align: left;
    +      width: 175px;
    +    }
       }
    -}
     
    -.dashboard-lower-menu {
    -  padding-top: 90px;
    -  padding-left: 20px;
    -}
     
    -@media (max-width: 940px) {
    -  .filter-checkboxes li {
    -    display: inline-block;
    -    text-align: left;
    -    width: 175px;
    -  }
    -}
    +  .header-field {
    +    background-color: #ccc;
     
    -.polling-interval-widget {
    +    
    +    &.radio {
    +      display: none;
    +    }
    +    
    +    &.label-text {
    +      display: block;
    +      font-weight: bold;
    +      padding:10px;
    +      margin: 0px;
    +      height: 50px;
    +      -webkit-touch-callout: none;
    +      -webkit-user-select: none;
    +      -khtml-user-select: none;
    +      -moz-user-select: none;
    +      -ms-user-select: none;
    +      user-select: none;
    +    }
     
    -  width: 250px;
    -  margin-right: 20px;
    -  margin-top: 10px;
    -  color: #666;
    -  float:right;
    +    .table td& {
    --- End diff --
    
    neat! I didn't know this trick


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by benkeen <gi...@git.apache.org>.
Github user benkeen commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#discussion_r33801498
  
    --- Diff: app/addons/activetasks/assets/less/activetasks.less ---
    @@ -14,251 +14,282 @@
     @import "../../../../../assets/less/variables.less";
     @import "../../../../../assets/less/bootstrap/mixins.less";
     
    -.task-tabs li,
    -.active-tasks th {
    -  cursor: pointer;
    -}
    -
    -.task-search-database {
    -  margin: 20px;
    -}
     
    -.active-tasks th {
     
    -  &.type {
    -    width: 10%;
    +#active-tasks-page {
    +  .inner {
    +    overflow: scroll;
    +    height: 100%;
       }
     
    -  &.database {
    -    width: 30%;
    -  }
    +  .task-tabs li,
    +  .active-tasks td {
    +    cursor: pointer;
    +    padding-bottom: 15px;
    +    
    +    &.type {
    +      width: 10%;
    +    }
     
    -  &.started_on {
    -    width: 13%;
    -  }
    +    &.database {
    +      width: 30%;
    +    }
     
    -  &.updated_on {
    -    width: 13%;
    -  }
    +    &.started_on {
    --- End diff --
    
    We use hyphens not underscores in CSS classes


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by benkeen <gi...@git.apache.org>.
Github user benkeen commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#issuecomment-118102507
  
    @michellephung yeah it's totally your call on #2, I don't mind. Just thought I'd voice my preference :) 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by benkeen <gi...@git.apache.org>.
Github user benkeen commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#issuecomment-123395240
  
    Looks terrific, @michellephung - sorry for not getting back to you sooner. 
    
    The one minor criticism would be that the text in the body of the tables looks clickable (mouse cursor changes) and the font colour makes it look like a link. But honestly I'm fine with it as is. 
    
    +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by michellephung <gi...@git.apache.org>.
Github user michellephung commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#issuecomment-123861652
  
    @benkeen i changed the cursor when it's over the table text. which color did you mean looks like a link?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Change 'No Active Tasks' to show emp...

Posted by michellephung <gi...@git.apache.org>.
Github user michellephung commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/478#issuecomment-118159854
  
    @benkeen when you have a sec, I made changes :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---