Commits

Saurabh Kathpalia  committed 8c2dea5

Changed format of ticket submit and modify view- moved comments to right and metadata to left

  • Participants
  • Parent commits 949994a

Comments (0)

Files changed (4)

File MoinMoin/static/css/stylus/ticket.styl

     margin 5px 1px 3px 0px
     border 1px solid rgba(81, 203, 238, 1)
 
-.moin-ticket-metadata input[type=submit], #f_submit_update, #f_submit_update_negate_status
+.moin-ticket-comments input[type=submit], #f_submit_update, #f_submit_update_negate_status
     margin-top 10px
     margin-bottom 20px
     width auto
     border-radius 4px
     -webkit-user-select none
 
-.moin-ticket-comments
-    float right
-    width 50%
+.moin-ticket-submit, .moin-ticket-comments
+    float left
+    width 35em
+    clear both
 
 .moin-ticket-metadata
-    float left
-    width 50%
+    float right
+    width 30em
 
 #f_message
     width 100%
 
 .moin-ticket-tags
     padding-bottom 20px
+
+textarea
+    resize vertical
+
+.moin-form dt, .moin-form dd
+    text-align left
+    width 100%
+    padding-bottom 5px

File MoinMoin/static/css/ticket.css

 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}
-.moin-ticket-metadata 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}
+.moin-ticket-comments 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:50%}
-.moin-ticket-metadata{float:left;width:50%}
+.moin-ticket-submit,.moin-ticket-comments{float:left;width:35em;clear:both}
+.moin-ticket-metadata{float:right;width:30em}
 #f_message{width:100%;height:150px}
 h2{border-bottom:none}
 dt label{padding-top:10px}
 dl dd{padding-bottom:10px}
 .moin-ticket-link{padding-left:150px}
 .moin-ticket-tags{padding-bottom:20px}
+.moin-form dt,.moin-form dd{text-align:left;width:100%;padding-bottom:5px}

File MoinMoin/templates/ticket/modify.html

             {{ forms.render_errors(form) }}
             {{ render_meta() }}
         </dl>
-	<div class="moin-ticket-tags">
+        <div class="moin-ticket-tags">
             {{ _("Suggested Tags: ") }}
             {% for suggested_tag in suggested_tags %}
                 {{ suggested_tag }}
             {% endfor %}
-	</div>
+        </div>
         <dl>
             {{ render_selectlists() }}
         </dl>
-
-        {{ forms.render(form['submit']) }}
         <h2>{{ _("Back references") }}</h2>
         <dl>
             {{ render_backref() }}
         </dl>
     </div>
+    <div class="moin-ticket-submit">
+        {{ forms.render(form['submit']) }}
+    </div>
 {% endblock %}

File MoinMoin/templates/ticket/submit.html

 {% endblock %}
 {% block ticket_metadata %}
 
-    <h2>{{ _("Provide metadata") }}</h2>
     <div class="moin-ticket-metadata">
+        <h2>{{ _("Provide metadata") }}</h2>
         <dl>
         {{ forms.render_errors(form) }}
         {{ render_meta() }}
         <dl>
         {{ render_selectlists() }}
         </dl>
-
+    </div>
+    <div class="moin-ticket-submit">
         {{ forms.render_submit(form) }}
     </div>
 {% endblock %}