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

@ -154,32 +154,40 @@
margin-bottom: 5px margin-bottom: 5px
} }
.bs-callout p:last-child{ .bs-callout p:last-child {
margin-bottom:0 margin-bottom: 0
} }
.bs-callout code{
border-radius:3px .bs-callout code {
border-radius: 3px
} }
.bs-callout+.bs-callout{
margin-top:-5px .bs-callout+.bs-callout {
margin-top: -5px
} }
.bs-callout-danger{
border-left-color:#ce4844 .bs-callout-danger {
border-left-color: #ce4844
} }
.bs-callout-danger h4{
color:#ce4844 .bs-callout-danger h4 {
color: #ce4844
} }
.bs-callout-warning{
border-left-color:#aa6708 .bs-callout-warning {
border-left-color: #aa6708
} }
.bs-callout-warning h4{
color:#aa6708 .bs-callout-warning h4 {
color: #aa6708
} }
.bs-callout-info{
border-left-color:#1b809e .bs-callout-info {
border-left-color: #1b809e
} }
.bs-callout-info h4{
color:#1b809e .bs-callout-info h4 {
color: #1b809e
} }
</style> </style>
{if isset($xheader)} {if isset($xheader)}
@ -434,7 +442,7 @@
<li {if $_routes[1] eq 'notifications' }class="active" {/if}><a <li {if $_routes[1] eq 'notifications' }class="active" {/if}><a
href="{$_url}settings/notifications">{Lang::T('User Notification')}</a></li> href="{$_url}settings/notifications">{Lang::T('User Notification')}</a></li>
<li {if $_routes[1] eq 'devices' }class="active" {/if}><a <li {if $_routes[1] eq 'devices' }class="active" {/if}><a
href="{$_url}settings/devices">{Lang::T('Devices')}</a></li> href="{$_url}settings/devices">{Lang::T('Devices')}</a></li>
{/if} {/if}
{if in_array($_admin['user_type'],['SuperAdmin','Admin','Agent'])} {if in_array($_admin['user_type'],['SuperAdmin','Admin','Agent'])}
<li {if $_routes[1] eq 'users' }class="active" {/if}><a <li {if $_routes[1] eq 'users' }class="active" {/if}><a
@ -478,12 +486,20 @@
</li> </li>
{/if} {/if}
{$_MENU_AFTER_LOGS} {$_MENU_AFTER_LOGS}
<li {if $_system_menu eq 'community' }class="active" {/if}> {if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
<a href="{$_url}community"> <li {if $_system_menu eq 'community' }class="active" {/if}>
<i class="ion ion-chatboxes"></i> <a href="./docs/">
<span class="text">{Lang::T('Community')}</span> <i class="ion ion-ios-bookmarks"></i>
</a> <span class="text">{Lang::T('Documentation')}</span>
</li> </a>
</li>
<li {if $_system_menu eq 'community' }class="active" {/if}>
<a href="{$_url}community">
<i class="ion ion-chatboxes"></i>
<span class="text">{Lang::T('Community')}</span>
</a>
</li>
{/if}
{$_MENU_AFTER_COMMUNITY} {$_MENU_AFTER_COMMUNITY}
</ul> </ul>
</section> </section>