Skip to content

Commit

Permalink
Merge pull request #20 from GIGABAIT-Official/wiki-support
Browse files Browse the repository at this point in the history
Wiki support
  • Loading branch information
PadowYT2 authored Oct 27, 2021
2 parents 1f1f33a + babe68e commit 648d7b6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions custom/templates/Nexus/wiki/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<div class="ui segments">
<div class="ui segment header">
<div class="ui grid">
<div class="eight wide column" style="margin: auto">
<div class="ui breadcrumb" style="margin-left: 1rem; margin-bottom: 1rem">
<div class="eight wide column" style="margin-left: 1rem; margin-top: 0.25rem; width: 45%!important">
<div class="ui breadcrumb" style="margin-left: 1rem">
{if $PAGE_RESULT == 0}
<a href="{$WIKI_HOME_LINK}" class="section">{$WIKI}</a>
{elseif $PAGE_RESULT == 1}
Expand All @@ -29,7 +29,7 @@
{include file='wiki/widgets/search-box.tpl'}
</div>
</div>
<div class="ui segment context" style="padding: 28px">
<div class="ui segment context fluid image" style="padding: 28px">
{if $PAGE_RESULT == 0}
{$HOME_PAGE_CONTEXT}
{elseif $PAGE_RESULT == 1}
Expand Down Expand Up @@ -89,7 +89,7 @@
</div>
</div>

<div class="ui sixteen wide mobile four wide tablet four wide computer column">
<div class="ui sixteen wide mobile four wide tablet four wide computer column" style="padding-top: 0">
{include file='wiki/widgets/side-menu.tpl'}
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions custom/templates/Nexus/wiki/search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<div class="ui segments">
<div class="ui segment header">
<div class="ui grid">
<div class="eight wide column" style="margin: auto">
<div class="ui breadcrumb">
<div class="eight wide column" style="margin-left: 1rem; margin-top: 0.25rem; width: 45%!important">
<div class="ui breadcrumb" style="margin-left: 1rem">
<a href="{$WIKI_HOME_LINK}" class="section">{$WIKI}</a>
<div class="divider"> / </div>
<div class="active section">{$SEARCH_RESULTS_LANG} {$SEARCH_RESULT}</div>
Expand Down Expand Up @@ -39,7 +39,7 @@
</div>
</div>
</div>
<div class="ui sixteen wide mobile four wide tablet four wide computer column">
<div class="ui sixteen wide mobile four wide tablet four wide computer column" style="padding-top: 0">
{include file='wiki/widgets/side-menu.tpl'}
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions custom/templates/Nexus/wiki/widgets/search-box.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<form action='{if $PAGE_RESULT == 1}{if $WP_TYPE}{else}wiki/{/if}../{else}{/if}' method ='GET' class="eight wide column">
<form action='{if $PAGE_RESULT == 1}{if $WP_TYPE}{else}wiki/{/if}../{else}{/if}' method ='GET' class="eight wide column" style="margin-right: 1rem; width: 50%!important">
<div class="ui search icon input right floated" style="margin: 0; margin-bottom: 1rem">
<div class="ui icon input">
<input class="" type="text" name="search" id="search" value="{$SEARCH_RESULT}" placeholder="{$SEARCH_PLACEHOLDER}"> <!-- Add class prompt to make it beautifuler -->
<div class="ui mini icon input right aligned" style="margin: 0">
<input class="" type="text" name="search" id="search" value="{$SEARCH_RESULT}" placeholder="{$SEARCH_PLACEHOLDER}" style="margin: 0"> <!-- Add class prompt to make it beautifuler -->
<i class="search icon"></i>
</div>
</div>
Expand Down

0 comments on commit 648d7b6

Please sign in to comment.