]> git.sur5r.net Git - bacula/bacula/blob - gui/baculum/protected/Web/Pages/BaculumError.page
baculum: Use home page url when an error is shown
[bacula/bacula] / gui / baculum / protected / Web / Pages / BaculumError.page
1 <%@ MasterClass="Application.Web.Layouts.MessageBox" Theme="Baculum-v1"%>
2 <com:TContent ID="Message">
3 <div id="message-box">
4         <h2><%[ Baculum problem ]%></h2>
5         <h3>Error <%=$this->error%> - <%=$this->output%></h3>
6         <hr />
7         <p class="center">
8                 <a href="<%=$this->Service->constructUrl('WebHome')%>"><%[ TRY AGAIN ]%></a> <%[ or run ]%>
9                 <a href="<%=$this->Service->constructUrl('WebConfigWizard')%>"><%[ Baculum Initial Wizard ]%></a>
10         </p>
11 </div>
12 <script type="text/javascript">
13         window.history.pushState('page', 'Title', '<%=$this->Service->constructUrl('WebHome')%>');
14 </script>
15 </com:TContent>