changed create dialog

This commit is contained in:
sqozz
2015-02-21 04:29:47 +01:00
parent ebc7da1d05
commit 3092c2e615
5 changed files with 61 additions and 18 deletions

View File

@ -21,22 +21,22 @@ vim: ts=2 noexpandtab
<div class="form-group">
<label for="inputTorrentFile" class="col-sm-3 control-label">{{ getLocalString(language, "torrent_file") }}</label>
<div class="col-sm-9">
<input name="torrentFile" class="file" type="file" size="50" maxlength="100000" accept="text/*" onchange="setButtonToFilename(event)">
<input name="torrentFile" class="file" type="file" size="50" maxlength="100000" accept="application/x-bittorrent" onchange="setButtonToFilename(event)">
</div>
</div>
<div class="form-group">
<div class="form-group detectedInfosGroup">
<label for="inputTorrentFile" class="col-sm-3 control-label">File info</label>
<div class="col-sm-9 detectedInfos">
<div class="detectedGroup sizeGroup">
<h5>Size:</h5>
<p class="detectedSize">123MB</p>
<h5>{{ getLocalString(language, "size") }}:</h5>
<p class="detectedSize"></p>
</div>
<div class="detectedGroup trackerGroup">
<h5>Tracker:</h5>
<p class="detectedTracker">http://foo.bar/tracker</p>
<h5>{{ getLocalString(language, "tracker") }}:</h5>
<p class="detectedTracker"></p>
</div>
<div class="detectedGroup filesGroup">
<h5>Detected files:</h5>
<h5>{{ getLocalString(language, "detected_files") }}:</h5>
<div class="detectedFiles">
<ul>
</ul>