Discussion on Scutum - Professional Material Design UIkit Admin Template

Discussion on Scutum - Professional Material Design UIkit Admin Template

By
Cart 683 sales
Well Documented

tzd supports this item

Supported

This author's response time can be up to 2 business days.

131 comments found.

Does SSR (SEO friendly) work in this template by simply changing the mode mode: ‘universal’

Or does it need more code changes?

HI, to enable SSR you just need to set mode property to universal. No additional changes needed.
In Scutum v2.4.0 there is no mode property (deprecated), please use ssr: true to enable universal mode. Please check https://nuxtjs.org/guides/configuration-glossary/configuration-mode and https://nuxtjs.org/guides/configuration-glossary/configuration-ssr

Tomek, hi again,

thanks for the great admin template! Just wondering, is it possible to get npm dependencies upgraded to get rid of 21 deprecated warnings (node 12.18.4)?

Thanks, Ruslan

Hi, thank you for your message. I’ll try to sort this out in next update. I’m not sure if it’s possible to get rid of all this warnings but I’ll do my best.

Hi Tomek,

just found that Scutum uses a deprecated laravel-nuxt, and the author recommends switching to Sanctum and avoid this library. Do you have a plan to get Scutum upgraded regarding this, or?

Thanks, Ruslan

~~ laravel-nuxt was created to offer some sugar when working locally with Laravel+Nuxt, solving some cookie problems in the process. Today, it isn’t necessary anymore. ~~

Hi Tomek, sounds good, thanks for the update.

Hi, sorry for the delay. Update is Queued for Review on Themeforest. Should be ready to download shortly.

Awesome, thanks for the update, Tomek!

Hi Tomek, when using dynamic fields and an entry is removed is there a way to get the field counter / index of the removed item in the removeCallback? Thanks.

Hi, I’m affraid that this is not possible at the moment.
In scutum.forms.common.dynamicFields function when removing fields, callback is called after item is removed so reference to that field is gone
.on('click', '.sc-js-section-remove', function (e) {
  ...
  $(this).closest('.sc-form-section').next('hr').remove().end().remove();
  if (typeof removeCallback !== 'undefined' && typeof removeCallback === 'function') {
    removeCallback();
  }
  ...
});
Try this way
1. Open scutum_common.js, find scutum.forms.common.dynamicFields function, and add
 
.on('click', '.sc-js-section-remove', function (e) {
    ...
        // this is the reference to dynamic field that will be removed
    var $el = $(this).closest('[data-field-index]')
    scutum.$win.dynamicFieldsLastRemoved = {
        index: $el.attr('data-field-index'),
        el: $el
    }
    ...
});
2. Open forms-dynamic_fields.html, and add data-field-index="{{ index }}" to .sc-form-section
<script id="fields-template" type="text/x-handlebars-template">
  <div class="uk-card-body sc-form-section{{#if_even index}} md-bg-grey-100{{/if_even}}" data-field-index="{{ index }}">
  </div>
</script>
3. open assets/js/views/forms/dynamic-fields.js, and replace all content with the following code
scutum.dynamicFields = {};
scutum.dynamicFields.init = function () {
    // dynamic fields
    scutum.forms.common.dynamicFields(null, true, false, null, scutum.dynamicFields.removeCallback);
};
scutum.dynamicFields.removeCallback = function () {
    console.log(scutum.$win.dynamicFieldsLastRemoved)
}
Now in scutum.$win.dynamicFieldsLastRemoved you will have the index and the DOM element of the removed item.

Thanks and this is brilliant! How we looking on the release with RTL?

Hi, update should be ready for download shortly. It’s now queued for review.

Hi, 3 days ago I send you an email. Still waiting your answer. Thanks

Sorry for the delay. Please check your email.

A very nice ui but i am facing a lot of difficulties while using it with laravel. I means it is very complex and difficult to understand project. Can we use it without nuxt and and we use it like traditional laravel+vue method? if yes then how we can.

Hi, unfortunatelly, it’s not possible. Scutum has been built using the nuxt framework and it’s using all the features that nuxt provides (ssr, vuex, page based routing etc.). Please send me message through support page https://themeforest.net/item/scutum-professional-material-design-uikit-admin-template/23542323/support I’ll help to understand this integration and how to use it.

hey there :) really nice UI components – does it include any sort of nice looking search bar?

Hi, thank you for your kind words :)
Scutum Admin is based on the UIkit framework so you can use any component from that framework.
Please check https://getuikit.com/docs/search

Hi Tomek, thanks for the update and still loving the theme, so keep up the great work! Any plans / timeline on adding RTL support for Scutum?

Great, thanks!

Hi Tomek, any update on RTL? Thanks!

Hi, I need few more days to finish this update. I think it will be reready next week. Sorry for the delay.

Hi, is it possible to have a card toggled closed by default?

Thanks Tomek, looking forward to seeing what you conjure up in the next update!

Hi Tomek, when is update anticipated? Thanks!

Hi, I’m really sorry for the delay. I’ve just uploaded new version to themeforest, should be ready for download shortly.

