changeset 2715:9db0a5f3a6f8

Moved login link to right in +tickets view, increased spacing in EDSP in ticket view, removed extra padding in the table headers and made width of buttons auto
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Thu, 14 Aug 2014 21:42:11 +0530
parents 8bdd34c2cb74
children b9ef8aedf9ce
files MoinMoin/static/css/stylus/ticket.styl MoinMoin/static/css/ticket.css MoinMoin/static/js/tickets.js MoinMoin/themes/basic/static/css/theme.css MoinMoin/themes/basic/static/custom-less/theme.less
diffstat 5 files changed, 24 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/static/css/stylus/ticket.styl	Wed Aug 13 22:55:33 2014 +0530
+++ b/MoinMoin/static/css/stylus/ticket.styl	Thu Aug 14 21:42:11 2014 +0530
@@ -1,9 +1,7 @@
 #moin-ticket-form
     dd
-        width 80%
         margin-top 0.1em
     dt
-        width 15%
         margin-top 0.1em
 
 fields = (effort difficulty severity priority)
@@ -78,7 +76,7 @@
 input[type=submit], #f_submit_update, #f_submit_update_negate_status
     margin-top 10px
     margin-bottom 20px
-    width 150px
+    width auto
     background-color #1b436d
     height 40px
     color #ffffff
@@ -101,12 +99,21 @@
 
 .moin-ticket-comments
     float right
-    width 60%
+    width 50%
 
 .moin-ticket-metadata
     float left
-    width 40%
+    width 50%
 
 #f_message
     width 100%
     height 150px
+
+h2
+    border-bottom none
+
+dt label
+    padding-top 10px
+
+dl dd
+    padding-bottom 10px
--- a/MoinMoin/static/css/ticket.css	Wed Aug 13 22:55:33 2014 +0530
+++ b/MoinMoin/static/css/ticket.css	Thu Aug 14 21:42:11 2014 +0530
@@ -1,13 +1,16 @@
-#moin-ticket-form dd{width:80%;margin-top:.1em}
-#moin-ticket-form dt{width:15%;margin-top:.1em}
+#moin-ticket-form dd{margin-top:.1em}
+#moin-ticket-form dt{margin-top:.1em}
 #f_meta_effort_1, #f_meta_difficulty_1, #f_meta_severity_1, #f_meta_priority_1, #f_meta_effort_2, #f_meta_difficulty_2, #f_meta_severity_2, #f_meta_priority_2, #f_meta_effort_3, #f_meta_difficulty_3, #f_meta_severity_3, #f_meta_priority_3, #f_meta_effort_4, #f_meta_difficulty_4, #f_meta_severity_4, #f_meta_priority_4, #f_meta_effort_5, #f_meta_difficulty_5, #f_meta_severity_5, #f_meta_priority_5{display:none}
 #f_meta_effort_1 + label.moin-inline-label, #f_meta_difficulty_1 + label.moin-inline-label, #f_meta_severity_1 + label.moin-inline-label, #f_meta_priority_1 + label.moin-inline-label, #f_meta_effort_2 + label.moin-inline-label, #f_meta_difficulty_2 + label.moin-inline-label, #f_meta_severity_2 + label.moin-inline-label, #f_meta_priority_2 + label.moin-inline-label, #f_meta_effort_3 + label.moin-inline-label, #f_meta_difficulty_3 + label.moin-inline-label, #f_meta_severity_3 + label.moin-inline-label, #f_meta_priority_3 + label.moin-inline-label, #f_meta_effort_4 + label.moin-inline-label, #f_meta_difficulty_4 + label.moin-inline-label, #f_meta_severity_4 + label.moin-inline-label, #f_meta_priority_4 + label.moin-inline-label, #f_meta_effort_5 + label.moin-inline-label, #f_meta_difficulty_5 + label.moin-inline-label, #f_meta_severity_5 + label.moin-inline-label, #f_meta_priority_5 + label.moin-inline-label{padding-left:25px;padding-right:10px;height:20px;display:inline-block;line-height:20px;background-repeat:no-repeat;background-position:0 0;font-size:20px;vertical-align:middle;cursor:pointer}
 #f_meta_effort_1:checked + label.moin-inline-label, #f_meta_difficulty_1:checked + label.moin-inline-label, #f_meta_severity_1:checked + label.moin-inline-label, #f_meta_priority_1:checked + label.moin-inline-label, #f_meta_effort_2:checked + label.moin-inline-label, #f_meta_difficulty_2:checked + label.moin-inline-label, #f_meta_severity_2:checked + label.moin-inline-label, #f_meta_priority_2:checked + label.moin-inline-label, #f_meta_effort_3:checked + label.moin-inline-label, #f_meta_difficulty_3:checked + label.moin-inline-label, #f_meta_severity_3:checked + label.moin-inline-label, #f_meta_priority_3:checked + label.moin-inline-label, #f_meta_effort_4:checked + label.moin-inline-label, #f_meta_difficulty_4:checked + label.moin-inline-label, #f_meta_severity_4:checked + label.moin-inline-label, #f_meta_priority_4:checked + label.moin-inline-label, #f_meta_effort_5:checked + label.moin-inline-label, #f_meta_difficulty_5:checked + label.moin-inline-label, #f_meta_severity_5:checked + label.moin-inline-label, #f_meta_priority_5:checked + label.moin-inline-label{background-position:0 -20px}
 label.moin-inline-label{background-image:url("../img/radiobutton.png")}
 #f_meta_tags,#f_meta_summary{-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;outline:none;width:200px;margin-top:20px;margin-bottom:20px;height:25px;padding:3px 0 3px 3px;margin:5px 1px 3px 0;border:1px solid #ddd}
 #f_meta_tags:focus,#f_meta_summary:focus{box-shadow:0 0 5px #51cbee;margin-top:20px;margin-bottom:20px;height:25px;padding:3px 0 3px 3px;margin:5px 1px 3px 0;border:1px solid #51cbee}
