-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #442 from harena-lab/development
Development
- Loading branch information
Showing
18 changed files
with
361 additions
and
501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,10 +52,8 @@ | |
<script src="/infra/dcc-common-server-proxy.js"></script> | ||
<script src="/infra/dcc-common-server-address.js"></script> | ||
<script src="/infra/simple-page-tasks.js"></script> | ||
<script src="/infra/token-validator.js"></script> | ||
<script src="/infra/token-validator-swe.js"></script> | ||
<script src="/infra/conditional-layout.js"></script> | ||
<script src="/prognosis/js/prognosis-bus.js"></script> | ||
<script src="/prognosis/js/prognosis-bus-driver.js"></script> | ||
|
||
<script src="/dccs/components/visual/dcc-markdown.js"></script> | ||
<script src="/dccs/components/visual/dcc-annotation.js"></script> | ||
|
@@ -88,7 +86,6 @@ | |
<script src="/dccs/base/property-dcc.js"></script> | ||
<script src="/dccs/base/connect-dcc.js"></script> | ||
|
||
|
||
<script src="/dccs/components/data/dcc-model.js"></script> | ||
<script src="/dccs/components/data/dcc-submit.js"></script> | ||
<script src="/dccs/components/data/dcc-record.js"></script> | ||
|
@@ -98,7 +95,7 @@ | |
<script src="/dccs/components/web/dcc-rest.js"></script> | ||
|
||
<script src="/infra/dcc-rest-proxy.js"></script> | ||
<script src="/infra/dcc-basic.js"></script> | ||
<script src="/infra/dcc-basic-swe.js"></script> | ||
|
||
<script src="/lib/showdown/showdown.min.js"></script> | ||
<script src="/translator/translator.js"></script> | ||
|
@@ -112,8 +109,51 @@ | |
</head> | ||
|
||
<body> | ||
|
||
<dcc-include src="/author/partials/header.html"></dcc-include> | ||
<div class="fixed-top up-scroll" style="transition: top 0.3s !important;"> | ||
<dcc-rest id="harena-login" bind="harena-login"></dcc-rest> | ||
<nav> | ||
<div class="d-flex overflow-hidden pt-2 mr-4" id="harena-header"> | ||
|
||
<span class="inline-flex rounded-md ml-auto " id="header-login"> | ||
<div id="login-block"> | ||
<button id="loginDropdownBtn" class="btn btn-light border-top border-left border-right text-primary pl-4 pt-1 dropdown-toggle " type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | ||
Login | ||
</button> | ||
<form class="needs-validation dropdown-menu p-4 mr-5" novalidate> | ||
<div class="form-group"> | ||
<label for="email">Email address</label> | ||
<input type="email" class="form-control" id="email" name="email" placeholder="[email protected]" required> | ||
<div class="invalid-feedback"> | ||
Please type a valid email. | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label for="password">Password</label> | ||
<input type="password" class="form-control" id="password" name="password" placeholder="Password" required> | ||
</div> | ||
<dcc-submit id="btn-submit-login" bind="submit-login" label="Login" xstyle="btn btn-outline-primary" connect="submit:harena-login:service/request/post"></dcc-submit> | ||
<div id="login-message-alert" class="alert mt-3" role="alert"> | ||
</div> | ||
</form> | ||
</div> | ||
<div id="logout-block" style="display: none;"> | ||
<dcc-rest id="harena-logout" bind="harena-logout"></dcc-rest> | ||
<button id="logoutDropdownBtn" class="btn btn-light border-top border-left border-right text-lab-primary px-1 pt-1 dropdown-toggle " type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | ||
Logout | ||
</button> | ||
<div class="dropdown-menu mr-5" aria-labelledby="logoutDropdownBtn"> | ||
<a class="dropdown-item" href="/user/settings">Change Password</a> | ||
<div class="dropdown-divider"></div> | ||
|
||
<dcc-submit xstyle="dropdown-item" id="logout-button" bind="submit-logout" label="Logout" connect="submit:harena-logout:service/request/post"> | ||
|
||
</div> | ||
</div> | ||
</span> | ||
</div> | ||
</nav> | ||
</div> | ||
<!-- <dcc-include src="/author/partials/header.html"></dcc-include> --> | ||
<!-- Notice modal --> | ||
<div class="modal fade" id="notice-modal" tabindex="-1" role="dialog" aria-labelledby="notice-modal" aria-hidden="true"> | ||
<div class="modal-dialog modal-dialog-centered" role="document"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.