@@ -75,40 +75,47 @@ <h1>{% trans "Import a Repository" %}</h1>
75
75
< div class ="module-list ">
76
76
< div class ="module-list-wrapper ">
77
77
78
- < ul data-bind ="visible: is_ready() && !has_projects() " style ="display: none; ">
78
+ < ul data-bind ="visible: is_ready() && !has_projects() " style ="display: none; "
79
+ class ="remote-repos-empty ">
79
80
< li class ="module-item ">
80
81
{% if has_connected_accounts %}
81
82
{% blocktrans with binding='data-bind="click: sync_projects"' trimmed %}
82
- No remote repositories found,
83
- try < a href ="# " {{ binding }} > refreshing your accounts</ a > .
83
+ < p >
84
+ No remote repositories found,
85
+ try < a href ="# " {{ binding }} > refreshing your accounts</ a > .
86
+ </ p >
84
87
{% endblocktrans %}
85
88
{% else %}
86
- {% blocktrans trimmed %}
87
- You don't currently have any connected accounts.
88
- Connect your account to be able to easily set up projects.
89
- {% endblocktrans %}
90
-
91
- < form
92
- method ="get "
93
- action ="{% provider_login_url "github " %}"
94
- class="import-connect import-connect-github ">
95
- < button >
96
- {% trans "Connect to GitHub" %}
97
- </ button >
98
- < input type ="hidden " name ="process " value ="connect ">
99
- < input type ="hidden " name ="next " value ="/dashboard/import/ ">
100
- </ form >
101
-
102
- < form
103
- method ="get "
104
- action ="{% provider_login_url "bitbucket_oauth2 " %}"
105
- class="import-connect import-connect-bitbucket ">
106
- < button >
107
- {% trans "Connect to Bitbucket" %}
108
- </ button >
109
- < input type ="hidden " name ="process " value ="connect ">
110
- < input type ="hidden " name ="next " value ="/dashboard/import/ ">
111
- </ form >
89
+ < p >
90
+ {% blocktrans trimmed %}
91
+ You don't currently have any connected accounts.
92
+ Connect your account to be able to easily set up projects.
93
+ {% endblocktrans %}
94
+ </ p >
95
+
96
+ < div class ="project-import-providers ">
97
+ < form
98
+ method ="get "
99
+ action ="{% provider_login_url "github " %}"
100
+ class="import-connect import-connect-github ">
101
+ < button >
102
+ {% trans "Connect to GitHub" %}
103
+ </ button >
104
+ < input type ="hidden " name ="process " value ="connect ">
105
+ < input type ="hidden " name ="next " value ="/dashboard/import/ ">
106
+ </ form >
107
+
108
+ < form
109
+ method ="get "
110
+ action ="{% provider_login_url "bitbucket_oauth2 " %}"
111
+ class="import-connect import-connect-bitbucket ">
112
+ < button >
113
+ {% trans "Connect to Bitbucket" %}
114
+ </ button >
115
+ < input type ="hidden " name ="process " value ="connect ">
116
+ < input type ="hidden " name ="next " value ="/dashboard/import/ ">
117
+ </ form >
118
+ </ div >
112
119
113
120
{% endif %}
114
121
</ li >
0 commit comments