Clean up migration "error" and "invalid" pages from project

Migration error/invalid html pages are no longer needed as their
functionality was moved to "migrate" plugin.

Fixes: https://pagure.io/freeipa/issue/7641
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Reviewed-By: Serhii Tsymbaliuk <stsymbal@localhost.localdomain>
This commit is contained in:
Stanislav Levin 2018-07-14 14:36:01 +03:00 committed by Serhii Tsymbaliuk
parent 8a22c65228
commit 9f6d5322dd
4 changed files with 0 additions and 127 deletions

View File

@ -1413,9 +1413,7 @@ fi
%{_usr}/share/ipa/html/ssbrowser.html
%{_usr}/share/ipa/html/unauthorized.html
%dir %{_usr}/share/ipa/migration
%{_usr}/share/ipa/migration/error.html
%{_usr}/share/ipa/migration/index.html
%{_usr}/share/ipa/migration/invalid.html
%{_usr}/share/ipa/migration/migration.py*
%dir %{_usr}/share/ipa/ui
%{_usr}/share/ipa/ui/index.html

View File

@ -2,9 +2,7 @@ NULL =
appdir = $(IPA_DATA_DIR)/migration
app_DATA = \
error.html \
index.html \
invalid.html \
migration.py \
$(NULL)

View File

@ -1,40 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>IPA: Identity Policy Audit</title>
<link rel="stylesheet" type="text/css" href="../ui/css/patternfly.css" />
<link rel="stylesheet" type="text/css" href="../ui/css/ipa.css" />
</head>
<body class="info-page">
<nav class="navbar navbar-default navbar-pf" role="navigation">
<div class="navbar-header">
<a class="brand" href="../ui/index.html"><img src="../ui/images/header-logo.png" alt="FreeIPA"></a>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
<h1>We're Sorry</h1>
<div class="formcontent">
<p>
There was a problem with your request. Please, try again later.
</p>
<p>
If the problem persists, contact your administrator.
</p>
<p>
<a href="index.html" class="btn btn-default" title="Return back">Return back</a>
</p>
</div>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,83 +0,0 @@
<!DOCTYPE html>
<html class="login-pf">
<head>
<meta charset="utf-8">
<title>IPA: Identity Policy Audit</title>
<link rel="stylesheet" type="text/css" href="../ui/css/patternfly.css" />
<link rel="stylesheet" type="text/css" href="../ui/css/ipa.css" />
<link rel="stylesheet" type="text/css" href="../ui/ipa.css" />
</head>
<body>
<div class="login-pf-body">
<span id="badge">
<img src="../ui/images/login-screen-logo.png" alt="" />
</span>
<div class="container">
<div class="row">
<div class="col-sm-12">
<div id="brand">
<img src="../ui/images/product-name.png" alt="">
</div>
</div>
<div class="col-sm-7 col-md-6 col-lg-5 login">
<form class="form-horizontal" id="login" action="migration.py" method="post" name="">
<div class="form-group validation-summary-group">
<div class="col-sm-12 controls">
<div class="widget validation-summary">
<div class="alert alert-danger">
<span class="fa fa-exclamation-circle"></span>
<p><strong>Please re-enter your username or password</strong></p>
<p> The password or username you entered is incorrect. Please try
again (make sure your caps lock is off).</p>
<p>If the problem persists, contact your administrator.</p>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="control-label col-sm-4">
<label for="username">Username</label>
</div>
<div class="col-sm-8">
<input type="text" id="username" name="username" value="" accesskey="u" class="form-control" />
</div>
</div>
<div class="form-group">
<div class="control-label col-sm-4">
<label for="password">Password</label>
</div>
<div class="col-sm-8">
<input type="password" id="password" name="password" value="" accesskey="p" class="form-control" />
</div>
</div>
<div class="form-group">
<div class="col-xs-4 col-sm-offset-4 col-sm-8 submit">
<input name="submit" class="btn btn-primary btn-lg" value="Migrate" type="submit" />
</div>
</div>
</form>
</div>
<div class="col-sm-5 col-md-6 col-lg-7 details">
<h1>Password Migration</h1>
<p>
If you have been sent here by your administrator, your personal
information is being migrated to a new identity management solution
(IPA).
</p>
<p>
Please, enter your credentials in the form to complete the
process. Upon successful login your kerberos account will be
activated.
</p>
</div>
</div>
</div>
</div>
</body>
</html>