se-hub/templates/views/register.html

70 lines
1.9 KiB
HTML
Raw Normal View History

2015-05-09 19:00:14 +00:00
<div class="register">
<md-content layout-padding>
2015-06-14 15:54:51 +00:00
<h1 style="margin-left:15px"><i class="fa fa-pencil"></i> Registration</h1>
<md-card class="wellcome-float" style="margin-top: 15px;">
<center>
<p>First Login Of {{user.name}}</p>
<div class="avatar">
<img ng-src="{{user.avatar_url}}" alt="{{item.who}}" style="position:center !important;"/>
</div>
</center>
<br><br>
<div layout="col">
<div>
<md-input-container ng-if="userHasNoName">
<label>Full Name: </label>
<input ng-model="user.name" required>
</md-input-container>
</div>
<div layout="row" layout-align="center center">
Are You A Lecturer?
<md-switch ng-model="user.isLecturer" aria-label="Switch 1">
</md-switch>
</div>
</div>
<div>
<div class = "dropDown">
<md-select placeholder="Pick your Campus" ng-model="campus" style="z-index: 300" ng-change="dropdownClicked()">
<md-option ng-repeat="c in campuses" value="{{c.title}}">{{c.title}}</md-option>
</md-select>
</div>
<div layout="col">
<div>
<div class="campusAvatar" ng-if="campusChecked">
<img ng-src="{{campusObj.avatar_url}}" alt="campusAvatar">
2015-05-09 19:00:14 +00:00
</div>
2015-06-14 15:54:51 +00:00
</div>
</div>
<div>
2015-06-10 13:04:24 +00:00
<div class = "disabledSubmitButton">
2015-06-14 16:31:16 +00:00
<md-button ng-click="submitClicked()" ng-disabled="!campusChecked" class="md-raised md-primary">Submit</md-button>
2015-06-14 15:54:51 +00:00
</div>
</div>
</div>
<div layout="row" layout-align="center center">
<div ng-if="campusChecked">
<div>
<md-input-container>
2015-06-14 16:31:16 +00:00
<label>Academic Email</label>
<input type="text" ng-model="user.AcMail" required/>
2015-06-14 15:54:51 +00:00
</md-input-container>
</div>
</div>
<div>
<div class="mail_suffix">
{{campusObj.email_ending}}
2015-06-10 13:04:24 +00:00
</div>
2015-06-14 15:54:51 +00:00
</div>
</div>
<!-- <div> // TODO return
<p>
<b>Note:</b> This setting can be changed in the future. <br>
But Choose Now for easy Registration...
</p>
</div> -->
</div>
</div>
</md-card>
</md-content>
2015-05-09 19:00:14 +00:00
</div>