Ejemplo n.º 1
0
 public function getAvatar($size = 100)
 {
     if (empty($this->entity->logo)) {
         return \Theme::asset()->img('theme/images/game/logo.jpg');
     }
     return \Image::url($this->entity->logo, $size);
 }
Ejemplo n.º 2
0
 /**
  * Get user cover image
  */
 public function getCover()
 {
     $default = \Theme::asset()->img("theme/images/profile-cover.jpg");
     if (!$this->entity->cover) {
         return $default;
     }
     return \Image::url($this->entity->cover);
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     $this->theme = Theme::type('frontend')->current(\ThemeManager::getActive('frontend'))->reBoot()->layout('layouts.default');
     $this->setTitle();
     $this->theme->share('loggedInUser', \Auth::user());
     $this->theme->share('languages', app('App\\Repositories\\LanguageRepository')->all());
     //attach before filter
     if (Config::get('maintenance-mode', 0)) {
         if (Auth::check() and Auth::user()->id == 1) {
             //don't enable it for maintain admin
         } else {
             $this->beforeFilter('maintenance');
         }
     }
     /**
      * Set global site variables
      */
     $updateSpeed = \Config::get('realtime-check-interval', 30000);
     $updateSpeed = !$updateSpeed ? 30000 : $updateSpeed;
     $this->theme->share('site_name', \Config::get('site_title'));
     $this->theme->share('site_description', \Config::get('site_description'));
     $this->theme->share('site_keywords', \Config::get('site_keywords'));
     $this->theme->share('ogType', 'website');
     $this->theme->share('ogSiteName', \Config::get('site_title'));
     $this->theme->share('ogUrl', \URL::to('/'));
     $this->theme->share('ogTitle', \Config::get('site_title'));
     $this->theme->share('ogImage', $this->theme->asset()->img('theme/images/logo.png'));
     $ajaxify = \Config::get('ajaxify_frontend') ? 'true' : 'false';
     $emoticons = \Theme::option()->get('emoticons');
     $emoticonLists = '';
     if ($emoticons) {
         foreach ($emoticons as $code => $details) {
             $emoticonLists .= "'<img width=\\'16\\' height=\\'16\\' src=\\'" . $details['image'] . "\\' title=\\'" . $details['title'] . "\\'/>',\n";
         }
     }
     $this->theme->asset()->beforeScriptContent("\n            var baseUrl = '" . \URL::to('/') . "/';\n            var siteName = '" . \Config::get('site_title') . "';\n            var doAjaxify = " . $ajaxify . ";\n            var maxPostImage = " . \Config::get('max-images-per-post', '') . ";\n            var updateSpeed = " . $updateSpeed . ";\n            var isLogin = '******'true' : 'false') . "';\n            var imgIndicator = '" . \Theme::asset()->img('theme/images/loading.gif') . "';\n\n            //time_ago translation\n            var trans_ago = '" . trans('global.ago') . "';\n            var trans_from_now = '" . trans('global.from-now') . "';\n            var trans_any_moment = '" . trans('global.any-moment') . "';\n            var trans_less_than_minute = '" . trans('global.less-than-minute') . "';\n            var trans_about_minute = '" . trans('global.about-minute') . "';\n            var trans_minutes = '" . trans('global.minutes') . "';\n            var trans_about_hour = '" . trans('global.about-hour') . "';\n            var trans_hours = '" . trans('global.hours') . "';\n            var trans_about = '" . trans('global.about') . "';\n            var trans_a_day = '" . trans('global.a-day') . "';\n            var trans_days = '" . trans('global.days') . "';\n            var trans_about_month = '" . trans('global.about-month') . "';\n            var trans_months = '" . trans('global.months') . "';\n            var trans_about_year = '" . trans('global.about-year') . "';\n            var trans_years = '" . trans('global.years') . "';\n            var emoticons = [" . $emoticonLists . "];\n        ");
     /**
      * Usefull repository in views
      */
     $this->theme->share('connectionRepository', app('App\\Repositories\\ConnectionRepository'));
     $this->theme->share('searchRepository', app('App\\Repositories\\SearchRepository'));
     $this->theme->share('notificationRepository', app('App\\Repositories\\NotificationRepository'));
     $this->theme->share('likeRepository', app('App\\Repositories\\LikeRepository'));
 }
Ejemplo n.º 4
0
<?php

Theme::asset()->add('jquery', 'library/jquery/jquery.min.js');
Theme::asset()->usePath()->add('framework', 'js/app.js', ['jquery']);
?>
{!! Form::open() !!}
<input type="hidden" name="file_id" value="{{$file->id }}"/>

<div class="modal-header">
    <button type="button" class="close" data-dismiss="popup">&times;</button>
    <h4 class="modal-title">Attachment:: {{$file->file_name }}</h4>
</div>
<div class="modal-body">
    <p></p>

    <div class="form-group">
        <label>Title</label>
        <input
                type="text"
                name="title"
                class="form-control"
                value="{{$file->title }}"
                />
    </div>
    <div class="form-group">
        <label>Description</label>
        <textarea name="description" class="form-control">{{$file->description }}</textarea>
    </div>

</div>
<div class="modal-footer">
Ejemplo n.º 5
0
<?php

return array('design-themes' => ['default' => ['background-image' => Theme::asset()->img('theme/images/background.jpg'), 'background-color' => '#E8E7E7', 'background-position' => '', 'background-attachment' => 'fixed', 'background-repeat' => 'no-repeat', 'link-color' => '#6C7A89', 'page-content-bg-color' => 'rgba(255, 255, 255, 0.3)', 'preview-image' => Theme::asset()->img('theme/images/design/previews/default.png')], 'ocean-blue' => ['background-image' => Theme::asset()->img('theme/images/design/bg/ocean-blue.jpg'), 'background-color' => '#d4c397', 'background-position' => '', 'background-attachment' => 'scroll', 'background-repeat' => 'repeat-x', 'link-color' => '#2b072b', 'page-content-bg-color' => 'rgba(255, 255, 255, 0.3)', 'preview-image' => Theme::asset()->img('theme/images/design/previews/ocean-blue.jpg')], 'shine-green' => ['background-image' => Theme::asset()->img('theme/images/design/bg/shine-green.jpg'), 'background-color' => '#86B63D', 'background-position' => '', 'background-attachment' => 'fixed', 'background-repeat' => 'repeat', 'link-color' => '#467d19', 'page-content-bg-color' => 'rgba(255, 255, 255, 0.3)', 'preview-image' => Theme::asset()->img('theme/images/design/previews/shine-green.jpg')], 'circle-black' => ['background-image' => Theme::asset()->img('theme/images/design/bg/circle-black.jpg'), 'background-color' => '#0A0A0A', 'background-position' => '', 'background-attachment' => 'fixed', 'background-repeat' => 'repeat', 'link-color' => '#ad0c1a', 'page-content-bg-color' => 'rgba(10,9,10, 0.2)', 'preview-image' => Theme::asset()->img('theme/images/design/previews/circle-black.jpg')], 'blacktopo' => ['background-image' => Theme::asset()->img('theme/images/design/bg/blacktopo.jpg'), 'background-color' => '#0A0A0A', 'background-position' => '', 'background-attachment' => 'fixed', 'background-repeat' => 'repeat', 'link-color' => '#ad0c1a', 'page-content-bg-color' => 'rgba(10,9,10, 0.2)', 'preview-image' => Theme::asset()->img('theme/images/design/previews/blacktopo.jpg')], 'darkblue-star' => ['background-image' => Theme::asset()->img('theme/images/design/bg/darkblue-star.jpg'), 'background-color' => '#0A0A0A', 'background-position' => '', 'background-attachment' => 'fixed', 'background-repeat' => 'repeat', 'link-color' => '#ad0c1a', 'page-content-bg-color' => 'rgba(255,255,255, 0.2)', 'preview-image' => Theme::asset()->img('theme/images/design/previews/darkblue-star.jpg')], 'purple-bird' => ['background-image' => Theme::asset()->img('theme/images/design/bg/purple-bird.jpg'), 'background-color' => '#9e7d65', 'background-position' => '', 'background-attachment' => 'fixed', 'background-repeat' => 'repeat', 'link-color' => '#7a4116', 'page-content-bg-color' => 'rgba(255,255,255, 0.2)', 'preview-image' => Theme::asset()->img('theme/images/design/previews/purple-bird.jpg')], 'purple-star' => ['background-image' => Theme::asset()->img('theme/images/design/bg/purple-star.jpg'), 'background-color' => '#e391e3', 'background-position' => '', 'background-attachment' => 'fixed', 'background-repeat' => 'repeat', 'link-color' => '#870f7f', 'page-content-bg-color' => 'rgba(255,255,255, 0.2)', 'preview-image' => Theme::asset()->img('theme/images/design/previews/purple-star.jpg')], 'red-flower' => ['background-image' => Theme::asset()->img('theme/images/design/bg/red-flower.jpg'), 'background-color' => '#eb4971', 'background-position' => '', 'background-attachment' => 'fixed', 'background-repeat' => 'repeat', 'link-color' => '#c70c57', 'page-content-bg-color' => 'rgba(255,255,255, 0.2)', 'preview-image' => Theme::asset()->img('theme/images/design/previews/red-flower.jpg')], 'river-purple' => ['background-image' => Theme::asset()->img('theme/images/design/bg/river-purple.jpg'), 'background-color' => '#66431e', 'background-position' => '', 'background-attachment' => 'fixed', 'background-repeat' => 'repeat', 'link-color' => '#522a06', 'page-content-bg-color' => 'rgba(255,255,255, 0.2)', 'preview-image' => Theme::asset()->img('theme/images/design/previews/river-purple.jpg')]], 'emoticons' => [':)' => ['title' => 'Smile', 'image' => Theme::asset()->img('theme/images/emoticons/big_smile.png')], ':<)' => ['title' => 'Bad Smile', 'image' => Theme::asset()->img('theme/images/emoticons/bad_smile.png')], '-:' => ['title' => 'Amazing', 'image' => Theme::asset()->img('theme/images/emoticons/amazing.png')], ':@' => ['title' => 'Anger', 'image' => Theme::asset()->img('theme/images/emoticons/anger.png')], ':b' => ['title' => 'Bad Egg', 'image' => Theme::asset()->img('theme/images/emoticons/bad_egg.png')], ')b' => ['title' => 'Beaten', 'image' => Theme::asset()->img('theme/images/emoticons/beaten.png')], '(b' => ['title' => 'Black Heart', 'image' => Theme::asset()->img('theme/images/emoticons/black_heart.png')], ':c' => ['title' => 'Cry', 'image' => Theme::asset()->img('theme/images/emoticons/cry.png')], ':-)' => ['title' => 'Happy', 'image' => Theme::asset()->img('theme/images/emoticons/happy.png')], ';-e' => ['title' => 'Electric Shock', 'image' => Theme::asset()->img('theme/images/emoticons/electric_shock.png')], ';-g' => ['title' => 'Girl', 'image' => Theme::asset()->img('theme/images/emoticons/girl.png')], ';-ce' => ['title' => 'Exciting', 'image' => Theme::asset()->img('theme/images/emoticons/exciting.png')], ';-ye' => ['title' => 'Eyes droped', 'image' => Theme::asset()->img('theme/images/emoticons/eyes_droped.png')], ';-(g' => ['title' => 'Greedy', 'image' => Theme::asset()->img('theme/images/emoticons/greedy.png')], ';-ha' => ['title' => 'Haha', 'image' => Theme::asset()->img('theme/images/emoticons/haha.png')], ';-ho' => ['title' => 'Horror', 'image' => Theme::asset()->img('theme/images/emoticons/horror.png')], ';-)m' => ['title' => 'Money', 'image' => Theme::asset()->img('theme/images/emoticons/money.png')], ';-)-n' => ['title' => 'Nothing', 'image' => Theme::asset()->img('theme/images/emoticons/nothing.png')], ';-)-sn' => ['title' => 'Nothing to say', 'image' => Theme::asset()->img('theme/images/emoticons/nothing_to_say.png')], ';-rh' => ['title' => 'Red heart', 'image' => Theme::asset()->img('theme/images/emoticons/red_heart.png')], ';-sc' => ['title' => 'Scorn', 'image' => Theme::asset()->img('theme/images/emoticons/scorn.png')], ';-sh' => ['title' => 'Shame', 'image' => Theme::asset()->img('theme/images/emoticons/shame.png')], ';-s-h' => ['title' => 'Shocked', 'image' => Theme::asset()->img('theme/images/emoticons/shocked.png')], ';-sp' => ['title' => 'Super Man', 'image' => Theme::asset()->img('theme/images/emoticons/super_man.png')], ';-im' => ['title' => 'Iron Man', 'image' => Theme::asset()->img('theme/images/emoticons/the_iron_man.png')], ':P' => ['title' => 'Tongue', 'image' => Theme::asset()->img('theme/images/emoticons/grimace.png')], ':(' => ['title' => 'Unhappy', 'image' => Theme::asset()->img('theme/images/emoticons/unhappy.png')], ':-v' => ['title' => 'Victory', 'image' => Theme::asset()->img('theme/images/emoticons/victory.png')]]);
Ejemplo n.º 6
0
    <table id="tblBank" class="BankBinTable table compact">
        <thead>
        <tr>
            <th class="th_left" style="background-color: #788C9E;">Bank Name</th>
            <th class="" style="background-color: #788C9E;">Bank Is Product</th>
            <th class="" style="background-color: #788C9E;">Bank Logo</th>
            <th class="" style="background-color: #788C9E;">Action</th>
        </tr>
        </thead>
    </table>
</div>

<div class="tab-pane " id="tabbankbran" data-id="4">
    <div class="btn-add-maintain">
        <img id="btnAddBankBranch" class="icons" src="<?php 
echo Theme::asset()->url('img/add_button.png');
?>
" />
    </div>
    <table id="tblbankbran" class="bankbranBinTable table compact">
        <thead>
        <tr>
            <th class="th_left" style="background-color: #788C9E;">Branch Name</th>
            <th class="" style="background-color: #788C9E;">Address</th>
            <th class="" style="background-color: #788C9E;">Contact No.</th>
            <th class="" style="background-color: #788C9E;">Bank Name</th>
            <th class="" style="background-color: #788C9E;">Bank Logo</th>
            <th class="" style="background-color: #788C9E;">Action</th>
        </tr>
        </thead>
    </table>
Ejemplo n.º 7
0
<?php

Theme::asset()->add('autotranslator-css', 'autotranslator::css/autotranslator.css');
Theme::asset()->add('autotranslator-js', 'autotranslator::js/autotranslator.js');
Ejemplo n.º 8
0
                    <img  src="<?php 
echo Theme::asset()->url('img/divider.png');
?>
" />
                </li>
                <li class="custom-inline">
                    <div class="welcomeNote">
                        <div class="collapse navbar-collapse" style="font-family: {{ URL::to('themes/admin/assets/fonts/Roboto-Thin.ttf') }};
                                font-size: 28pt;font-weight: lighter;">
                            Welcome <?php 
echo Auth::user()->user_fname;
?>
                        </div>
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                            <img class="dropDown" src="<?php 
echo Theme::asset()->url('img/drppdown.png');
?>
" />
                        </a>
                        <ul class="dropdown-menu" role="menu">
<!--                            <li>-->
<!--                                <a href="#">Administration</a>-->
<!--                            </li>-->
<!--                            <li>-->
<!--                                <a href="#">Manage Users</a>-->
<!--                            </li>-->
<!--                            <li>-->
<!--                                <a href="#">User Rights</a>-->
<!--                            </li>-->
<!--                            <li>-->
<!--                                <a href="#">Member History Log</a>-->
Ejemplo n.º 9
0
Theme::asset()->add('colorpicker-css', 'theme/css/colorpicker.css');
Theme::asset()->add('pace-theme-css', 'theme/css/pace-theme.css');
//Theme::asset()->add('easydropdown.metro-css', 'theme/css/easydropdown.metro.css');
Theme::asset()->add('croppic-css', 'theme/css/croppic.css');
Theme::asset()->add('nailthumb-css', 'theme/css/jquery.nailthumb.css');
Theme::asset()->add('jquery.mmenu.all-css', 'theme/css/jquery.mmenu.all.css');
Theme::asset()->add('te-css', 'theme/css/jquery-te.css');
Theme::asset()->add('style-css', 'theme/css/style.css');
Theme::asset()->add('custom-css', 'theme/css/custom.css');
/**Javascript**/
Theme::asset()->add('jquery', 'theme/js/jquery.js');
Theme::asset()->add('jquery-form', 'theme/js/jquery.form.js');
Theme::asset()->add('bootstrap-js', 'theme/js/bootstrap.min.js');
Theme::asset()->add('colorbox-js', 'theme/js/jquery.colorbox-min.js');
Theme::asset()->add('pace-js', 'theme/js/pace.min.js');
Theme::asset()->add('colorpicker-js', 'theme/js/colorpicker.js');
Theme::asset()->add('jquery.textarea.autoresize-js', 'theme/js/jquery.textarea.autoresize.js');
Theme::asset()->add('boostrap-box', 'theme/js/bootbox.js');
Theme::asset()->add('qtip-js', 'theme/js/jquery.qtip.min.js');
Theme::asset()->add('timeago', 'theme/js/jquery.timeago.js');
Theme::asset()->add('bootstrap-confirmation', 'theme/js/bootstrap-confirmation.js');
//Theme::asset()->add('offcanvasmenu', 'theme/js/jquery.offcanvasmenu.js');
Theme::asset()->add('croppic', 'theme/js/croppic.min.js');
Theme::asset()->add('swfobject', 'theme/js/swfobject.js');
Theme::asset()->add('nailthumb-js', 'theme/js/jquery.nailthumb.min.js');
Theme::asset()->add('jquery.mmenu.min.all-js', 'theme/js/jquery.mmenu.min.all.js');
Theme::asset()->add('jquery-te', 'theme/js/jquery-te.min.js');
Theme::asset()->add('sticky-sidebar', 'theme/js/jquery.sticky-kit.min.js');
Theme::asset()->add('script', 'theme/js/script.js');
Theme::asset()->add('paglets', 'theme/js/pagelet.js');
Ejemplo n.º 10
0
        </thead>
    </table>
</div>
</div>
@stop


@section('modal')
<div class="modal fade" id="viewItem" tabindex="-1" data-backdrop="static" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-sizeBig" >
        <div class="modal-content no-aura confirmation modal-content-Big">
            <div class="modal-header" id="modal-headerpay" style="height: 55px;">
                <span class="msg label-color" id="p-select">Amenity</span>
                <input class="btn-close-addmanual" type="image" style="right: -14px"
                       src="<?php 
echo Theme::asset()->url('img/cancel-modal.png');
?>
" data-dismiss="modal" data-reload="no" aria-hidden="true">
            </div>
            <div class="row bill_view" id='bill_view'>
                <div class="col-xs-12 col-sm-7 col-md-7" style="padding-left: 0; padding-right: 0; overflow: hidden; border: 1px solid #dedede">
                    <div class="transZindex" style="position: absolute;  height: 100%; width: 100%; z-index: 9999; display: none"></div>
                    <div id="adminImgPlace" class="viewer">


                        <div id="itemCarousel" class="container">
                            <br>
                            <div id="myCarousel" class="carousel slide" data-ride="carousel">
                                <!-- Indicators -->
                                <ol class="carousel-indicators">
Ejemplo n.º 11
0
                            target="_blank">
                            <i class="attach icon"></i>
                        </a>
                    </div>
                </div>
                <div class="uploader-loading"></div>
            </div>
        </li>
    </script>

    <?php 
Theme::asset()->add('fileuploadcss', 'assets/vendor/fileupload/fileupload.css');
Theme::asset()->container('footer')->add('autoellipsis', 'assets/vendor/jquery.autoellipsis.js', ['jquery']);
Theme::asset()->container('footer')->add('mustache', 'assets/vendor/mustache/mustache.min.js', ['jquery']);
Theme::asset()->container('footer')->add('dropzone', 'assets/vendor/dropzone.js', ['jquery']);
Theme::asset()->container('footer')->add('sortable', 'assets/js/components/sortable.js', ['jquery']);
Theme::asset()->container('footer')->add('fileupload', 'assets/vendor/fileupload/fileupload.js', ['dropzone', 'mustache', 'sortable', 'application']);
$__env->startSection('scripts');
?>
    <script> $('#<?php 
echo $uniqueId;
?>
').data('populatedData', <?php 
echo $fileList;
?>
); </script>
    <?php 
$__env->appendSection();
?>
</div>
Ejemplo n.º 12
0
 /**
  * Get Default avatar for us
  */
 protected function defaultAvatar($size = 100)
 {
     $firstLetter = strtolower(substr($this->entity->fullname, 0, 1));
     if (in_array($firstLetter, ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'])) {
         return \URL::to(\Theme::asset()->img('theme/images/avatar/' . $firstLetter . '/' . $size . '.png'));
     } else {
         return \URL::to(\Theme::asset()->img('theme/images/avatar/default/' . $size . '.png'));
     }
 }
Ejemplo n.º 13
0
<?php

//Theme::asset()->add('uikt', 'css/pace.css');
//Asset::add('pacejs', 'js/pace.min.js');
//Theme::asset()->container('footer')->add('form-serialize', 'library/sui/serialize-object.js', ['jquery']);
//Theme::asset()->container('footer')->add('uikit', 'assets/vendor/uikit/js/uikit.min.js', ['jquery']);
Theme::asset()->container('footer')->add('uikit-dropdown', 'assets/vendor/uikit/js/core/dropdown.js', ['core']);
Route::get('/', ['as' => 'home', 'uses' => 'HomeController@index']);
Route::get('home', 'HomeController@index');
Route::controller('auth', 'LoginController', ['getLogin' => 'login', 'getSignup' => 'signup', 'getLogout' => 'logout']);
//Site pages
Route::group(['middleware' => 'auth'], function () {
    Route::post('/refresh', 'HomeController@onRefresh');
    Route::match(['put', 'post'], 'file/upload', ['as' => 'file.upload', 'uses' => 'AssetController@store']);
    Route::post('file/meta', ['as' => 'file.config', 'uses' => 'AssetController@edit']);
    Route::post('file/sort', ['as' => 'files.sort', 'uses' => 'AssetController@sort']);
    Route::delete('file/{file}/remove', ['as' => 'file.delete', 'uses' => 'AssetController@destroy']);
    Route::get('user/edit', ['as' => 'user.edit', 'uses' => 'UserController@edit']);
    Route::get('messages/{user?}', ['as' => 'messages', 'uses' => 'MessageController@index']);
    Route::post('messages/{user}', ['as' => 'message.send', 'uses' => 'MessageController@onSend']);
    Route::get('user/privacy', ['as' => 'user.privacy', 'uses' => 'UserController@privacy']);
    Route::post('user/update', 'UserController@update');
    Route::get('user/{user}/profile', ['as' => 'user-profile', 'uses' => 'UserController@profile']);
    Route::get('user/{user?}', ['as' => 'user', 'uses' => 'UserController@profile']);
});
Route::get('clients', ['as' => 'clients', 'uses' => 'ClientsController@index']);
Route::group(['prefix' => '{client}', 'where' => ['client' => '^[a-z0-9\\-]+$']], function () {
    require __DIR__ . "/client.php";
});
Ejemplo n.º 14
0
 function statics($path, $version, $secure)
 {
     return Theme::asset($path, $secure = null, $version = false);
 }
<?php

$asset = app('orchestra.asset')->container('orchestra/foundation::footer');
$asset->script('bootstrap', 'packages/orchestra/foundation/vendor/bootstrap/js/bootstrap.min.js');
$asset->script('jquery-ui', 'packages/orchestra/foundation/vendor/jquery.ui/jquery.ui.js');
$asset->script('orchestra', 'packages/orchestra/foundation/js/orchestra.min.js', ['bootstrap', 'jquery-ui']);
$asset->script('jui-toggleSwitch', 'packages/orchestra/foundation/vendor/delta/js/jquery-ui.toggleSwitch.js', ['jquery-ui']);
$asset->script('select2', 'packages/orchestra/foundation/components/select2/select2.min.js');
$asset->script('app', Theme::asset('components/adminlte/js/app.min.js'), ['bootstrap']);
?>

{!! $asset->show() !!}

@placeholder("orchestra.layout: footer")

<script>
jQuery(function onPageReady($) { 'use strict';
    var dispatcher = Javie.make('event');
    dispatcher.fire("orchestra.ready: {!! app('request')->path() !!}");
});
</script>

@stack('orchestra.footer')
Ejemplo n.º 16
0
 public function getLogo()
 {
     if (empty($this->entity->logo)) {
         return \Theme::asset()->img('theme/images/community/cover.jpg');
     }
     return \Image::url($this->entity->logo);
 }
Ejemplo n.º 17
0
            <label for="Post-tags">Tags</label>

            <div class="ui left icon input">
                {!!
                Form::text('tags', old('tags'), ['id' => 'Post-tags','class' => 'form-control taginput'])
                !!}
                <i class="tags icon"></i>
            </div>
        </div>
        <div class="field">
            <label>Featured Images</label>
            @include('partials.fileupload.image_multi', $uploadConfig)
        </div>
    </div>

    <div class="ui center aligned segment form-actions">
        <button type="submit" class="ui primary submit icon labeled button"><i class="save icon"></i> Save</button>
        <button type="reset" class="ui reset icon labeled button"><i class="undo icon"></i> Reset</button>
    </div>
</div>

<?php 
Theme::asset()->container()->add('redactor', 'assets/vendor/redactor/redactor.css');
Theme::asset()->container('footer')->add('redactor', 'assets/vendor/redactor/redactor.min.js', ['jquery']);
Theme::asset()->container('footer')->add('table-plugin', 'assets/vendor/redactor/plugins/table.js', ['redactor']);
Theme::asset()->container('footer')->add('fontsize-plugin', 'assets/vendor/redactor/plugins/fontsize.js', ['redactor']);
Theme::asset()->container('footer')->add('pagebreak-plugin', 'assets/vendor/redactor/plugins/pagebreak.js', ['redactor']);
Theme::asset()->container('footer')->add('fullscreen-plugin', 'assets/vendor/redactor/plugins/fullscreen.js', ['redactor']);
Theme::asset()->container('footer')->add('imagemanager-plugin', 'assets/vendor/redactor/plugins/imagemanager.js', ['redactor']);
Theme::asset()->container('footer')->add('article-form-init', 'assets/js/admin/article-form.js', ['redactor']);
Ejemplo n.º 18
0
            <div class="row">
                <div class="col-md-12" >
                    <div class="fileinput fileinput-new" data-pro  ides="fileinput">
                        <input type="hidden" id="imagesbilleredit" value="0" name="imagesbilleredit">
                        <div class="fileinput-preview thumbnail filepreview" data-trigger="fileinput" id="imgContainers">
                            <img src="#" id="preview_images">
                        </div>
                        <div>

                            <div class="warning"></div>

									<span class="btn btn-default1 btn-file">
										<input type="file" name="biller_logo" id="edit_biller_logo" size="60" accept=".png, .jpg, .jpeg">
                                         <img class="btnChange"
                                              src="<?php 
echo Theme::asset()->url('img/changeprofpic.png');
?>
"/>
                                            <span class="textProfChange">Select biller logo</span>
                                        <input type="hidden" value="0" name="biller_logo_value" id="biller_logo_value" >
                                        <input type="hidden" value="0" name="biller_logo_value" id="edit_biller_logo_value" >
									</span>
                            <span class="errorimage"></span>




                        </div>
                    </div>
                </div>
            </div>
Ejemplo n.º 19
0
<!-- CSS FOR LOGIN -->
{{ Theme::asset()->usePath()->add('css-adminLogin', 'css/user/adminLogin.css') }}
<!-- JS FOR LOGIN -->

<style>
    .adminLayout {
        background-image: url("<?php 
echo Theme::asset()->url('img/background-admin-login.png');
?>
");
    }
    .errorMessage4{
        color: red;
        position: relative;
        right: -94px;
        top: 10px;
        font-size: 12px;
        font-weight: normal;
    }
    .errorMessage5{
        color: red;
        position: relative;
        right: -94px;
        top: 10px;
        font-size: 12px;
        font-weight: normal;
        margin-left: 1px;
    }
    .error{ font-size:12px !important; font-weight: normal !important; }
</style>
Ejemplo n.º 20
0
<?php

Theme::asset()->add('custompage-css', 'custompage::css/custompage.css');
//Theme::asset()->add('custompage-js', 'custompage::js/custompage.js');
Ejemplo n.º 21
0
{{ Theme::asset()->usePath()->add('css-adminmenu', 'css/bpo/index.css') }}

<div class="tab-pane active" id="tabMembers" data-id="1">
    <!--    <div class="btn-group dropdownDiv">-->
    <!--        <button id="filterActive" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">-->
    <!--            All-->
    <!--        </button>-->
    <!--        <ul class="dropdown-menu">-->
    <!--            <li><a data-id="2" class="filter_c" href="#" data-value="All">All</a></li>-->
    <!--            <li><a data-id="1" class="filter_c" href="#" data-value="Active">Active</a></li>-->
    <!--            <li><a data-id="0" class="filter_c" href="#" data-value="Deactivate">Inactive</a></li>-->
    <!--        </ul>-->
    <!---->
    <!--    </div>-->
    <div class="btnaddmember-u" id="btnAddpackage" style="cursor: pointer; padding-top: 5px;"><img class="icons" src="<?php 
echo Theme::asset()->url('img/addbill.png');
?>
" style="float: left !important; padding-right: 10px;padding-top:4px; height: 30px;"/>
        <button class="button-ors">Add Package</button></div>
    <table id="tblPackages" class="table-admin">
        <thead>
        <tr>
            <th class="tblHeaderGlobal">ID</th>
            <th class="tblHeaderGlobal">Package Name</th>
            <th class="tblHeaderGlobal">Amenities</th>
            <th class="tblHeaderGlobal">Price</th>
            <th class="tblHeaderGlobal"></th>
            <th class="tblHeaderGlobal">Action</th>
        </tr>
        </thead>
    </table>
Ejemplo n.º 22
0
<?php

Theme::asset()->container('footer')->add('jquery', 'assets/js/jquery.min.js');
Theme::asset()->container('footer')->add('uikit', 'assets/js/uikit.js', ['jquery']);
Theme::asset()->container('footer')->add('uk-sticky', 'assets/library/uikit/js/components/sticky.js', ['jquery']);
Theme::asset()->container('footer')->add('semantic', 'assets/library/sui/semantic.min.js', ['jquery']);
Theme::asset()->container('footer')->add('application', 'assets/js/application.js', ['semantic', 'pace']);
?>
@if(Auth::check())
<?php 
Theme::asset()->add('chatbar', 'assets/css/components/chatbar.css');
?>
@else
<?php 
Theme::asset()->container('footer')->add('login', 'assets/js/login.js', ['semantic', 'application']);
?>
@endif


        <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>{{ $title or null }}</title>
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <link rel="icon" type="image/png" href="images/favicon.png">
    <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/ionicons.min.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ elixir('assets/css/app.css') }}">
Ejemplo n.º 23
0
 /**
  * To set the asset to View
  */
 function set_package_asset_to_view($asset)
 {
     $path = Config::get('assets.path');
     $package = Config::get('assets.package.' . $asset);
     if (count($package)) {
         foreach ($package as $key => $value) {
             if ($value['queue']) {
                 Theme::asset()->queue($value['type'])->add($key, $path . $value['file']);
             } else {
                 Theme::asset()->add($key, $path . $value['file']);
             }
         }
     }
 }
Ejemplo n.º 24
0
 public function manifest()
 {
     $asset_path = config('newscms.favicon.path');
     $icons = [['src' => \Theme::asset($asset_path . 'android-chrome-36x36.png'), 'sizes' => '36x36', 'type' => 'image/png', 'density' => 0.75], ['src' => \Theme::asset($asset_path . 'android-chrome-48x48.png'), 'sizes' => '48x48', 'type' => 'image/png', 'density' => 1], ['src' => \Theme::asset($asset_path . 'android-chrome-72x72.png'), 'sizes' => '72x72', 'type' => 'image/png', 'density' => 1.5], ['src' => \Theme::asset($asset_path . 'android-chrome-96x96.png'), 'sizes' => '96x96', 'type' => 'image/png', 'density' => 2], ['src' => \Theme::asset($asset_path . 'android-chrome-144x144.png'), 'sizes' => '144x144', 'type' => 'image/png', 'density' => 3], ['src' => \Theme::asset($asset_path . 'android-chrome-192x192.png'), 'sizes' => '192x192', 'type' => 'image/png', 'density' => 4]];
     return response()->json(['name' => config('newscms.company.name'), 'icons' => $icons]);
 }
Ejemplo n.º 25
0
<?php

/**
*Admincp default theme boot file
*
*@author : Tiamiyu waliu
*@website : http://www.iDocrea8.com
*/
Theme::asset()->add('bootstrap-css', 'theme/css/bootstrap.min.css');
Theme::asset()->add('jasny-bootstrap-css', 'theme/css/jasny-bootstrap.min.css');
Theme::asset()->add('ionicons-css', 'theme/css/ionicons.min.css');
Theme::asset()->add('wysiwyg-editor-css', 'theme/css/wysiwyg-editor.css');
//Theme::asset()->add('dropdown-css', 'theme/css/jquery.dropdown.css');
Theme::asset()->add('style-css', 'theme/css/style.css');
/**Javascript**/
Theme::asset()->add('jquery', 'theme/js/jquery.js');
Theme::asset()->add('bootstrap-js', 'theme/js/bootstrap.min.js');
Theme::asset()->add('jasny-bootstrap-js', 'theme/js/jasny-bootstrap.min.js');
Theme::asset()->add('wysiwyg.js', 'theme/js/wysiwyg.js');
Theme::asset()->add('wysiwyg-editor.js', 'theme/js/wysiwyg-editor.js');
Theme::asset()->add('script-js', 'theme/js/script.js');
Ejemplo n.º 26
0
{{ Theme::asset()->usePath()->add('css-homepage', 'css/homepage.css') }}
{{ Theme::asset()->usePath()->add('js-resetPassword', 'js/resetPassword.js') }}

<div class="resetPasswordContainer">
    <div class="loginForm_bg resetPasswordPage">
        <div class="pverify passverification">

            <p class="dp-icon"><img src="<?php 
echo Theme::asset()->url('img/homepage/dp.png');
?>
"; </p>
            <h2 class="welcome">Welcome <span class="capitalize"> {{ $user_salutation }} {{ $lname }} </span></h2>
            <p class="tnx-message">Please set your password to complete your registration.</p>

            <ul class="error-message">
                @foreach( $errors->all() as $message )
                <li>{{ $message }}</li>
                @endforeach
            </ul>

            {{ Form::open(array('url' => 'passverification','id'=>'form')) }}
            <span id="errorNotif"></span>
            <br>
            <div id="errPlace"></div>
            {{ Form::password('password', array('placeholder'=>'Password','id'=>'newPassword','maxlength'=>'50','minlength'=>'8' )); }}
            <br>
            {{ Form::password('password_confirmation', array('placeholder'=>'Re-enter Password','id'=>'confirmNewPassword','maxlength'=>'50','minlength'=>'8' )); }}
            <br>
            {{ Form::hidden('user_email', $user_email) }}
            {{ Form::hidden('fname', $fname) }}
            {{ Form::hidden('lname', $lname) }}
Ejemplo n.º 27
0
    }
    #search-box{
        top: 95px !important;
    }
    .table-admin thead th, .table-admin thead {
        background-color: #0a94bb !important;
        color: #ffffff !important;
    }

