mirror of
https://github.com/netzbegruenung/green-spider.git
synced 2024-05-04 10:03:40 +02:00
Merge pull request #44 from netzbegruenung/add-icons
Add icons to screenshot column
This commit is contained in:
commit
54c4af8c28
File diff suppressed because one or more lines are too long
|
@ -7,6 +7,7 @@
|
|||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="https://netzbegruenung.github.io/webfonts/style.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/ionicons@4.1.2/dist/css/ionicons.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
h5 {
|
||||
|
@ -50,6 +51,11 @@
|
|||
.header {
|
||||
background-color: #46962b;
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-size: 24px;
|
||||
color: #212529;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
1
webapp/dist/CNAME
vendored
Normal file
1
webapp/dist/CNAME
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
green-spider.netzbegruenung.de
|
2
webapp/dist/bundle.js
vendored
2
webapp/dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
6
webapp/dist/index.html
vendored
6
webapp/dist/index.html
vendored
|
@ -7,6 +7,7 @@
|
|||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="https://netzbegruenung.github.io/webfonts/style.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/ionicons@4.1.2/dist/css/ionicons.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
h5 {
|
||||
|
@ -50,6 +51,11 @@
|
|||
.header {
|
||||
background-color: #46962b;
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-size: 24px;
|
||||
color: #212529;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -93,8 +93,8 @@ $(function(){
|
|||
if (typeof screenshots[item.details.canonical_urls[0]] !== 'undefined') {
|
||||
var surl = 'http://green-spider-screenshots.sendung.de/320x640/'+screenshots[item.details.canonical_urls[0]];
|
||||
var lurl = 'http://green-spider-screenshots.sendung.de/1500x1500/'+screenshots[item.details.canonical_urls[0]];
|
||||
screenshot = '<a class="screenshot" href="'+ surl +'" target="_blank" title="Mobile">M</a>';
|
||||
screenshot += '<a class="screenshot" href="'+ lurl +'" target="_blank" title="Desktop">D</a>';
|
||||
screenshot = '<a class="screenshot" href="'+ surl +'" target="_blank" title="Mobile"><i class="icon ion-md-phone-portrait"></i></a>';
|
||||
screenshot += '<a class="screenshot" href="'+ lurl +'" target="_blank" title="Desktop"><i class="icon ion-md-desktop"></i></a>';
|
||||
}
|
||||
}
|
||||
row.append('<td class="'+ (screenshot ? 'good' : 'bad') +' text-center">' + (screenshot ? screenshot : '❌') + '</td>');
|
||||
|
|
Loading…
Reference in a new issue