|
3 | 3 | {{if .IsSigned}} |
4 | 4 | {{if .NotificationUnreadCount}}{{$notificationUnreadCount = call .NotificationUnreadCount}}{{end}} |
5 | 5 | {{end}} |
6 | | - <div class="item brand sb"> |
| 6 | + <div class="item brand gt-sb"> |
7 | 7 | <a href="{{AppSubUrl}}/" aria-label="{{if .IsSigned}}{{.locale.Tr "dashboard"}}{{else}}{{.locale.Tr "home"}}{{end}}"> |
8 | 8 | <img width="30" height="30" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{.locale.Tr "logo"}}" aria-hidden="true"> |
9 | 9 | </a> |
10 | | - <div class="df ac"> |
| 10 | + <div class="gt-df gt-ac"> |
11 | 11 | {{if .IsSigned}} |
12 | | - <a href="{{AppSubUrl}}/notifications" class="tooltip mobile-only mr-4 mt-3" data-content="{{.locale.Tr "notifications"}}" aria-label="{{.locale.Tr "notifications"}}"> |
| 12 | + <a href="{{AppSubUrl}}/notifications" class="tooltip mobile-only gt-mr-4 gt-mt-3" data-content="{{.locale.Tr "notifications"}}" aria-label="{{.locale.Tr "notifications"}}"> |
13 | 13 | <span class="fitted item"> |
14 | 14 | {{svg "octicon-bell"}} |
15 | | - <span class="notification_count{{if not $notificationUnreadCount}} hidden{{end}}"> |
| 15 | + <span class="notification_count{{if not $notificationUnreadCount}} gt-hidden{{end}}"> |
16 | 16 | {{$notificationUnreadCount}} |
17 | 17 | </span> |
18 | 18 | </span> |
|
49 | 49 | <div class="item"> |
50 | 50 | <div class="ui icon input"> |
51 | 51 | <input class="searchbox" type="text" placeholder="{{.locale.Tr "search_project"}}"> |
52 | | - <i class="icon df ac jc">{{svg "octicon-search" 16}}</i> |
| 52 | + <i class="icon gt-df gt-ac gt-jc">{{svg "octicon-search" 16}}</i> |
53 | 53 | </div> |
54 | 54 | </div> |
55 | 55 | */}} |
|
80 | 80 | {{else if .IsSigned}} |
81 | 81 | <div class="right stackable menu"> |
82 | 82 | {{if EnableTimetracking}} |
83 | | - <a class="active-stopwatch-trigger item ui mx-0{{if not .ActiveStopwatch}} hidden{{end}}" href="{{.ActiveStopwatch.IssueLink}}"> |
84 | | - <span class="fitted relative"> |
| 83 | + <a class="active-stopwatch-trigger item ui gt-mx-0{{if not .ActiveStopwatch}} gt-hidden{{end}}" href="{{.ActiveStopwatch.IssueLink}}"> |
| 84 | + <span class="fitted gt-relative"> |
85 | 85 | {{svg "octicon-stopwatch"}} |
86 | 86 | <span class="header-stopwatch-dot"></span> |
87 | 87 | <span class="sr-mobile-only">{{.locale.Tr "active_stopwatch"}}</span> |
88 | 88 | </span> |
89 | 89 | </a> |
90 | 90 | <div class="active-stopwatch-popup tippy-target"> |
91 | | - <div class="df ac"> |
92 | | - <a class="stopwatch-link df ac" href="{{.ActiveStopwatch.IssueLink}}"> |
93 | | - {{svg "octicon-issue-opened" 16 "mr-3"}} |
| 91 | + <div class="gt-df gt-ac"> |
| 92 | + <a class="stopwatch-link gt-df gt-ac" href="{{.ActiveStopwatch.IssueLink}}"> |
| 93 | + {{svg "octicon-issue-opened" 16 "gt-mr-3"}} |
94 | 94 | <span class="stopwatch-issue">{{.ActiveStopwatch.RepoSlug}}#{{.ActiveStopwatch.IssueIndex}}</span> |
95 | | - <span class="ui primary label stopwatch-time my-0 mx-4" data-seconds="{{.ActiveStopwatch.Seconds}}"> |
| 95 | + <span class="ui primary label stopwatch-time gt-my-0 gt-mx-4" data-seconds="{{.ActiveStopwatch.Seconds}}"> |
96 | 96 | {{if .ActiveStopwatch}}{{Sec2Time .ActiveStopwatch.Seconds}}{{end}} |
97 | 97 | </span> |
98 | 98 | </a> |
|
118 | 118 | </div> |
119 | 119 | {{end}} |
120 | 120 |
|
121 | | - <a href="{{AppSubUrl}}/notifications" class="item tooltip not-mobile mx-0" data-content="{{.locale.Tr "notifications"}}" aria-label="{{.locale.Tr "notifications"}}"> |
| 121 | + <a href="{{AppSubUrl}}/notifications" class="item tooltip not-mobile gt-mx-0" data-content="{{.locale.Tr "notifications"}}" aria-label="{{.locale.Tr "notifications"}}"> |
122 | 122 | <span class="fitted item"> |
123 | 123 | {{svg "octicon-bell"}} |
124 | | - <span class="notification_count{{if not $notificationUnreadCount}} hidden{{end}}"> |
| 124 | + <span class="notification_count{{if not $notificationUnreadCount}} gt-hidden{{end}}"> |
125 | 125 | {{$notificationUnreadCount}} |
126 | 126 | </span> |
127 | 127 | </span> |
128 | 128 | </a> |
129 | 129 |
|
130 | | - <div class="ui dropdown jump item tooltip mx-0" data-content="{{.locale.Tr "create_new"}}"> |
| 130 | + <div class="ui dropdown jump item tooltip gt-mx-0" data-content="{{.locale.Tr "create_new"}}"> |
131 | 131 | <span class="text"> |
132 | 132 | <span class="fitted">{{svg "octicon-plus"}}</span> |
133 | 133 | <span class="sr-mobile-only">{{.locale.Tr "create_new"}}</span> |
|
150 | 150 | </div><!-- end content create new menu --> |
151 | 151 | </div><!-- end dropdown menu create new --> |
152 | 152 |
|
153 | | - <div class="ui dropdown jump item tooltip mx-0" tabindex="-1" data-content="{{.locale.Tr "user_profile_and_more"}}"> |
| 153 | + <div class="ui dropdown jump item tooltip gt-mx-0" tabindex="-1" data-content="{{.locale.Tr "user_profile_and_more"}}"> |
154 | 154 | <span class="text"> |
155 | 155 | {{avatar .SignedUser 24 "tiny"}} |
156 | 156 | <span class="sr-only">{{.locale.Tr "user_profile_and_more"}}</span> |
|
0 commit comments