-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move inline docs to online documentation
Signed-off-by: Simon L <[email protected]>
- Loading branch information
Showing
6 changed files
with
50 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,32 @@ | ||
.help-includes { | ||
overflow: hidden !important; | ||
} | ||
|
||
.help-list__text { | ||
margin-left: 24px; | ||
} | ||
|
||
.help-iframe { | ||
width: 100%; | ||
.help-wrapper { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100%; | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
overflow: auto; | ||
width: 100%; | ||
} | ||
|
||
.help-content__heading { | ||
text-align: center; | ||
padding: 20px; | ||
} | ||
|
||
.help-content { | ||
display: block; | ||
padding: 20px; | ||
} | ||
|
||
.help-content__body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.help-content__body > .button { | ||
margin: 20px; | ||
} |
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,48 +1,27 @@ | ||
<?php | ||
\OC_Util::addStyle('settings', 'help'); | ||
?> | ||
<div id="app-navigation" role="navigation" tabindex="0"> | ||
<ul> | ||
<li> | ||
<a class="icon-user <?php if ($_['mode'] === 'user') { | ||
p('active'); | ||
} ?>" <?php if ($_['mode'] === 'user') { print_unescaped('aria-current="page"'); } ?> | ||
href="<?php print_unescaped($_['urlUserDocs']); ?>"> | ||
<span class="help-list__text"> | ||
<?php p($l->t('User documentation')); ?> | ||
</span> | ||
</a> | ||
</li> | ||
<?php if ($_['admin']) { ?> | ||
<li> | ||
<a class="icon-user-admin <?php if ($_['mode'] === 'admin') { | ||
p('active'); | ||
} ?>" <?php if ($_['mode'] === 'admin') { print_unescaped('aria-current="page"'); } ?> | ||
|
||
<div id="app-content"> | ||
<div class="help-wrapper"> | ||
<div class="help-content"> | ||
<h2 class="help-content__heading"> | ||
<?php p($l->t('Nextcloud documentation overview')); ?> | ||
</h2> | ||
<div class="help-content__body"> | ||
<a class="button" target="_blank" rel="noreferrer noopener" | ||
href="<?php print_unescaped($_['urlAdminDocs']); ?>"> | ||
<span class="help-list__text"> | ||
<?php p($l->t('Administrator documentation')); ?> | ||
</span> | ||
<?php p($l->t('Administration documentation')); ?> ↗ | ||
</a> | ||
</li> | ||
<?php } ?> | ||
|
||
<li> | ||
<a href="https://docs.nextcloud.com" class="icon-category-office" target="_blank" rel="noreferrer noopener"> | ||
<span class="help-list__text"> | ||
<?php p($l->t('Documentation')); ?> ↗ | ||
</span> | ||
<a class="button" href="<?php print_unescaped($_['urlUserDocs']); ?>"> | ||
<?php p($l->t('Account documentation')); ?> ↗ | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://help.nextcloud.com" class="icon-comment" target="_blank" rel="noreferrer noopener"> | ||
<span class="help-list__text"> | ||
<?php p($l->t('Forum')); ?> ↗ | ||
</span> | ||
<a href="https://docs.nextcloud.com" class="button" target="_blank" rel="noreferrer noopener"> | ||
<?php p($l->t('General documentation')); ?> ↗ | ||
</a> | ||
</li> | ||
</div> | ||
|
||
<div id="app-content" class="help-includes"> | ||
<iframe src="<?php print_unescaped($_['url']); ?>" class="help-iframe" tabindex="0"> | ||
</iframe> | ||
<a href="https://help.nextcloud.com" class="button" target="_blank" rel="noreferrer noopener"> | ||
<?php p($l->t('Forum')); ?> ↗ | ||
</a> | ||
</div> | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.