summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorRobert Zorko <robertz@gurucue.com>2015-10-19 11:57:20 +0200
committerRobert Zorko <robertz@gurucue.com>2015-10-19 11:57:20 +0200
commitdb188516cbd72d6bdc067370af70d1e7cc0d1f52 (patch)
treed241f402476b2ab564a881cbcb0aca20c1a2c23d /index.html
parent932aac1a1930fa43ce2d0f3ec7bcff01e3c84d99 (diff)
hiding the change password buttons if the user logs in via saml
Diffstat (limited to 'index.html')
-rw-r--r--index.html28
1 files changed, 2 insertions, 26 deletions
diff --git a/index.html b/index.html
index 0b5bb1d..6263a73 100644
--- a/index.html
+++ b/index.html
@@ -52,35 +52,11 @@
<li id="navigation-logout"><a href="#" data-tkey="logout">Logout</a></li>
<li id="navigation-profile"><a href="#" data-tkey="profile">Profile</a></li>
<li role="separator" class="divider"></li>
- <li><a href="#" data-toggle="modal" data-target="#modalChangePassword" data-tkey="change_pass" id="change-password">Change password</a></li>
+ <li class="saml-login-hide"><a href="#" data-toggle="modal" data-target="#modalChangePassword" data-tkey="change_pass" id="change-password">Change password</a></li>
</ul>
</li>
<li id="settings_dropdown_menu"> <!-- class="dropdown"-->
<a href="" class="dropdown-toggle" data-toggle="dropdown" id="settingsTrigger" title="Settings, options..." aria-expanded="true"><span class="glyphicon glyphicon glyphicon-wrench" aria-hidden="true"></span></a>
- <!--<a href="" class="dropdown-toggle" data-toggle="dropdown" id="settingsTrigger" title="Settings, options..." aria-expanded="true"><span class="glyphicon glyphicon glyphicon-wrench" aria-hidden="true"></span></a>
- <div class="dropdown-menu" style="background-color: #fff">
- <form class="form col-sm-12">
- <div class="form-group">
- <span class="small" data-tkey="language">Language</span>
- <a class="text-muted" data-container="body" data-toggle="popover" data-trigger="hover" data-placement="left" data-html="true" data-tkey-data-content="ui_language_title" data-content="Select the UI language." data-original-title="" title=""><i class="glyphicon glyphicon-question-sign"></i></a><br>
- <select class="form-control" id="gui_lang_select">
- <option value="sl">Slovensko</option>
- <option value="en">English</option>
- </select>
- </div>
- <div class="form-group">
- <span class="small" data-tkey="robot_address">Robot’s address</span>
- <a class="text-muted" data-container="body" data-toggle="popover" data-trigger="hover" data-placement="left" data-html="true" data-tkey-data-content="robot_address_title" data-content="Set the robot's IPv4 or IPv6 address." data-original-title="" title=""><i class="glyphicon glyphicon-question-sign"></i></a><br>
- <input type="text" class="form-control" id="robot_address_input" data-tkey-placeholder="robot_address_placeholder" placeholder="IP address" pattern="(((^|\.)((25[0-5])|(2[0-4]\d)|(1\d\d)|([1-9]?\d))){4}$)|(((^|:)([0-9a-fA-F]{0,4})){1,8}$)" data-tkey-title="robot_address_title" title="Set the robot's IPv4 or IPv6 address.">
- </div>
- <div class="form-group">
- <div class="text-right">
- <button type="button" class="btn btn-default" data-target="settingsDropdown" data-toggle="dropdown" id="settings_cancel_btn">Close</button>
- <button type="button" class="btn btn-primary" data-target="settingsDropdown" data-toggle="dropdown" id="settings_save_btn">Save</button>
- </div>
- </div>
- </form>
- </div>-->
</li>
</ul>
</div><!--/.nav-collapse -->
@@ -369,7 +345,7 @@
<h2>
<span data-tkey="profile">Profile</span>
<div class="btn-group pull-right">
- <a href="" data-toggle="modal" data-target="#modalChangePassword" class="btn btn-default" data-tkey="change_pass" id="change_pass_profile">Change Password</a>
+ <a href="" data-toggle="modal" data-target="#modalChangePassword" class="btn btn-default saml-login-hide" data-tkey="change_pass" id="change_pass_profile">Change Password</a>
<a href="#" class="btn btn-default" id="btnProfileGoBack" onclick="history.back()" data-tkey="go_back">Go back</a>
</div>
</h2>