-input[type=submit],#f_submit_update,#f_submit_update_negate_status{margin-top:10px;margin-bottom:20px;width:150px;background-color:#1b436d;height:40px;color:#fff;border:2px solid}
+input[type=submit],#f_submit_update,#f_submit_update_negate_status{margin-top:10px;margin-bottom:20px;width:auto;background-color:#1b436d;height:40px;color:#fff;border:2px solid}
 select{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none}
-.moin-ticket-comments{float:right;width:60%}
-.moin-ticket-metadata{float:left;width:40%}
+.moin-ticket-comments{float:right;width:50%}
+.moin-ticket-metadata{float:left;width:50%}
 #f_message{width:100%;height:150px}
+h2{border-bottom:none}
+dt label{padding-top:10px}
+dl dd{padding-bottom:10px}
--- a/MoinMoin/static/js/tickets.js	Wed Aug 13 22:55:33 2014 +0530
+++ b/MoinMoin/static/js/tickets.js	Thu Aug 14 21:42:11 2014 +0530
@@ -12,4 +12,6 @@
     }
   });
 
+  $('.moin-loginsettings').addClass('navbar-right');
+
 });
--- a/MoinMoin/themes/basic/static/css/theme.css	Wed Aug 13 22:55:33 2014 +0530
+++ b/MoinMoin/themes/basic/static/css/theme.css	Thu Aug 14 21:42:11 2014 +0530
@@ -6955,7 +6955,6 @@
 #ticket-list tr td,
 #ticket-list thead th {
   cursor: pointer;
-  padding-left: 20px;
 }
 #ticket-list tr td:first-child a {
   font-family: monospace;
@@ -7016,7 +7015,7 @@
 #moin-ticket-create-link {
   display: inline;
   position: absolute;
-  right: 100px;
+  right: 90px;
   top: 40px;
 }
 #moin-ticket-create-link button {
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Wed Aug 13 22:55:33 2014 +0530
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Thu Aug 14 21:42:11 2014 +0530
@@ -679,7 +679,6 @@
 }
 #ticket-list tr td, #ticket-list thead th {
   cursor: pointer;
-  padding-left: 20px;
 }
 #ticket-list tr td:first-child a {
   font-family: monospace;
@@ -739,7 +738,7 @@
 #moin-ticket-create-link {
   display: inline;
   position: absolute;
-  right: 100px;
+  right: 90px;
   top: 40px;
 }
 #moin-ticket-create-link button {