Hi, I want to know Why you use nuxt inside of Laravel and not outside.

Hi, please check the motivation behind this integration here https://dev.to/skyrpex/create-a-spa-with-laravel-and-nuxt--54k
If you like you can use separate instances of nuxt and laravel.
This integration is only in laravel-nuxt/ folder, you can use src/ folder if you want separate instance.

Looking forward to the next release. Is it possible to add support to close the top drop down menus (mail, bell, account, etc.) on click? Thanks!

Hi, there is already class ‘sc-uk-dropdown-close’ that you can use to close dropdown on menu item click
<ul class="uk-nav uk-nav-navbar">
    <li><a href="pages-user_profile.html" class="sc-uk-dropdown-close">Profile</a></li>
    <li><a href="pages-settings.html" class="sc-uk-dropdown-close">Settings</a></li>
    <li><a href="login_page.html" class="sc-uk-dropdown-close">Log Out</a></li>
</ul>
Update should be ready before end of this week.

I have generated the using generate command and placed the scutum-spa folder inside wamp www folder but its not loading. because the files included in index.html not being loaded.

Hi, please check your email.

Is there a component like SideBar for creating a new fixed “sheet” on the right side. I’m trying to get content on the right side of the screen that doesn’t scroll with the main page content, similar to Facebook/Twitter/Nextdoor’s main pages. These would be hidden on smaller screens.

The theme and layout are fantastic otherwise. Thanks.

Thank you. This works great for getting the page-aside to the right, but it still scrolls. I’d like the aside content to be fixed on the page. I’m coming from a Bootstrap background and am just now learning uikit and your sc-* classes so I’m still dealing with a rather steep learning curve. Here is how I have the page setup:
<template>
    <div id="sc-page-wrapper" class="uk-flex uk-flex-column">
        <div id="sc-page-wrapper-inner" class="uk-flex">
            <div id="sc-page-content" class="sc-padding-remove uk-height-1-1">
                <Newsfeed></Newsfeed>
            </div>
            <div id="sc-page-aside" class="uk-visible@s">
                <div class="sc-page-aside-body">
                    <RightSidebar></RightSidebar>
                </div>
            </div>
        </div>
    </div>
</template>

Can you tell me what I’m missing to keep the output of RightSidebar fixed, but the Newsfeed able to scroll?

Thanks again.

Hi, enable fixed page and try again
mounted () {
    // set fixed page
    this.$store.commit('setPageFixed', true);
},
beforeDestroy () {
    // unset fixed page
    this.$store.commit('setPageFixed', false);
},
Thanks. That works once I added:
<div id="sc-page-top-bar" class="sc-top-bar" hidden="" />
between the sc-page-wrapper and sc-page-wrapper-inner divs.

Sadly I won’t be using this method as it breaks good UX practices by using it’s own scroll bar down the center of the page and not the browsers scroll-bar on the right. The bootstrap style “affix” is what I was after. As a future enhancement I’d love to see something like that.

Thanks for the help.

Hi, what would be the best approach in Scutum to change the raty star icons to something else (I want to use bullets)?

Hi, Sorry for the late reply. To change the raty icons please open assets/css/plugins/raty(.min).css and add at the bottom
.star-off-png:before {
    content: "\f765";
}
.star-on-png:before {
    content: "\f764";
}

hello, are you plannig to do make more plugins for this theme?

Hi, yes, I’m still supporting this template.
If you have any suggestions/requests please let me know.

vue.js 1. x-editable 2. ecommerce pages

Thank you for the suggestions, I’ll add them to todo list.

I’m using Ajax to load my pages; what would be the best way to close the side-menu on small devices?

To hide side menu you can use this method
UIkit.offcanvas(scutum.$sidebarMain).hide()

Works great, thanks!

I’m using cards within an expanded header page and all works well (with aforementioned scrolling adjustments), however if one of the card allows full screen (sc-js-card-fullscreen) it only expands to the main content. Is there a way for it to expand to the whole screen as per non-expanded header page?

Hi, I’ve just tested exanded header and the card full screen function and it works ok. Here is the code that I’m using:
<html class="sc-page-fixed sc-header-expanded">
<head>
    ...
</head>
<body>
    ...
    <div id="sc-page-wrapper" class="uk-height-1-1">
        <div id="sc-page-content" class="uk-height-1-1 uk-overflow-auto">
            <div class="uk-child-width-1-3@l uk-child-width-1-2@s uk-grid" data-uk-grid>
                <div>
                    <div class="uk-card">
                        <div class="uk-card-header">
                            <div class="uk-flex uk-flex-middle">
                                <div class="uk-flex-1">
                                    <h3 class="uk-card-title uk-margin-remove-bottom">Title</h3>
                                    <p class="uk-text-meta"><time datetime="2019-01-01">Jan 01, 2019</time></p>
                                </div>
                                <div class="sc-actions">
                                    <a href="#" class="sc-actions-icon mdi mdi-fullscreen sc-js-card-fullscreen"></a>
                                </div>
                            </div>
                        </div>
                        <div class="sc-card-content">
                            <hr class="uk-margin-remove">
                            <div class="sc-padding-medium">
                                Lorem ipsum dolor...
                            </div>
                            <div class="sc-card-content-more">
                                <hr>
                                <div class="sc-padding-medium">
                                    <strong>Content visible when card is in fullscreen mode.</strong><br>
                                    Lorem ipsum dolor sit amet...
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div>
                    ...
                </div>
                <div>
                    ...
                </div>
            </div>
        </div>
    </div>
