Commit 7472f0d0 authored by Sajal Narang's avatar Sajal Narang

Merge branch 'pulsejet-issue71'

parents 52c092e8 98bf62b4
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
a {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.logodiv {
width: 45%;
margin: 0 auto;
margin-top: 25%;
text-align: center;
}
.logo {
width: 100%;
}
.app-name {
margin-top: 10px;
font-weight: 200;
font-size: 1.5em;
}
.lowerdiv {
position: fixed;
bottom: 8%;
left: 0;
width: 100%;
}
.logindiv {
margin: 0 auto;
width: 100%;
text-align: center;
}
a {color: black;}
a:link {color: black;} /* unvisited link */
a:visited {color: black;} /* visited link */
a:hover {color: black;} /* mouse over link */
a:active {color: black;} /* selected link */
.login {
font-size: 1.05em;
padding: 10px 28%;
border-radius: 4px;
background-color: rgb(255, 215, 64);
text-decoration: none;
}
.guest {
text-decoration: none;
font-weight: 200;
line-height: 1.7em;
font-size: 1.05em;
}
</style>
</head>
<body>
<div class="logodiv">
<img src="lotus.png" class="logo">
<div class="app-name">InstiApp</div>
</div>
<div class="lowerdiv">
<div class="logindiv">
<a class="login" href="https://gymkhana.iitb.ac.in/sso/account/login/?next=/sso/oauth/authorize/%3Fclient_id%3DvR1pU7wXWyve1rUkg0fMS6StL1Kr6paoSmRIiLXJ%26response_type%3Dcode%26scope%3Dbasic%2520profile%2520picture%2520sex%2520ldap%2520phone%2520insti_address%2520program%2520secondary_emails%26redirect_uri=https://redirecturi">
LOG IN VIA SSO
</a>
<br><br>
or
<br>
<a class="guest" href="https://guesturi">
Continue as a Guest
</a>
</div>
</div>
</body>
</html>
\ No newline at end of file
......@@ -4,20 +4,17 @@
android:layout_height="match_parent"
android:orientation="vertical">
<Button
android:id="@+id/guest_login"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_gravity="center"
android:text="Guest Login" />
<Button
android:id="@+id/ldap_login"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_gravity="center"
android:text="LDAP login" />
<WebView
android:id="@+id/login_webview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="false"
android:layout_alignWithParentIfMissing="false">
</WebView>
</LinearLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment