diff --git a/static/styles.css b/static/styles.css index 1ddf767..effc09e 100644 --- a/static/styles.css +++ b/static/styles.css @@ -2240,4 +2240,24 @@ body:not(.edit-mode-on) .referee-search { .matrix-loader.is-success .matrix-title { color: #9dffb2; +} + +.player-link { + cursor: pointer; +} + +.player-link .last-name, +.player-link .first-name, +.coach-link-btn .coach-name, +.coach-left .coach-name { + color: #8ab4ff; + text-decoration: underline; + text-underline-offset: 2px; +} + +.player-link:hover .last-name, +.player-link:hover .first-name, +.coach-link-btn:hover .coach-name, +.coach-left:hover .coach-name { + color: #a9c7ff; } \ No newline at end of file diff --git a/templates/match_workspace.html b/templates/match_workspace.html index a3a00b2..087fcc5 100644 --- a/templates/match_workspace.html +++ b/templates/match_workspace.html @@ -350,31 +350,29 @@ > {{ p.number }} - - - + + {% if p.position and p.position|lower in ['вр.', 'вр', 'вратарь', 'gk', 'goalkeeper'] %} + ВР + {% endif %} + {% if p.is_captain %} + К + {% endif %} + + +
- - + + {% if p.position and p.position|lower in ['вр.', 'вр', 'вратарь', 'gk', 'goalkeeper'] %} + ВР + {% endif %} + {% if p.is_captain %} + К + {% endif %} + +
+
- - + + {% if p.position and p.position|lower in ['вр.', 'вр', 'вратарь', 'gk', 'goalkeeper'] %} + ВР + {% endif %} + {% if p.is_captain %} + К + {% endif %} + +
+
- - + + {% if p.position and p.position|lower in ['вр.', 'вр', 'вратарь', 'gk', 'goalkeeper'] %} + ВР + {% endif %} + {% if p.is_captain %} + К + {% endif %} + +
+