WinLanEm commited on
Commit
4125a93
·
verified ·
1 Parent(s): a1db777

фильтры в all activities на маленьких экранах плохо выглядят, измени

Browse files
Files changed (1) hide show
  1. allactivities.html +19 -20
allactivities.html CHANGED
@@ -98,36 +98,35 @@
98
  <h2 class="text-2xl font-bold mb-2">All Activities</h2>
99
  <p class="text-gray-400">Comprehensive view of all your developer activities</p>
100
  </div>
101
-
102
- <div class="flex justify-between items-center mb-8">
103
- <div class="flex flex-col sm:flex-row gap-4 items-end w-full">
104
- <div class="relative flex-1">
105
  <select id="filter-type" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2 appearance-none">
106
  <option value="all">All Types</option>
107
  <option value="commit">Commits</option>
108
  <option value="pr">Pull Requests</option>
109
  <option value="task">Tasks</option>
110
  </select>
111
- <i data-feather="chevron-down" class="absolute right-3 top-3 w-4 h-4 pointer-events-none"></i>
112
- </div>
113
- <div class="flex gap-2 flex-1">
114
- <div class="relative flex-1">
115
- <label for="date-from" class="block text-xs text-gray-400 mb-1">From</label>
116
- <input type="date" id="date-from" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2">
117
- </div>
118
- <div class="relative flex-1">
119
- <label for="date-to" class="block text-xs text-gray-400 mb-1">To</label>
120
- <input type="date" id="date-to" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2">
121
- </div>
122
  </div>
123
- <button id="apply-filter" class="bg-primary hover:bg-primary/90 px-4 py-2 rounded-lg font-medium transition flex-1 sm:flex-none h-[42px]">
124
- Apply
125
  </button>
126
  </div>
 
 
 
 
 
 
 
 
 
 
127
  </div>
128
-
129
- <div class="grid grid-cols-1 gap-4 mt-4" id="activities-container">
130
- <!-- Activities will be loaded here via JavaScript -->
131
  </div>
132
 
133
  <!-- Pagination -->
 
98
  <h2 class="text-2xl font-bold mb-2">All Activities</h2>
99
  <p class="text-gray-400">Comprehensive view of all your developer activities</p>
100
  </div>
101
+ <div class="mb-8">
102
+ <div class="grid grid-cols-1 sm:grid-cols-2 gap-4 mb-4">
103
+ <div class="relative">
104
+ <label for="filter-type" class="block text-xs text-gray-400 mb-1">Type</label>
105
  <select id="filter-type" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2 appearance-none">
106
  <option value="all">All Types</option>
107
  <option value="commit">Commits</option>
108
  <option value="pr">Pull Requests</option>
109
  <option value="task">Tasks</option>
110
  </select>
111
+ <i data-feather="chevron-down" class="absolute right-3 top-7 w-4 h-4 pointer-events-none"></i>
 
 
 
 
 
 
 
 
 
 
112
  </div>
113
+ <button id="apply-filter" class="bg-primary hover:bg-primary/90 px-4 py-2 rounded-lg font-medium transition sm:mt-6">
114
+ Apply Filters
115
  </button>
116
  </div>
117
+ <div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
118
+ <div class="relative">
119
+ <label for="date-from" class="block text-xs text-gray-400 mb-1">Date From</label>
120
+ <input type="date" id="date-from" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2">
121
+ </div>
122
+ <div class="relative">
123
+ <label for="date-to" class="block text-xs text-gray-400 mb-1">Date To</label>
124
+ <input type="date" id="date-to" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2">
125
+ </div>
126
+ </div>
127
  </div>
128
+ <div class="grid grid-cols-1 gap-2 sm:gap-4 mt-4" id="activities-container">
129
+ <!-- Activities will be loaded here via JavaScript -->
 
130
  </div>
131
 
132
  <!-- Pagination -->