Skip to content

Commit a0a968c

Browse files
committed
UI tweak for packs
1 parent 94809b9 commit a0a968c

File tree

1 file changed

+5
-22
lines changed

1 file changed

+5
-22
lines changed

resources/themes/pterodactyl/admin/packs/view.blade.php

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
<input type="text" name="version" id="pVersion" class="form-control" value="{{ $pack->version }}" />
4242
<p class="text-muted small">The version of this package, or the version of the files contained within the package.</p>
4343
</div>
44+
<div class="form-group">
45+
<label class="form-label">Storage Location</label>
46+
<input type="text" class="form-control" readonly value="{{ storage_path('app/packs/' . $pack->uuid) }}">
47+
<p class="text-muted small">If you would like to modify the stored pack you will need to upload a new <code>archive.tar.gz</code> to the location defined above.</p>
48+
</div>
4449
</div>
4550
</div>
4651
</div>
@@ -100,28 +105,6 @@
100105
</div>
101106
</div>
102107
</form>
103-
<div class="row">
104-
<div class="col-xs-12">
105-
<div class="box">
106-
<div class="box-header with-border">
107-
<h3 class="box-title">Stored Files</h3>
108-
</div>
109-
<div class="box-body no-padding table-responsive">
110-
<table class="table table-hover">
111-
<tr>
112-
<th>Name</th>
113-
<th>SHA1 Hash</th>
114-
<th>File Size</th>
115-
</tr>
116-
</table>
117-
</div>
118-
<div class="box-footer">
119-
<p class="text-muted small">If you would like to modified the stored pack you will need to upload a new <code>archive.tar.gz</code> to the location defined below.</p>
120-
<p class="text-muted small"><strong>Storage Location:</strong> <code>{{ storage_path('app/packs/' . $pack->uuid) }}</code></p>
121-
</div>
122-
</div>
123-
</div>
124-
</div>
125108
<div class="row">
126109
<div class="col-xs-12">
127110
<div class="box">

0 commit comments

Comments
 (0)