Skip to content

Commit

Permalink
Fixing more styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
karllhughes committed Dec 30, 2017
1 parent c129f5a commit df06838
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 29 deletions.
2 changes: 1 addition & 1 deletion resources/views/advertisements/upgrade.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table style="{{ $style['body_action'] ?? '' }}" align="center" width="100%" cellpadding="0" cellspacing="0">
<table style="{{ $style['body_action'] ?? '' }}" class="table" align="center" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<p style="{{ $style['paragraph'] ?? '' }};">
Expand Down
38 changes: 20 additions & 18 deletions resources/views/notifications/components/job-listing.blade.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
<div class="card card-block">
<h4 class="card-title">
<a href="{{ $job['url'] }}" target="_blank">{{ $job['title'] }}</a>
</h4>
@if($job['datePosted'])
<p>Posted on {{ date("F jS, Y", strtotime($job['datePosted'])) }}</p>
@endif
@if($job['company'])
<p>
<strong>Company:</strong>
{{ $job['company'] }}
@if($job['industry'] == 'Staffing')
<span class="text-muted">(Professional Recruiter)</span>
@endif
</p>
@endif
<p><strong>Location:</strong> {{ $job['location'] }}</p>
<p><strong>Source:</strong> {{ $job['source'] }}</p>
<div class="card">
<div class="card-body">
<h4 class="card-title">
<a href="{{ $job['url'] }}" target="_blank">{{ $job['title'] }}</a>
</h4>
@if($job['datePosted'])
<p>Posted on {{ date("F jS, Y", strtotime($job['datePosted'])) }}</p>
@endif
@if($job['company'])
<p>
<strong>Company:</strong>
{{ $job['company'] }}
@if($job['industry'] == 'Staffing')
<span class="text-muted">(Professional Recruiter)</span>
@endif
</p>
@endif
<p><strong>Location:</strong> {{ $job['location'] }}</p>
<p><strong>Source:</strong> {{ $job['source'] }}</p>
</div>
</div>
9 changes: 6 additions & 3 deletions resources/views/notifications/single.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@
@foreach($notification->data as $job)
@include('notifications.components.job-listing', ['job' => $job])
@endforeach
<p>
<a href="{{ Request::url() }}/download">Download Jobs</a>
</p>

<div>
<a href="{{ Request::url() }}/download" class="mt-3 btn btn-block btn-outline-info btn-lg">
Download Jobs
</a>
</div>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion resources/views/searches/components/action-links.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="row">
<div class="row mt-2">
@if ($search->latestNotification)
<div class="col-sm-6">
<a href="/notifications/{{ $search->latestNotification->id }}" class="download-link btn btn-success btn-block">View Latest</a>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/searches/components/search-dates.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p>Created: {{ date("F jS, Y", strtotime($search->created_at)) }}</p>
<p><strong>Created:</strong> {{ date("F jS, Y", strtotime($search->created_at)) }}</p>

<p>Last sent:
<p><strong>Last sent:</strong>
@if ($search->latestNotification)
{{ date("F jS, Y", strtotime($search->latestNotification->created_at)) }}
@else
Expand Down
6 changes: 4 additions & 2 deletions resources/views/searches/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@

<h3>Your Searches</h3>
@foreach($searches as $search)
<div class="card card-block">
<div class="card">
<div class="card-body">
<h4 class="card-title">"{{ $search->keyword }} in {{ $search->location }}"</h4>
@include('searches.components.search-dates')
@include('searches.components.no-recruiters-checkbox')
@include('searches.components.action-links')
</div>
</div>
@endforeach
<div><a href="/" class="btn btn-block btn-outline-success btn-lg">Add Search</a></div>
<div><a href="/" class="mt-3 btn btn-block btn-outline-success btn-lg">Add Search</a></div>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions resources/views/users/components/submit.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="form-group">
@if (session('user'))
<input type="submit" value="Add Search" class="form-control btn btn-success btn-lg"/>
<input type="submit" value="Add Search" class="mt-3 form-control btn btn-success btn-lg"/>
@else
<input type="submit" value="Sign Up" class="form-control btn btn-success btn-lg"/>
<input type="submit" value="Sign Up" class="mt-3 form-control btn btn-success btn-lg"/>
@endif
<small><a href="/terms">Terms/Privacy Policy</a></small>
</div>

0 comments on commit df06838

Please sign in to comment.