Skip to content

Commit 867405f

Browse files
committed
finished success info page for cookie-migration
1 parent fdf969e commit 867405f

1 file changed

Lines changed: 23 additions & 11 deletions

File tree

src/main/resources/migration_redirect.php

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,36 @@
5555

5656
<meta name="viewport" content="width=device-width, initial-scale=1.0">
5757
<style>
58-
html, body { margin: 0; padding: 0; background-color: #EEE; color: black; font: 1em normal "Verdana","Arial","Georgia",sans-serif; text-align: center;}
59-
.frame { width: 960px; margin: 0 auto; padding: 2em 5px; text-align: left; }
58+
html, body { margin: 0; padding: 0; width: 100%; height: 100%; background-color: #CCC; color: black; font: 1em normal "Verdana","Arial","Georgia",sans-serif; text-align: center;}
59+
a { text-decoration: underline; color: #A00; }
60+
a:hover { text-decoration: none !important; }
61+
.frame { width: 960px; height: 100%; margin: 0 auto; padding: 2em 5px; text-align: left; background-color: #EEE; border: 1px none solid #AAA; }
62+
.content { }
6063
h1 { width: 100%; font 1.5em bold; line-height: 1.05em; margin-bottom: 2em; }
6164
p { margin-bottom: 1em; padding: 0 5px; }
62-
63-
65+
a.button { display: box; padding: 0.5em 1em; color: #FFF; background-color: #0D0; text-align: center; vertical-align: center; font: 1.3em bold; text-decoration: none; }
66+
a.button:hover { background-color: #F00 !important; }
6467
</style>
6568
</head>
6669

6770
<body>
6871
<div class="frame">
69-
<h1>This webCAT instance moved!<h1>
70-
<p class="explain">
71-
This <a href="http://sems.uni-rostock.de/cat" target="_blank">webCAT</a> instance move to a new domain. To ensure you can still access your pressures workspaces and archives
72-
you can migrate the history cookie, which contains all the workspace ids. To do so please click on the button down below.
73-
</p>
74-
<p class="button">
75-
</p>
72+
<div class="content">
73+
<h1>This webCAT instance moved!<h1>
74+
<p class="explain">
75+
This <a href="http://sems.uni-rostock.de/cat" target="_blank">webCAT</a> instance move to a new domain. To ensure you can still access your pressures workspaces and archives
76+
you can migrate the history cookie, which contains all the workspace ids. To do so please click on the button down below.
77+
</p>
78+
<p class="button">
79+
<a class="button" href="<?php echo($redirect_url); ?>">Migrate Workspaces</a>
80+
</p>
81+
<p class="ws-list">
82+
Following workspaces were found:
83+
<ul>
84+
<?php foreach( $result as $entry ) { ?><li><code><?php echo($entry); ?></code></li><?php } ?>
85+
</ul>
86+
</p>
87+
</div>
7688
</div>
7789
</body>
7890
</html>

0 commit comments

Comments
 (0)