99x-incubator / interns-portal

This is a web portal that visualize working period and feedback for interns
https://interns.99xtechnology.net/
MIT License
12 stars 37 forks source link

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

Open zh-ngk-i opened 7 years ago

zh-ngk-i commented 7 years ago

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 commented 7 years ago

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

niroshn commented 7 years ago

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

am-firnas commented 6 years ago

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.