diff options
Diffstat (limited to 'ShiftOS.Server.WebAdmin/Resources')
4 files changed, 23 insertions, 27 deletions
diff --git a/ShiftOS.Server.WebAdmin/Resources/GenericTableList.txt b/ShiftOS.Server.WebAdmin/Resources/GenericTableList.txt new file mode 100644 index 0000000..3cbfd6e --- /dev/null +++ b/ShiftOS.Server.WebAdmin/Resources/GenericTableList.txt @@ -0,0 +1,5 @@ +<h3>{listtitle}</h3> + +<p>{listdesc}</p> + +{list}
\ No newline at end of file diff --git a/ShiftOS.Server.WebAdmin/Resources/HtmlTemplate.txt b/ShiftOS.Server.WebAdmin/Resources/HtmlTemplate.txt index cdb6e0d..82893e9 100644 --- a/ShiftOS.Server.WebAdmin/Resources/HtmlTemplate.txt +++ b/ShiftOS.Server.WebAdmin/Resources/HtmlTemplate.txt @@ -6,6 +6,7 @@ <link rel="stylesheet" href="http://getshiftos.ml/css/theme.css"/> <!-- Latest compiled and minified JavaScript --> + <script src="https://code.jquery.com/jquery-3.1.1.js" integrity="sha256-16cdPddA6VdVInumRGo6IbivbERE8p7CQR3HzTBuELA=" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> </head> <body> @@ -21,34 +22,36 @@ <a href="/mudadmin/saves">Test subjects</a> </li> <li> - <a href="/mudadmin/shiftnet">Shiftnet</a> + <a href="#">Shiftnet (NYI)</a> </li> <li> - <a href="/mudadmin/scripts">Scripts</a> + <a href="#">Scripts (NYI)</a> </li> <li> - <a href="/mudadmin/legions">Legions</a> + <a href="#">Legions (NYI)</a> </li> <li> <a href="/mudadmin/chats">Chats</a> </li> <li> - <a href="/mudadmin/shops">Shops</a> - </li> - <li> - <a href="/mudadmin/help">Help</a> + <a href="#">Shops (NYI)</a> </li> </ul> <ul class="nav navbar-nav navbar-right"> + {mud_restart} + {mud_power} {logout} + </ul> </div> <!-- /#sidebar-wrapper --> <!-- Page Content --> <div id="page-content-wrapper"> - <div class="container-fluid"> + <div class="container-fluid content"> {body} + + <p style="text-align:center;"><em>ShiftOS - MUD admin panel - Copyright © 2017 ShiftOS developers</em></p> </div> </div> </body> diff --git a/ShiftOS.Server.WebAdmin/Resources/NoUsersFound.txt b/ShiftOS.Server.WebAdmin/Resources/NoUsersFound.txt new file mode 100644 index 0000000..7524fa5 --- /dev/null +++ b/ShiftOS.Server.WebAdmin/Resources/NoUsersFound.txt @@ -0,0 +1,5 @@ +<h3>No users found.</h3> + +<p>Your multi-user domain is newly-created. Before you can use the admin panel, you must create a ShiftOS user to act as the administrator of the MUD.</p> + +{user_create_form}
\ No newline at end of file diff --git a/ShiftOS.Server.WebAdmin/Resources/SetupView.txt b/ShiftOS.Server.WebAdmin/Resources/SetupView.txt index d1226dd..9e83a45 100644 --- a/ShiftOS.Server.WebAdmin/Resources/SetupView.txt +++ b/ShiftOS.Server.WebAdmin/Resources/SetupView.txt @@ -1,22 +1,5 @@ <h1>Initial setup</h1> -<p>Welcome to your multi-user domain. If you are seeing this screen, it means that the web administration panel is successfully running and listening for requests. Before you can start using the admin panel you must create an Admin account. This account will let you log in and manage other authorized users, manage saves, Shiftnet pages and other information.</p> +<p>This multi-user domain contains some users, however none of them are administrators. Please choose your user to make it an admin.</p> -<p>To continue, type a username and password.</p> - -<form method="post" action=""> - <table class="table"> - <tr> - <td><strong>Username:</strong></td> - <td><input class="form-control" type="text" name="username"/></td> - </tr> - <tr> - <td><strong>Password:</strong></td> - <td><input class="form-control" type="password" name="password"/></td> - </tr> - <tr> - <td></td> - <td><input type="submit" class="btn btn-default"/></td> - </tr> - </table> -</form>
\ No newline at end of file +{savelist}
\ No newline at end of file |
