Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The layout of my login page has been a problem #61

Open
zh-ngk-i opened this issue Apr 6, 2017 · 3 comments
Open

The layout of my login page has been a problem #61

zh-ngk-i opened this issue Apr 6, 2017 · 3 comments

Comments

@zh-ngk-i
Copy link

zh-ngk-i commented Apr 6, 2017

This is my login view

<main class="auth-main" style="padding-top:150px;">
    <div class="auth-block">
        <h1>Sign in</h1>
        <a class="auth-link">DP System</a>
        <form class="form-horizontal">
            <div class="form-group">
                <label for="email" class="col-sm-2 control-label">Username</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="email" ng-model="username" placeholder="email" required>
                </div>
            </div>
            <div class="form-group">
                <label for="Password" class="col-sm-2 control-label">Password</label>
                <div class="col-sm-10">
                    <input type="password" class="form-control" id="Password" ng-model="password" placeholder="Password" required>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" data-ng-disabled="!username || !password" ng-click="signIn()" class="btn btn-default btn-auth">Sign in</button>
                  <!--  <a href="#/signin/forgot" class="forgot-pass">Forgot password?</a>-->
                </div>
            </div>
        </form>
    </div>
</main>

======================================================
auth-main.css Did not work

@zh-ngk-i
Copy link
Author

zh-ngk-i commented Apr 6, 2017

The whole page was pulled up horizontally,Do not know why, this css is not working。。。。

@niroshn
Copy link
Collaborator

niroshn commented Apr 6, 2017

@zh-ngk-i Can you add screenshot here?

@am-firnas
Copy link

There's no css file named auth-main.css but auth.css.Also note that the project is built with gulp eco system so it should be gulp serve in order to run the application after npm packages install.
The typical way of opening the HTML file doesn't load the css's.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants