| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {% if page %}
- <ul class="nav nav-tabs d-print-none" role="tablist">
- {#
- Left Tabs
- #}
- <li class="nav-item grw-main-nav-item-left">
- <a class="nav-link active d-flex d-flex align-items-center justify-content-center" href="#revision-body" role="tab" data-toggle="tab">
- <i class="icon-control-play"></i> <span class="d-none d-sm-block ml-1">View</span>
- </a>
- </li>
- {% if !isTrashPage() %}
- <li class="nav-item grw-main-nav-item-left grw-nav-item-edit">
- <a
- {% if user %} href="#edit" data-toggle="tab" class="nav-link edit-button d-flex align-items-center justify-content-center" {% endif %}
- {% if not user %}
- class="nav-link edit-button edit-button-disabled d-flex align-items-center justify-content-center"
- data-toggle="tooltip" data-placement="top" data-container="body" title="{{ t('Not available for guest') }}"
- {% endif %}
- >
- <i class="icon-note"></i> <span class="d-none d-sm-block ml-1">{{ t('Edit') }}</span>
- </a>
- </li>
- {% if isHackmdSetup() %}
- <li class="nav-item grw-main-nav-item-left grw-nav-tab-hackmd">
- <a
- {% if user %} href="#hackmd" data-toggle="tab" class="nav-link edit-button d-flex align-items-center justify-content-center" {% endif %}
- {% if not user %}
- class="nav-link edit-button edit-button-disabled d-flex align-items-center justify-content-center"
- data-toggle="tooltip" data-placement="top" data-container="body" title="{{ t('Not available for guest') }}"
- {% endif %}
- >
- <i class="fa fa-file-text-o"></i> <span class="d-none d-sm-block ml-1">{{ t('HackMD') }}</span>
- </a>
- </li>
- {% endif %}
- <div id="page-editor-path-nav" class="d-none d-edit-block ml-2"></div>
- {% endif %}
- {#
- Right Tabs
- #}
- {# to place right side #}
- <div class="mr-auto d-none d-sm-block"></div>
- <!-- presentation -->
- {% if not page.isTopPage() %}
- <li class="nav-item">
- <a href="?presentation=1" class="nav-link toggle-presentation d-flex align-items-center justify-content-center">
- <i class="icon-film"></i><span class="d-none d-md-inline ml-1"> {{ t('Presentation Mode') }}</span>
- </a>
- </li>
- {% endif %}
- <!-- revision-history -->
- <li class="nav-item">
- <a class="nav-link d-flex align-items-center justify-content-center" href="#revision-history" role="tab" data-toggle="tab">
- <i class="icon-layers"></i><span class="d-none d-md-inline ml-1"> {{ t('History') }}</span>
- </a>
- </li>
- <!-- icon-options-vertical -->
- {% if !isTrashPage() %}
- <li id="page-management" class="nav-item dropdown"></li>
- {% endif %}
- </ul>
- {% endif %}
|