diff options
author | Unknwon <u@gogs.io> | 2015-11-11 16:24:13 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-11 16:24:13 -0500 |
commit | 675cd997d8b8afe35c642dc35defde36a3ed38e1 (patch) | |
tree | 0600da8cc2bb10e780749efabae1f37244a1687e | |
parent | 908f2924ceacc89bd75c5b89f68a653a16dcfbec (diff) | |
download | gitea-675cd997d8b8afe35c642dc35defde36a3ed38e1.tar.gz gitea-675cd997d8b8afe35c642dc35defde36a3ed38e1.zip |
minor tabindex fix
-rw-r--r-- | templates/repo/issue/comment_tab.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/view_content.tmpl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/issue/comment_tab.tmpl b/templates/repo/issue/comment_tab.tmpl index 5ffe1e0459..d2880febd0 100644 --- a/templates/repo/issue/comment_tab.tmpl +++ b/templates/repo/issue/comment_tab.tmpl @@ -4,7 +4,7 @@ <a class="item" data-tab="preview" data-url="{{AppSubUrl}}/api/v1/markdown" data-context="{{.RepoLink}}">{{.i18n.Tr "repo.release.preview"}}</a> </div> <div class="ui bottom attached active tab segment" data-tab="write"> - <textarea id="content" name="content" tabindex="1"></textarea> + <textarea id="content" name="content" tabindex="4"></textarea> </div> <div class="ui bottom attached tab segment markdown" data-tab="preview"> {{.i18n.Tr "repo.release.loading"}} diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index f838072c70..56519e7868 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -206,16 +206,16 @@ <div class="text right"> {{if and .IsIssueOwner (not .DisableStatusChange)}} {{if .Issue.IsClosed}} - <div id="status-button" class="ui green basic button" data-status="{{.i18n.Tr "repo.issues.reopen_issue"}}" data-status-and-comment="{{.i18n.Tr "repo.issues.reopen_comment_issue"}}" data-status-val="reopen"> + <div id="status-button" class="ui green basic button" tabindex="6" data-status="{{.i18n.Tr "repo.issues.reopen_issue"}}" data-status-and-comment="{{.i18n.Tr "repo.issues.reopen_comment_issue"}}" data-status-val="reopen"> {{.i18n.Tr "repo.issues.reopen_issue"}} </div> {{else}} - <div id="status-button" class="ui red basic button" tabindex="3" data-status="{{.i18n.Tr "repo.issues.close_issue"}}" data-status-and-comment="{{.i18n.Tr "repo.issues.close_comment_issue"}}" data-status-val="close"> + <div id="status-button" class="ui red basic button" tabindex="6" data-status="{{.i18n.Tr "repo.issues.close_issue"}}" data-status-and-comment="{{.i18n.Tr "repo.issues.close_comment_issue"}}" data-status-val="close"> {{.i18n.Tr "repo.issues.close_issue"}} </div> {{end}} {{end}} - <button class="ui green button" tabindex="2"> + <button class="ui green button" tabindex="5"> {{.i18n.Tr "repo.issues.create_comment"}} </button> </div> |