</style>
<h3 style="color:black; top: 30px; position: relative; padding-left: 22px;">ADMIN SETTINGS</h3>
<br/><br/>
<div class="input-group" id="search-box">
    <span class="input-group-addon" style="background-color: #ffffff !important;width:0px !important; border-right: 1px solid #ffffff !important;">
        <img src="<?php 
echo Theme::asset()->url('img/magnifying.png');
?>
" >
    </span>
    <input type="text" id="SearchMyBills" name="SearchMyBills" placeholder="Search" class="form-control" style="width: 222px; margin-left: -1px">
</div>

<style>
    #search-box {
        margin-bottom: 20px;
        position: absolute;
        top: 59px;
        left: 35px;
    }
    #colorbox {
        width: 580px !important;
Ejemplo n.º 28
0
 public function themeAsset($path = '')
 {
     return $this->cacheBustedAssetUrl(\Theme::asset($path));
 }
Ejemplo n.º 29
0
<?php

Theme::asset()->add('timeline', 'assets/css/components/timeline.css');
Theme::asset()->add('profile', 'assets/css/components/profile.css');
Theme::set('bodyClass', 'client profile');
?>

{!! Theme::partial('head') !!}
<style>
    .ui.post.feed > .event > .label + .content {
        margin: .2em 0 2em .75em;
    }

    .ui.feed .ui.pointing.dropdown > .menu:after {
        left: 25%;
    }
</style>
<div id="main-container" class="pusher">
    <div class="full height margin-bottom-30 padding-top-20">
        <div class="ui container  profile-container">
            <div class="ui top attached teal segment profile-header">
                <div class="ui grid">
                    <div class="three wide computer four wide tablet sixteen wide mobile column text-center">
                        <img src="/assets/img/avatar/d/150.png" alt="" class="rounded centered ui imageheader-avatar">
                    </div>
                    <div class="eight wide computer twelve wide tablet sixteen wide mobile column profile-info">
                        <div class="ui header ">{{ ucwords($client->name) }}</div>
                        <a href="#" class="right floated ui basic button">
                            <i class="edit icon"></i>
                            Edit
                        </a>
Ejemplo n.º 30
0
<?php

Theme::asset()->add('ctrlenter-js', 'ctrlenter::js/ctrlenter.js');