Added links
This commit is contained in:
@@ -9,6 +9,7 @@ const RouteLinks = {
|
|||||||
recentSignup: '/recent-signup',
|
recentSignup: '/recent-signup',
|
||||||
loansPage: '/loans',
|
loansPage: '/loans',
|
||||||
transactionsPage: '/transactions',
|
transactionsPage: '/transactions',
|
||||||
|
countrySettings: '/country',
|
||||||
products: '/products',
|
products: '/products',
|
||||||
usersAdmin: '/users-admin',
|
usersAdmin: '/users-admin',
|
||||||
productTemplates: '/products-template',
|
productTemplates: '/products-template',
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ export default function SiteRoutes() {
|
|||||||
<Route path={RouteLinks.products} element={<ProductsPage/>}/> {`*/PRODUCTS PAGE*/`}
|
<Route path={RouteLinks.products} element={<ProductsPage/>}/> {`*/PRODUCTS PAGE*/`}
|
||||||
<Route path={RouteLinks.usersAdmin} element={<UsersAdminPage/>}/> {`*/ADMIN USERS PAGE*/`}
|
<Route path={RouteLinks.usersAdmin} element={<UsersAdminPage/>}/> {`*/ADMIN USERS PAGE*/`}
|
||||||
|
|
||||||
|
<Route path={RouteLinks.countrySettings} element={<ProductTemplatePage/>}/> {`*/PRODUCTS TEMPLATE PAGE*/`}
|
||||||
<Route path={RouteLinks.productTemplates} element={<ProductTemplatePage/>}/> {`*/PRODUCTS TEMPLATE PAGE*/`}
|
<Route path={RouteLinks.productTemplates} element={<ProductTemplatePage/>}/> {`*/PRODUCTS TEMPLATE PAGE*/`}
|
||||||
<Route path={RouteLinks.customTemplates} element={<CustomTemplatePage/>}/> {`*/CUSTOM TEMPLATES PAGE*/`}
|
<Route path={RouteLinks.customTemplates} element={<CustomTemplatePage/>}/> {`*/CUSTOM TEMPLATES PAGE*/`}
|
||||||
|
|
||||||
|
|||||||
@@ -19,13 +19,13 @@ export default function CustomerSubscriptionsView({subscriptions}) {
|
|||||||
#
|
#
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2">
|
<th scope="col" className="px-2">
|
||||||
Added
|
Added/Updated
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2">
|
<th scope="col" className="px-2">
|
||||||
Product/Server
|
Product/Server
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2">
|
<th scope="col" className="px-2">
|
||||||
URL / Templates
|
URL / EXT/ Templates
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2">
|
<th scope="col" className="px-2">
|
||||||
Status
|
Status
|
||||||
@@ -47,6 +47,8 @@ export default function CustomerSubscriptionsView({subscriptions}) {
|
|||||||
<div className="text-left">
|
<div className="text-left">
|
||||||
<div
|
<div
|
||||||
className="text-base font-semibold">{getDateTimeFromDateString(item?.added)}</div>
|
className="text-base font-semibold">{getDateTimeFromDateString(item?.added)}</div>
|
||||||
|
<div
|
||||||
|
className="text-base font-semibold">{getDateTimeFromDateString(item?.updated)}</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-2">
|
<td className="px-2">
|
||||||
@@ -60,11 +62,22 @@ export default function CustomerSubscriptionsView({subscriptions}) {
|
|||||||
</td>
|
</td>
|
||||||
<td className="px-2">
|
<td className="px-2">
|
||||||
<div className="text-left">
|
<div className="text-left">
|
||||||
<div className="text-base font-semibold"><a
|
<div className="text-base">
|
||||||
href={`https://${item?.internal_url}`}
|
<span className="badge badge-pill badge-primary-inverse">
|
||||||
target='_blank'
|
<a href={`https://${item?.internal_url}`}
|
||||||
rel="noreferrer">{item?.internal_url}</a>
|
target='_blank'
|
||||||
<br/><span>Template :</span> {item?.product_template}
|
rel="noreferrer">{item?.internal_url}</a>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<span className="badge badge-warning">
|
||||||
|
<a href={`https://${item?.external_url}`}
|
||||||
|
target='_blank'
|
||||||
|
rel="noreferrer">{item?.external_url}</a>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<span>Template :</span> {item?.product_template}
|
||||||
<br/><span>Custom :</span> {item?.custom_template}
|
<br/><span>Custom :</span> {item?.custom_template}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -44,9 +44,9 @@ export default function HomeCom() {
|
|||||||
{/* <p className='text-3xl sm:text-[39px]'><span className='text-xl sm:text-2xl'>{dashData?.loans?.currency_text}</span><CustomCounter targetNumber={dashData?.loans?.value} timeInSeconds='1' /></p> */}
|
{/* <p className='text-3xl sm:text-[39px]'><span className='text-xl sm:text-2xl'>{dashData?.loans?.currency_text}</span><CustomCounter targetNumber={dashData?.loans?.value} timeInSeconds='1' /></p> */}
|
||||||
<p className='text-xl sm:text-[30px]'><span className='text-lg sm:text-xl'>
|
<p className='text-xl sm:text-[30px]'><span className='text-lg sm:text-xl'>
|
||||||
{/*{dashData?.loans?.currency_text}*/}
|
{/*{dashData?.loans?.currency_text}*/}
|
||||||
</span><CustomCounter targetNumber={formatNumber(dashData?.loans?.value)} timeInSeconds='1'/>
|
</span><CustomCounter targetNumber={formatNumber(dashData?.signups?.value)} timeInSeconds='1'/>
|
||||||
</p>
|
</p>
|
||||||
<p className='sm:text-[13.9px]'>{dashData?.loans?.text}</p>
|
<p className='sm:text-[13.9px]'>{dashData?.signups?.text.toString()}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@@ -139,9 +139,10 @@ export default function HomeCom() {
|
|||||||
href={`https://${item?.internal_url}`} target='_blank'
|
href={`https://${item?.internal_url}`} target='_blank'
|
||||||
rel="noreferrer">{item?.internal_url}</a></div>
|
rel="noreferrer">{item?.internal_url}</a></div>
|
||||||
<div className="font-normal text-gray-500">
|
<div className="font-normal text-gray-500">
|
||||||
<a href={`http://${item?.primary_server}:${item?.provision_port}`} target='_blank'
|
<a href={`http://${item?.primary_server}:${item?.provision_port}`}
|
||||||
rel="noreferrer">
|
target='_blank'
|
||||||
{item?.primary_server}:{item?.provision_port} </a> </div>
|
rel="noreferrer">
|
||||||
|
{item?.primary_server}:{item?.provision_port} </a></div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-2">
|
<td className="px-2">
|
||||||
|
|||||||
@@ -157,6 +157,7 @@ const asideNavLinks = [
|
|||||||
{name: 'Billings', status: 1, icon: 'dot', to: RouteLinks.billings},
|
{name: 'Billings', status: 1, icon: 'dot', to: RouteLinks.billings},
|
||||||
{
|
{
|
||||||
name: 'Configurations', status: 1, icon: 'arrow-right', subLinks: [
|
name: 'Configurations', status: 1, icon: 'arrow-right', subLinks: [
|
||||||
|
{name: 'Country', status: 1, icon: 'dot', to: RouteLinks.countrySettings},
|
||||||
{name: 'Product Settings', status: 1, icon: 'dot', to: RouteLinks.products},
|
{name: 'Product Settings', status: 1, icon: 'dot', to: RouteLinks.products},
|
||||||
{name: 'Product Templates', status: 1, icon: 'dot', to: RouteLinks.productTemplates},
|
{name: 'Product Templates', status: 1, icon: 'dot', to: RouteLinks.productTemplates},
|
||||||
{name: 'Custom Templates', status: 1, icon: 'dot', to: RouteLinks.customTemplates},
|
{name: 'Custom Templates', status: 1, icon: 'dot', to: RouteLinks.customTemplates},
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ export default function ProductTemplates() {
|
|||||||
<th scope="col" className="px-2 py-2">
|
<th scope="col" className="px-2 py-2">
|
||||||
Product ID
|
Product ID
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2">
|
<th scope="col" className="px-8">
|
||||||
Provision Name
|
Provision Name
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2 text-right">
|
<th scope="col" className="px-2 text-right">
|
||||||
@@ -99,7 +99,7 @@ export default function ProductTemplates() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-2">
|
<td className="px-8">
|
||||||
<div className="text-left">
|
<div className="text-left">
|
||||||
<div className="text-base font-semibold">{item?.provision_name}</div>
|
<div className="text-base font-semibold">{item?.provision_name}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user