add docs for getting started. community and docs menu only show for admin

This commit is contained in:
Ibnu Maksum 2024-07-13 22:29:07 +07:00
parent 12b7eba60f
commit 44f2bc28ce
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
5 changed files with 3326 additions and 28 deletions

3
.gitignore vendored
View File

@ -49,3 +49,6 @@ system/devices/**
!system/devices/MikrotikHotspot.php !system/devices/MikrotikHotspot.php
/.vs /.vs
docker-compose.yml docker-compose.yml
docs/**
!docs/*.html
!docs/*.md

3271
docs/index.html Normal file

File diff suppressed because one or more lines are too long

View File

@ -215,5 +215,9 @@
"Currency_Code": "Currency Code", "Currency_Code": "Currency Code",
"Keep_it_blank_if_you_do_not_want_to_show_currency_code": "Keep it blank if you do not want to show currency code", "Keep_it_blank_if_you_do_not_want_to_show_currency_code": "Keep it blank if you do not want to show currency code",
"Country_Code_Phone": "Country Code Phone", "Country_Code_Phone": "Country Code Phone",
"Change_title_in_user_Plan_order": "Change title in user Plan order" "Change_title_in_user_Plan_order": "Change title in user Plan order",
"Devices": "Devices",
"Name_of_Area_that_router_operated": "Name of Area that router operated",
"Explain_Coverage_of_router": "Explain Coverage of router",
"Documentation": "Documentation"
} }

View File

@ -563,5 +563,9 @@
"You_cannot_use_your_current_phone_number": "Anda tidak dapat menggunakan nomor telepon Anda saat ini", "You_cannot_use_your_current_phone_number": "Anda tidak dapat menggunakan nomor telepon Anda saat ini",
"Devices": "Perangkat", "Devices": "Perangkat",
"Voucher_Prefix": "Awalan Voucher", "Voucher_Prefix": "Awalan Voucher",
"This_account_status": "Status akun ini" "This_account_status": "Status akun ini",
"Hotspot_Auth_Method": "Metode Otentikasi Hotspot",
"Api": "Api",
"Http_Chap": "Http-Bab",
"Hotspot_Authentication_Method__Make_sure_you_have_changed_your_hotspot_login_page_": "Metode Otentikasi Hotspot. Pastikan Anda telah mengubah halaman login hotspot Anda."
} }

View File

@ -157,27 +157,35 @@
.bs-callout p:last-child { .bs-callout p:last-child {
margin-bottom: 0 margin-bottom: 0
} }
.bs-callout code { .bs-callout code {
border-radius: 3px border-radius: 3px
} }
.bs-callout+.bs-callout { .bs-callout+.bs-callout {
margin-top: -5px margin-top: -5px
} }
.bs-callout-danger { .bs-callout-danger {
border-left-color: #ce4844 border-left-color: #ce4844
} }
.bs-callout-danger h4 { .bs-callout-danger h4 {
color: #ce4844 color: #ce4844
} }
.bs-callout-warning { .bs-callout-warning {
border-left-color: #aa6708 border-left-color: #aa6708
} }
.bs-callout-warning h4 { .bs-callout-warning h4 {
color: #aa6708 color: #aa6708
} }
.bs-callout-info { .bs-callout-info {
border-left-color: #1b809e border-left-color: #1b809e
} }
.bs-callout-info h4 { .bs-callout-info h4 {
color: #1b809e color: #1b809e
} }
@ -478,12 +486,20 @@
</li> </li>
{/if} {/if}
{$_MENU_AFTER_LOGS} {$_MENU_AFTER_LOGS}
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
<li {if $_system_menu eq 'community' }class="active" {/if}>
<a href="./docs/">
<i class="ion ion-ios-bookmarks"></i>
<span class="text">{Lang::T('Documentation')}</span>
</a>
</li>
<li {if $_system_menu eq 'community' }class="active" {/if}> <li {if $_system_menu eq 'community' }class="active" {/if}>
<a href="{$_url}community"> <a href="{$_url}community">
<i class="ion ion-chatboxes"></i> <i class="ion ion-chatboxes"></i>
<span class="text">{Lang::T('Community')}</span> <span class="text">{Lang::T('Community')}</span>
</a> </a>
</li> </li>
{/if}
{$_MENU_AFTER_COMMUNITY} {$_MENU_AFTER_COMMUNITY}
</ul> </ul>
</section> </section>