From ea248c363fd82875b854266f6f95414e67c943cb Mon Sep 17 00:00:00 2001
From: ViolettaShevchenko <frozenm@yandex.ru>
Date: Sat, 9 Jul 2016 12:15:15 +0300
Subject: [PATCH] #104 support interface refactor

---
 media/less/common/forms.less                              | 3 +++
 .../application/views/office/support/requests.twig        | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/media/less/common/forms.less b/media/less/common/forms.less
index 86e62e572..bba35b2e0 100644
--- a/media/less/common/forms.less
+++ b/media/less/common/forms.less
@@ -22,6 +22,9 @@
     &.P2Width {
         width: 18.5% !important;
     }
+    &.Width75 {
+        width: 75% !important;
+    }
     &.Width65 {
         width: 65% !important;
     }
diff --git a/~dev_rating/application/views/office/support/requests.twig b/~dev_rating/application/views/office/support/requests.twig
index b65cf7280..1809e4f1b 100644
--- a/~dev_rating/application/views/office/support/requests.twig
+++ b/~dev_rating/application/views/office/support/requests.twig
@@ -12,7 +12,7 @@
 {% block office_content %}
     <div class="goodClearFix">
         <h2 style="float: left">Сообщения пользователей</h2>
-        <select id="statusFilter" style="width: 10%" class="defaultForm FLeft StatusFilter">
+        <select id="statusFilter" style="width: 10%; min-width: 130px;" class="defaultForm FLeft StatusFilter">
             <option value="all" {% if Filter == 'all'%}selected{% endif %}>Р’СЃРµ</option>
             <option value="opened" {% if Filter == 'opened'%}selected{% endif %}>Открытые</option>
             <option value="processed" {% if Filter == 'processed'%}selected{% endif %}>В процессе</option>
@@ -23,8 +23,8 @@
 
     <div class="RequestsPage">
         {% for req in Requests %}
-            <div id="{{ "requestIssue"~req.ID }}" class="goodClearFix RequestIssue">
-                <div class="defaultForm FLeft P1Width">
+            <div class="goodClearFix RequestIssue">
+                <div class="defaultForm FLeft Width75">
                     <div id="{{ "requestTitle"~req.ID }}" class="RequestTitle">{{ req.Title }}</div>
                     {% if req.UserRoleID == 1 %}{% set role = "students/" %}{% else %}{% set role = "teachers/" %}{% endif %}
                     <div class="RequestInfo">
@@ -33,7 +33,7 @@
                         {{ req.Date }}
                     </div>
                 </div>
-                <select id="{{ "requestStatus"~req.ID }}" style="width: 10%" class="defaultForm FRight RequestStatus">
+                <select id="{{ "requestStatus"~req.ID }}" style="width: 10%; min-width: 130px;" class="defaultForm FRight RequestStatus">
                     <option value="opened" {% if req.Status == 'opened'%}selected{% endif %}>Открыт</option>
                     <option value="processed" {% if req.Status == 'processed'%}selected{% endif %}>В процессе</option>
                     <option value="closed" {% if req.Status == 'closed'%}selected{% endif %}>Закрыт</option>
-- 
GitLab