Skip to content
This repository was archived by the owner on May 21, 2021. It is now read-only.

Commit 9f5b738

Browse files
committed
minor css fixes
1 parent 57c4a2d commit 9f5b738

File tree

10 files changed

+49
-43
lines changed

10 files changed

+49
-43
lines changed

public/build/js/app-8e71bf6f18.js renamed to public/build/js/app-036129abbd.js

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/js/app.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/rev-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"css/app.css": "css/app-d41d8cd98f.css",
3-
"js/app.js": "js/app-8e71bf6f18.js"
3+
"js/app.js": "js/app-036129abbd.js"
44
}

public/js/app.js

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/app.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/assets/js/components/SearchActionsButtons.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
2-
<a v-bind:href="createSearchUrl" class="btn btn-primary"><i class="fa fa-btn fa-plus"></i> Start a new search</a>
3-
<a v-if="countSearches" v-bind:href="downloadResourcesUrl" class="btn btn-success"><i class="fa fa-btn fa-btn fa-download"></i> Download all resources</a>
4-
<a v-if="countSearches" v-on:click.stop="deleteAllSearches" class="btn btn-danger"><i class="fa fa-btn fa-btn fa-trash"></i> Delete all searches</a>
2+
<a v-bind:href="createSearchUrl" class="btn btn-action btn-primary"><i class="fa fa-btn fa-plus"></i> Start a new search</a>
3+
<a v-if="countSearches" v-bind:href="downloadResourcesUrl" class="btn btn-action btn-success"><i class="fa fa-btn fa-btn fa-download"></i> Download all resources</a>
4+
<a v-if="countSearches" v-on:click.stop="deleteAllSearches" class="btn btn-action btn-danger"><i class="fa fa-btn fa-btn fa-trash"></i> Delete all searches</a>
55
</template>
66

77
<script>

resources/assets/js/components/SearchIndex.vue

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
<template>
22
<search-actions-buttons></search-actions-buttons>
33
<hr>
4-
<table class="table table-hover">
4+
<table class="table table-hover table-condensed">
55
<thead>
6-
<tr>
7-
<th>Type</th>
8-
<th>Entry point</th>
9-
<th>Started</th>
10-
<th>Status</th>
11-
<th>Urls</th>
12-
<th>Found</th>
13-
<th>Actions</th>
14-
</tr>
6+
<tr>
7+
<th class="hidden-xs">Type</th>
8+
<th>Entry point</th>
9+
<th class="hidden-xs">Started</th>
10+
<th>Status</th>
11+
<th class="hidden-xs">Urls</th>
12+
<th class="hidden-xs">Found</th>
13+
<th>Actions</th>
14+
</tr>
1515
</thead>
1616
<tbody>
17-
<tr v-for="search in searches | orderBy 'created_at' -1">
18-
<td>{{ search.resource_type | capitalize }}</td>
19-
<td>{{ search.entrypoint_url }}</td>
20-
<td>{{ search.created_at | timeAgo }}</td>
21-
<td>{{{ search.finished | searchStatus }}}</td>
22-
<td>{{ search.related.urls.data.total | formatInteger }}</td>
23-
<td>{{ search.related.resources.data.total | formatInteger }}</td>
24-
<td>
25-
<a v-bind:href="viewSearchUrl(search.id)" class="btn btn-xs btn-primary" title="View search"><i class="fa fa-arrow-right"></i></a>
26-
<a v-bind:href="downloadSearchResourcesUrl(search.id)" class="btn btn-xs btn-success" title="Download {{ search.resource_type }}s"><i class="fa fa-download"></i></a>
27-
<a v-on:click.stop="deleteSearch(search.id)" class="btn btn-xs btn-danger" title="Delete search"><i class="fa fa-trash"></i></a>
28-
</td>
29-
</tr>
17+
<tr v-for="search in searches | orderBy 'created_at' -1">
18+
<td class="hidden-xs">{{ search.resource_type | capitalize }}</td>
19+
<td>{{ search.entrypoint_url }}</td>
20+
<td class="hidden-xs">{{ search.created_at | timeAgo }}</td>
21+
<td>{{{ search.finished | searchStatus }}}</td>
22+
<td class="hidden-xs">{{ search.related.urls.data.total | formatInteger }}</td>
23+
<td class="hidden-xs">{{ search.related.resources.data.total | formatInteger }}</td>
24+
<td>
25+
<a v-bind:href="viewSearchUrl(search.id)" class="btn btn-action btn-xs btn-primary" title="View search"><i class="fa fa-arrow-right"></i></a>
26+
<a v-bind:href="downloadSearchResourcesUrl(search.id)" class="btn btn-action btn-xs btn-success" title="Download {{ search.resource_type }}s"><i class="fa fa-download"></i></a>
27+
<a v-on:click.stop="deleteSearch(search.id)" class="btn btn-action btn-xs btn-danger" title="Delete search"><i class="fa fa-trash"></i></a>
28+
</td>
29+
</tr>
3030
</tbody>
3131
</table>
3232
</template>
@@ -98,5 +98,9 @@
9898
</script>
9999

100100
<style>
101-
101+
@media screen and (max-width: 991px) {
102+
.btn-action {
103+
margin-bottom: 3px;
104+
}
105+
}
102106
</style>

resources/views/searches/create.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@section('content')
66
<div class="container">
77
<div class="row">
8-
<div class="col-md-10 col-md-offset-1">
8+
<div class="col-md-12">
99
<div class="panel panel-default">
1010
<div class="panel-heading">Start a new search</div>
1111

resources/views/searches/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</script>
99
<div class="container">
1010
<div class="row">
11-
<div class="col-md-10 col-md-offset-1">
11+
<div class="col-md-12">
1212
<div class="panel panel-default">
1313
<div class="panel-heading">My searches</div>
1414

resources/views/searches/show.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@section('content')
66
<div class="container">
77
<div class="row">
8-
<div class="col-md-10 col-md-offset-1">
8+
<div class="col-md-12">
99
<div class="panel panel-default">
1010
<div class="panel-heading">Search for {{ $search->type }}s with entry point <a href="{{ $search->entrypoint }}" target="_blank">{{ str_limit($search->entrypoint, 50) }}</a></div>
1111

0 commit comments

Comments
 (0)