File tree 3 files changed +19
-41
lines changed
3 files changed +19
-41
lines changed Original file line number Diff line number Diff line change 13
13
height : 25% ;
14
14
}
15
15
16
- .error {
17
- display : block;
18
- margin : auto;
19
- text-align : center;
20
- color : rgb (0 , 0 , 0 );
21
- overflow-y : hidden;
22
- }
23
-
24
- .error > img {
25
- width : 25% ;
26
- height : 25% ;
27
- }
28
-
29
- .btn-url {
30
- width : 100% ;
16
+ .urls {
31
17
color : # 2F3941 ;
32
18
background-color : # ffffff ;
33
19
background-image : none;
34
20
white-space : nowrap;
35
21
font-weight : 600 ;
22
+ width : auto;
36
23
}
37
24
38
- .btn -list {
25
+ .url -list {
39
26
text-align : center;
40
- width : 90% ;
41
- margin : auto;
42
- }
43
-
44
- # app {
45
- height : 100% ;
46
- overflow : hidden;
47
- }
48
-
49
- html {
50
- overflow : hidden;
51
27
}
52
28
53
29
ul {
54
30
list-style-type : none;
55
- }
31
+ }
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import { templatingLoop as loop } from '../javascripts/lib/helpers.js'
6
6
*/
7
7
function uriMarkup ( uri ) {
8
8
return ( `
9
- <li>
10
- <a href="${ uri . url } " target="_blank" class="btn btn-default btn-url " role="button">${ uri . title } </a>
9
+ <li class="url-list" >
10
+ <a href="${ uri . url } " target="_blank" class="list-group-item list-group-item-action urls " role="button">${ uri . title } </a>
11
11
</li>
12
12
` )
13
13
}
@@ -18,8 +18,8 @@ function uriMarkup (uri) {
18
18
*/
19
19
export default function ( templateUris ) {
20
20
return ( `
21
- <div id="well-urls" class="well well-sm ">
22
- <ul class="btn- list">${ loop ( templateUris , uriMarkup ) } </ul>
21
+ <div id="well-urls" class="card ">
22
+ <ul class="list-group ">${ loop ( templateUris , uriMarkup ) } </ul>
23
23
</div>
24
24
` )
25
25
}
Original file line number Diff line number Diff line change 3
3
*/
4
4
export default function ( error ) {
5
5
return ( `
6
- <div class="error">
7
- <img src="warning.png" />
8
- <h4>Oops! Something went wrong! :(</h4>
9
- <p>${ error } </p>
10
- <br/>
11
- <p>Please submit an issue below</p>
12
- <a class="btn btn-url" target="_blank" href="https://github.com/Ibotta/url_builder_app/issues">
13
- Submit Issue
14
- </a>
6
+ <div class="card text-center">
7
+ <div class="card-body">
8
+ <div class="alert alert-danger" role="alert">
9
+ ${ error }
10
+ </div>
11
+ <p class="card-text">Please copy the error message above, and use the button below to submit an issue to the developer.</p>
12
+ <p class="card-text">Provide a detailed description of the problem when submitting an issue.</p>
13
+ <a class="btn btn-danger" target="_blank" href="https://github.com/Ibotta/url_builder_app/issues">
14
+ Submit Issue
15
+ </a>
16
+ </div>
15
17
</div>
16
18
` )
17
19
}
You can’t perform that action at this time.
0 commit comments