-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from Chewbaka69/feature/applications-tab
Implement the application tab in the ? pop-up
- Loading branch information
Showing
8 changed files
with
112 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,49 @@ | ||
|
||
<ul class="subsection_tabs"> | ||
<li> | ||
<a class="overlay reiter" | ||
data-overlay-same="true" | ||
href="{{ route('techtree.ajax', ['tab' => 1, 'object_id' => $object->object->id]) }}"> | ||
<span> | ||
Techtree </span> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="overlay reiter active" | ||
data-overlay-same="true" | ||
href="{{ route('techtree.ajax', ['tab' => 4, 'object_id' => $object->object->id]) }}"> | ||
<span> | ||
Applications </span> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="overlay reiter" | ||
data-overlay-same="true" | ||
href="{{ route('techtree.ajax', ['tab' => 2, 'object_id' => $object->object->id]) }}"> | ||
<span> | ||
Techinfo </span> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="overlay reiter" | ||
data-overlay-same="true" | ||
href="{{ route('techtree.ajax', ['tab' => 3, 'object_id' => $object->object->id]) }}"> | ||
<span> | ||
Technology </span> | ||
</a> | ||
</li> | ||
</ul> | ||
<div id="technologytree" data-title="@lang('Technology') - {{ $object->title }}"> | ||
<nav data-current-action="applications"> | ||
<ul> | ||
<li> | ||
<a class="overlay" data-action="technologytree" data-overlay-same="true" href="{{ route('techtree.ajax', ['tab' => 1, 'object_id' => $object->id]) }}"> | ||
@lang('Techtree') | ||
</a> | ||
</li> | ||
<li> | ||
<a class="overlay" data-action="applications" data-overlay-same="true" href="{{ route('techtree.ajax', ['tab' => 4, 'object_id' => $object->id]) }}"> | ||
@lang('Applications') | ||
</a> | ||
</li> | ||
<li> | ||
<a class="overlay" data-action="technologyinformation" data-overlay-same="true" href="{{ route('techtree.ajax', ['tab' => 2, 'object_id' => $object->id]) }}"> | ||
@lang('Techinfo') | ||
</a> | ||
</li> | ||
<li> | ||
<a class="overlay" data-action="technologies" data-overlay-same="true" href="{{ route('techtree.ajax', ['tab' => 3, 'object_id' => $object->id]) }}"> | ||
@lang('Technology') | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
|
||
<div class="content applications"> | ||
<p class="hint">{{$object->title}} is a requirement for:</p> | ||
<ul class="applications"> | ||
@foreach ($required_by as $required) | ||
<li class="tooltipHTML" title="{{ $required['title'] }}|{{ $required['description'] }}" aria-label="{{ $required['title'] }}" data-prerequisites-met="{{ $required['met_requirements'] }}"> | ||
<a href="{{ route('techtree.ajax', ['tab' => 1, 'object_id' => $object->id]) }}" class="sprite sprite_small {{ $required['class_name'] }} overlay" data-overlay-same="true"> | ||
</a> | ||
</li> | ||
@endforeach | ||
</ul> | ||
</div> | ||
<script> | ||
</script> | ||
</div> | ||
|
||
<div class="techtree" data-id="5752c611e29741257f3cf67e060afb27" data-title="Applications - {{ $object->object->title }}"> | ||
<div class="advice">{{ $object->object->title }} is a prerequisite of:</div> | ||
There are no such technologies. </div> | ||
<script type="text/javascript"> | ||
$(document).ready(function(){initOverlayName();});</script> | ||
$( | ||
function(){ | ||
initOverlayName(); | ||
} | ||
); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters