Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Fari Liang
    @fariliang
    It took me several hours to get it to work.
    Can you put the style file in the mobile.css ?
    Mobile.css.scss is called in application.css
    So it is called all the time. To have mobile specific ones, you can put them in the folder slidebox and then call them like how we did in application.html.erb
    Sammy khaleel
    @Sammykhaleel
    I'm working on it, but i need to show the header
    Fari Liang
    @fariliang
    Every file in a directory is not called by the application.css directly,
    Sammy khaleel
    @Sammykhaleel
    Screen Shot 2015-03-01 at 8.09.51 PM.png
    Fari Liang
    @fariliang
    Let's use the header of slidebox instead of our previous header first. I can try to put our previous header after you have done everything else, it will be easier then.
    Fari Liang
    @fariliang
    Also can you send me the techstars application's last question: what have you archived?
    achieved*
    Sammy khaleel
    @Sammykhaleel
    Ok i just finished it.
    Fari Liang
    @fariliang
    Ok
    Sammy khaleel
    @Sammykhaleel
    How is it going with Amazon?
    Fari Liang
    @fariliang
    Working.
    Fari Liang
    @fariliang
    Give me two more days. Can you send me the answer to that techstars question? The deadline is near.
    Sammy khaleel
    @Sammykhaleel
    I did put in the techstarters already can you check
    Also i have noticed that you changed devise pages so when i log in i get this
    Screen Shot 2015-03-03 at 9.58.05 PM.png
    or more precisely like this
    Screen Shot 2015-03-03 at 10.01.03 PM.png
    Fari Liang
    @fariliang
    Ok
    Interesting. I didn't see that in the sign in page.
    On my Chrome, it is normal.
    Saw the Techstars. I will submit it soon. Thanks. I studied some strategy to understand our previous failures in expansion. Now I am back to work.
    Sammy khaleel
    @Sammykhaleel
    I mean we can't use login them version because we already have in devise registration page. do have any thought a bout it.
    Fari Liang
    @fariliang
    See the login on the homepage?
    It is not a devise page, but you are able to log in there.
    You can copy the form of login on the homepage to any other page and it will work.
    Sammy khaleel
    @Sammykhaleel
    devise registration page looks like this
    <!--~~~~~~~~~~~~~~~~~~~~~~~~ Before ~~~~~~~~~~~~~~~~~~~~~~~~-->
        <!-- Page Title -->
        <% provide(:title, "Sign in")%>
    
          <!-- Page Background -->
          <!DOCTYPE html>
          <html style="background: url(/assets/background1.jpg) no-repeat center center fixed; 
          -webkit-background-size: cover;
          -moz-background-size: cover;
           -o-background-size: cover;
          background-size: cover;"><!-- Signup Page Background -->
    <!--~~~~~~~~~~~~~~~~~~~~~~~~ Sidebar ~~~~~~~~~~~~~~~~~~~~~~~~-->
    <!--~~~~~~~~~~~~~~~~~~~~~~~~ Page Contents ~~~~~~~~~~~~~~~~~~~~~~~~-->
    
    <!-- Sign Up -->
    <div class="user-links">
        Do not have an account? <%= link_to 'Sign up', new_user_registration_path, class:"no_ajaxify" %>
    </div>
    
    <div class="center" style="width: 310px;">
    
        <!-- Cutter --><ol style="margin-top: 80px;"></ol>
    
        <span id="Join-Ratafire">Sign in.</span>
    
        <!-- Cutter --><ol style="margin-top: 18px;"></ol>
    
        <div id="Signin-box">
    
            <!-- Signin Form -->
            <%= form_for(resource, :as => resource_name, :url => session_path(resource_name),:html => {:class => "no_ajaxify"}) do |f| %>
    
            <ol>
                <%= f.text_field :email, class: "inputbox signupbox", placeholder: "Email" %>
            </ol>
            <ol>
                <%= f.password_field :password, class: "inputbox signupbox", placeholder: "Password" %>
            </ol>
            <ul>
                <% if devise_mapping.rememberable? -%>
                <div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
                <% end -%>
                <%= link_to "Forgot password?", new_password_path(resource_name) %>
            </ul>
            <ol style="margin-top: 15px; padding-left: 157px;">
                <%= f.submit "SIGN IN", class: "btn-submit btn-submit-small btn btn-small2 btn-small-blue" %>
            </ol>
            <% end %>
    
        </div><!-- end of Signin-box -->
    
    </div><!-- end of center-->
    
    <!-- Footer -->
    <div style="padding: 0px 20px 18px 0; margin-top: 287px;">
        <%= render 'layouts/footer' %>
    </div>
    
    </html>
    Fari Liang
    @fariliang
                        <!-- Signin Form -->
                        <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => 'no_ajaxify'}) do |f| %>
    
                              <ol>
                                  <%= f.text_field :email, class: "inputbox signupbox2", placeholder: "Email" %>
                              </ol>
                              <ol>
                                  <%= f.password_field :password, class: "inputbox signupbox2", placeholder: "Password" %>
                              </ol>
                              <ol style="margin-top:15px;color:#999;margin-left:120px;">
                                  <% if devise_mapping.rememberable? -%>
                                <div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
                                  <% end %>
                              </ol>
                              <ol>
                              <%= link_to "Forgot your password?", new_password_path(resource_name), class:"no_ajaxify", style:"margin-left:150px;" %>
                             </ol>
                            <ol style="margin-top: -35px; padding-left: 418px;">
                                <div id="submit">
                                    <%= f.submit "SIGN IN", class: "btn-submit btn-submit-small btn btn-small2 btn-small-blue" %>
                                </div>
                            </ol>
                        <div class="signupshow-signup" style="margin-top: -32px; margin-left: 180px;" id="signupshow-signup">
                            Sign Up
                        </div>                            
                        <% end %>
    This is the Signin form.
        <!-- Signup Form -->
            <div class="signupshow-signup-form-home" id="signupshow-signup-form">    
                <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :validate => true, :html => { :class => 'no_ajaxify'}) do |f| %>
                    <ol>
                        <%= f.text_field :fullname, class: "inputbox signupbox2", placeholder: "First and Last Name", :live => true %>
                    </ol>
                    <ol>
                        <%= f.text_field :email, class: "inputbox signupbox2", placeholder: "Email Address" %>
                    </ol>
                    <ol>
                        <%= f.password_field :password, class: "inputbox signupbox2", placeholder: "Password" %>
                    </ol>
                    <ol>
                        <%= f.text_field :username, class: "inputbox signupbox2",  placeholder: "Pick a username"%>
                    </ol>    
                    <div class="signupshow-signin" id="signupshow-signin" style="margin-top: 20px; margin-left: 310px;">
                        Sign In
                    </div>    
    
                    <ol style="margin-top: 15px; padding-left: 418px;">
                        <%= f.submit "JOIN", class: "btn-submit btn-submit-small btn btn-small2 btn-small-green", id:"email-signup" %>
                    </ol>
    
                    <div style="margin-top: -32px; margin-left: 280px;" id="signup-with-facebook-button">
                        <%= link_to image_tag("/assets/facebook.png"), user_omniauth_authorize_path(:facebook), class:"no_ajaxify" %>
                    </div>
                <% end %>
            </div><!-- end .signupshow-signup-form-->
    This is the Signup form.
    Fari Liang
    @fariliang
    I have sent you some materials for Saturday. Come up with a 1 minute short introduction from it, and then when we are at the table on Saturday, both of us can talk about Ratafire with those who come around.
    Fari Liang
    @fariliang
    I have also submitted the Techstars.
    Sammy khaleel
    @Sammykhaleel
    Awesome how are you doing with the API?
    Fari Liang
    @fariliang
    We have to be registered as a Solution provider, and I am talking to Amazon for it.
    Fari Liang
    @fariliang
    There is a Gem today.......omg
    This person is saving the world....
    Sammy khaleel
    @Sammykhaleel
    haha i told you some will come up with solution.
    Fari Liang
    @fariliang
    Let me see if it is possible to change the Gem to do what we want, for it may be only for the buyer -> seller actions. However, how to call the API is in the Gem...
    We should find a way to contact this person, and thank him for doing so.
    Sammy khaleel
    @Sammykhaleel
    and buy him a bear
    *beer
    Fari Liang
    @fariliang
    Yeah, if he is on Ratafire, I will subscribe to him. I am emailing him now. He is in London...
    Sammy khaleel
    @Sammykhaleel
    there is more gems will come you will see
    Fari Liang
    @fariliang
    I agree. He is the first. Let's thanking and encourage him to build it to be even better... (I suddenly think I am so evil)
    Sammy khaleel
    @Sammykhaleel
    hehe
    Fari Liang
    @fariliang
    OMG, you see why I spent the first few days in the week to learn some strategies again...now it is time to use it.