</body>
</html>

What I meant was take pages-blank_header_expanded.html and put the card in the main uk-card-body and then it doesn’t fill the page.

Hi, Sorry for the late reply. I have just tested this layout and it works well, please check
<div id="sc-page-wrapper">
    <div id="sc-page-content" class="uk-height-1-1 uk-flex uk-flex-center sc-page-over-header">
        <div class="uk-width-5-6@m">
            <div class="uk-card uk-height-1-1 uk-flex uk-flex-column">
                <div class="uk-card-header">
                    <h3 class="uk-card-title">Expanded header</h3>
                </div>
                <hr class="uk-margin-remove">
                <div class="uk-card-body sc-padding-remove uk-flex-1" data-sc-scrollbar>
                    <div class="sc-padding">
                        <div class="uk-card uk-margin">
                            <div class="uk-card-header">
                                <div class="uk-flex uk-flex-middle">
                                    <div class="uk-flex-1">
                                        <h3 class="uk-card-title uk-margin-remove-bottom">Title</h3>
                                        <p class="uk-text-meta"><time datetime="2019-01-01">Jan 01, 2019</time></p>
                                    </div>
                                    <div class="sc-actions">
                                        <a href="#" class="sc-actions-icon mdi mdi-fullscreen sc-js-card-fullscreen"></a>
                                    </div>
                                </div>
                            </div>
                            <div class="sc-card-content">
                                <hr class="uk-margin-remove">
                                <div class="sc-padding-medium">
                                    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad aliquid amet animi atque aut consectetur dolor doloremque eaque eius error esse exercitationem expedita fugiat id ipsa, itaque iusto laudantium maiores modi molestiae nam nesciunt nobis non nostrum numquam obcaecati perferendis provident qui suscipit tempora tempore ut voluptates voluptatum! Ad aut excepturi, fugit harum ipsum quia reiciendis reprehenderit? Aliquam animi consectetur debitis, delectus deleniti doloribus eos eum explicabo facilis hic laudantium maxime molestias, nemo quia quisquam rerum, sapiente sunt. Accusantium, at autem consequatur dolor earum inventore ipsa ipsum, labore nam neque numquam quam quod totam ullam veritatis. Fugit modi molestias quae.
                                </div>
                                <div class="sc-card-content-more">
                                    <hr>
                                    <div class="sc-padding-medium">
                                        <strong>Content visible when card is in fullscreen mode.</strong><br>
                                        Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet aperiam at debitis inventore itaque labore nostrum? Aspernatur, consequuntur, rerum. Esse explicabo fugit illo in ipsam iusto laborum, magnam minima non odio, perspiciatis placeat possimus praesentium quidem saepe similique vel voluptatum! Aliquam aspernatur corporis deserunt doloremque est eum fugit illum ipsa maxime minus molestias numquam, obcaecati possimus quas reiciendis sint unde voluptatum? Adipisci corporis culpa delectus, dolore eaque esse hic, ipsam laboriosam, nobis quasi quod ratione repellat repellendus ullam voluptate? Ab amet, atque corporis cupiditate deleniti eaque eius est eum eveniet ex excepturi fugiat in laboriosam minima necessitatibus nemo nisi nulla odio perferendis placeat porro praesentium quae quas quibusdam repellat, rerum sint soluta vitae, voluptatem voluptatum! Consectetur culpa cupiditate, eius maxime neque nobis odit possimus qui reiciendis repellat, sed tempore tenetur veritatis! Aliquam at blanditiis distinctio doloremque eos incidunt iste perspiciatis provident quos rem, repellendus reprehenderit rerum suscipit tempora ullam vero, voluptates? Aliquid blanditiis delectus deleniti, dolor doloribus eum explicabo iste laboriosam nisi nostrum odio odit possimus quidem repellat voluptas? Ab aliquam animi architecto blanditiis delectus dicta dolor doloribus earum, eveniet excepturi expedita inventore maxime minus molestiae nesciunt nihil nisi nulla officia optio provident quasi quis quod rem repellendus soluta veniam.
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

How to hide card element when card is full screen? Altair had a class.

There in such class in Scutum Admin but I’ll add it in next release.

How to pass hintList, etc. to Raty through element data as the below doesn’t work?

Actually I think I might have the syntax wrong, I think it’s hints: [], sorry for bothering you.

No problem, I’m glad you figured it out.

Hi ! when do you release next version?

Hi, I’m not sure but I’ll try to release new version before end of the May.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey