This repository has been archived by the owner on Dec 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
74 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
131 changes: 62 additions & 69 deletions
131
app/views/new_admin/allocation_chart/_allocations.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,68 @@ | ||
<table class="w-full whitespace-no-wrap "> | ||
<thead> | ||
<tr class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800"> | ||
<th class="px-4 py-3"><%= I18n.t('name') %></th> | ||
<th class="px-4 py-3"><%= I18n.t('client') %></th> | ||
<th class="px-4 py-3"><%= I18n.t('allocated_until') %></th> | ||
<th class="px-4 py-3"><%= I18n.t('level') %></th> | ||
<th class="px-4 py-3"><%= I18n.t('specialty') %></th> | ||
<th class="px-4 py-3"><%= I18n.t('english_evaluation') %></th> | ||
<th class="px-4 py-3"><%= I18n.t('skills') %></th> | ||
</tr> | ||
<tr class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800"> | ||
<th class="px-4 py-3"><%= t 'name' %></th> | ||
<th class="px-4 py-3"><%= t 'client' %></th> | ||
<th class="px-4 py-3"><%= t 'allocated_until' %></th> | ||
<th class="px-4 py-3"><%= t 'level' %></th> | ||
<th class="px-4 py-3"><%= t 'specialty' %></th> | ||
<th class="px-4 py-3"><%= t 'english_evaluation' %></th> | ||
<th class="px-4 py-3"><%= t 'skills' %></th> | ||
</tr> | ||
</thead> | ||
<tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> | ||
<% allocations.each do |allocation| %> | ||
<tr class="text-gray-700 dark:text-gray-400"> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400 font-semibold"> | ||
<%= allocation.name %> | ||
</p> | ||
</div> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.project_name %> | ||
</p> | ||
</div> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.allocation_end_at %> | ||
</p> | ||
</div> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.level %> | ||
</p> | ||
</div> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.specialty %> | ||
</p> | ||
</div> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.english_level %> | ||
</p> | ||
</div> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.skills %> | ||
</p> | ||
</div> | ||
</div> | ||
</td> | ||
</tr> | ||
<% end %> | ||
<% allocations.each do |allocation| %> | ||
<tr class="text-gray-700 dark:text-gray-400"> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400 font-semibold"> | ||
<%= allocation.user_name %> | ||
</p> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.project_name %> | ||
</p> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.end_at %> | ||
</p> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.user_level %> | ||
</p> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.user_specialty %> | ||
</p> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.user_english_level %> | ||
</p> | ||
</div> | ||
</td> | ||
<td class="px-4 py-3"> | ||
<div class="flex items-center text-sm"> | ||
<p class="text-sm text-gray-600 dark:text-gray-400"> | ||
<%= allocation.user_skills %> | ||
</p> | ||
</div> | ||
</td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters