First commit
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
<md-content ng-controller="ConnectionController" layout="column" layout-align="center center" flex>
|
||||
|
||||
<md-card class="md-block">
|
||||
|
||||
<md-toolbar class="demo-toolbar md-primary">
|
||||
<div class="md-toolbar-tools">
|
||||
<h3 class="ng-binding">Connect</h3>
|
||||
</div>
|
||||
</md-toolbar>
|
||||
|
||||
<div layout-padding layout-gt-xs="column">
|
||||
|
||||
<div layout-padding>Enter the address (including rcon port) and the rcon password below to connect.</div>
|
||||
|
||||
<div ng-repeat="c in PreviousConnects">
|
||||
<md-button ng-click="ConnectTo( c )">{{c.Address}}</md-button>
|
||||
</div>
|
||||
|
||||
<div>{{LastErrorMessage}}</div>
|
||||
|
||||
<form ng-submit="Connect()">
|
||||
<div class="md-inline-form">
|
||||
|
||||
|
||||
<md-input-container class="md-block" flex-gt-xs>
|
||||
<label>Address</label>
|
||||
<input required minlength=5 ng-model="Address" name="Address">
|
||||
</md-input-container>
|
||||
|
||||
<md-input-container class="md-block" flex-gt-xs>
|
||||
<label>Password</label>
|
||||
<input required minlength=2 type="password" ng-model="Password" name="Password">
|
||||
</md-input-container>
|
||||
|
||||
<section layout="row" layout-align="end end" layout-wrap>
|
||||
<md-checkbox md-no-ink aria-label="Save Connection" ng-model="SaveConnection" class="md-primary">
|
||||
Save Connection
|
||||
</section>
|
||||
|
||||
<br/> <br/>
|
||||
|
||||
<section layout="row" layout-align="end end" layout-wrap>
|
||||
<md-button class="md-raised md-primary" ng-click="Connect()">Connect</md-button>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</md-card>
|
||||
</md-content>
|
||||
@@ -0,0 +1,22 @@
|
||||
|
||||
<div ng-controller="ConsoleController" flex layout="column" id="ConsoleController">
|
||||
|
||||
<md-content flex id="vertical-container" class="Output"><div ng-repeat="line in Output" ng-class="line.Class">{{line.Message}}</div></md-content>
|
||||
|
||||
<form ng-submit="SubmitCommand()" class="md-inline-form">
|
||||
<md-toolbar class="Input">
|
||||
<div class="md-toolbar-tools">
|
||||
|
||||
<span flex>
|
||||
<input ng-model="Command" style="width: 100%">
|
||||
</span>
|
||||
|
||||
<md-button class="md-icon-button" aria-label="Settings" ng-click="SubmitCommand()">
|
||||
<md-icon md-menu-origin md-svg-icon="/image/arrow-right-bold-hexagon-outline.svg"></md-icon>
|
||||
</md-button>
|
||||
|
||||
</div>
|
||||
</md-toolbar>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,63 @@
|
||||
|
||||
<div ng-controller="PlayersController" flex layout="column" id="PlayersController">
|
||||
|
||||
<md-content flex id="vertical-container">
|
||||
<md-list>
|
||||
<div ng-repeat="line in Players | filter : FilterText">
|
||||
<md-list-item class="md-3-line" layout="row" style="min-height: auto;">
|
||||
<div flex layout="row">
|
||||
<div flex class="md-list-item-text">
|
||||
<h3>{{line.DisplayName}}</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div flex="20"style="text-align: right">
|
||||
{{line.SteamID}} <span>{{line.OwnerSteamID}}</span>
|
||||
</div>
|
||||
|
||||
<div flex="5"style="text-align: right">
|
||||
{{line.VoiationLevel}}
|
||||
</div>
|
||||
|
||||
<div flex="10"style="text-align: right">
|
||||
Level: {{line.CurrentLevel}}
|
||||
</div>
|
||||
|
||||
<div flex="10"style="text-align: right">
|
||||
XP: {{line.UnspentXp}}
|
||||
</div>
|
||||
|
||||
<div flex="20"style="text-align: right">
|
||||
{{line.Address}}
|
||||
</div>
|
||||
|
||||
<div flex="10" class="md-list-item-text" style="text-align: right">Ping {{line.Ping}}</div>
|
||||
|
||||
<div flex="10" style="text-align: right">
|
||||
{{line.ConnectedSeconds | SecondsToDuration}}
|
||||
</div>
|
||||
|
||||
|
||||
</md-list-item>
|
||||
<md-divider></md-divider>
|
||||
</div>
|
||||
|
||||
|
||||
</md-list>
|
||||
</md-content>
|
||||
|
||||
<md-toolbar class="Input">
|
||||
<div class="md-toolbar-tools">
|
||||
|
||||
<span flex>
|
||||
<input ng-model="FilterText" style="width: 100%">
|
||||
</span>
|
||||
|
||||
<md-button class="md-icon-button" aria-label="Settings" ng-click="SubmitCommand()">
|
||||
<md-icon md-menu-origin md-svg-icon="/image/arrow-right-bold-hexagon-outline.svg"></md-icon>
|
||||
</md-button>
|
||||
|
||||
</div>
|
||||
</md-toolbar>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user