Jump to content

[Free] CrewCenter - Modern and responsive pilot center


swan58

Recommended Posts

5 hours ago, shakamonkey88 said:

Change this:


<input type="checkbox" name="remember"> Remember Me

to this:


<label style="font-weight: normal;"><input type="checkbox" name="remember"> Remember Me</label>

 

Thanks. Problem is

    <script>
      $(function () {
        $('input').iCheck({
          checkboxClass: 'icheckbox_square-blue',
          radioClass: 'iradio_square-blue',
          increaseArea: '20%' // optional
        });
      });
    </script>

To    

<script>
      $(function () {      
      $('input').iCheck({
  labelHover: false,
  cursor: true
});
    </script>

Edited by gio1961
Link to comment
Share on other sites

  • Moderators
53 minutes ago, gio1961 said:

Thanks. Problem is

    <script>
      $(function () {
        $('input').iCheck({
          checkboxClass: 'icheckbox_square-blue',
          radioClass: 'iradio_square-blue',
          increaseArea: '20%' // optional
        });
      });
    </script>

To    

<script>
      $(function () {      
      $('input').iCheck({
  labelHover: false,
  cursor: true
});
    </script>

So you're not using CrewCenter. You're using iCrew - in that case, you need to ask the dev what he's done.

Link to comment
Share on other sites

  • 3 weeks later...

Hello,

I want to change the background from the login and registration page. I found in login_form.php this code:

<body class="hold-transition login-page" style="background-color: #222222;">

And change it to:

<body class="hold-transition login-page" style="background-image: url("background.jpg");">

But that wouldn't work, the backgroundcolor changes to grey (code #D2D6DF). Where in the css can I find the line to change te background to a image?

Link to comment
Share on other sites

  • Moderators

His issue is the fact that he isn’t declaring where the background image is on his server properly. 

<body style="background-image: url('http://crew.YOURDOMAIN.com/lib/images/background.jpg'); background-repeat: no-repeat; background-size: cover;">

Replace the url in the above to point to specifically where the image is stored on your server. 

Link to comment
Share on other sites

  • Moderators
1 hour ago, solosavage said:

HI fellow va owners, i have aproblem when i i click on bid in a flight i get No route passed, please is there any way to correct this ,

Search these forums. There are MANY threads about why this error could happen and how to fix this issue. 

This thread is specifically about Mark Swan’s CrewCenter - nothing to do with a “no route passed” issue. Please keep on topic. 

Link to comment
Share on other sites

15 hours ago, shakamonkey88 said:

Search these forums. There are MANY threads about why this error could happen and how to fix this issue. 

This thread is specifically about Mark Swan’s CrewCenter - nothing to do with a “no route passed” issue. Please keep on topic. 

that's why i am posting it here as the issue i am have with mark swans crewcenter , why else would i post in this topic

 

Link to comment
Share on other sites

  • Moderators
50 minutes ago, solosavage said:

why else would i post in this topic

 

Because it has been answered many many times and needlessly elongates this thread. Search for the answer and you'll find a variety of answers that will help you.  You also haven't posted your URL and/or your phpVMS version - no one can help you fully without such details.

Link to comment
Share on other sites

  • 2 weeks later...

Hi guys,

the CrewCenter looks great. Unfortunately, I miss a few corporate statistics such as Pilots, Staff, Top Pilots, Top Landings, etc.
How to add some statistics to the template?

I would also like to add some pages such as imprint or privacy policy to the left menu.

I would be happy to get some tips/help here.

Regards
RevLoewe

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
  • 2 months later...
  • 4 weeks later...

How can I sort the pilot list by a custom fieldvalue.

We use regions instead of Hubs but it is a customfield and need to sort it by region. these are in a separate database table and not in the main pilots table, so stati function for the pilots table does not work as the value is not in there.

eg. i use this one to sort by last flight and it works fine.

public static function getPilotsSortedLastFlight($count = 1000) {
        $sql = 'SELECT * FROM ' . TABLE_PREFIX . 'pilots
                ORDER BY `lastpirep` DESC
                LIMIT ' . $count;

        return DB::get_results($sql);
    } 

using this to call it:

<?php
class About3 extends CodonModule
{
function index ()
{

$this->set('pilot_list', PilotData::getPilotsSortedLastFlight());
$this->render('pilots_list_sort.php');
}

check link here: http://icrew.nobleairaus.com/index.php/About3

 

Link to comment
Share on other sites

  • 2 weeks later...
5 hours ago, Liamkirky said:

Just updated the schedules and routes now when you go to search for routes nothing shows. What do I do to overcome this issue?

So in not so many words, when you loaded the schedule the system did not register the aircrafts. Simple solution. 

Using the VA Admin Panel > upload the schedule again and select the option to override the existing schedules. Has happened to me more than onces.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...
  • Moderators
8 hours ago, sayedzaafir said:

Hello ,

 

is it possible to make the sidebar not to scroll down while we scoll down the web page , like i dont want the sidebar to move with the content scrolling , the sidebar should stay there while content is scrolled down 

 

thank you

Yes, you just need to change the CSS for the sidebar to something like:

position: fixed;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...