Sha256: bf735aee2e43d07cea3064ccbea45a30a036d779cbc668a3e70d042b44da893f

Contents?: true

Size: 1.26 KB

Versions: 5

Compression:

Stored size: 1.26 KB

Contents

<div class="alert alert-success" role="alert" ng-show="full_url">
  <p><b>Secret saved</b></p>
  The secret can be decrypted and viewed in one click using <a href="{{full_url}}">{{full_url}}</a>
  <p>For extra security, send the following URL in one channel and the decryption key in another. Receiver will then be asked for the decryption key</p>
  URL: <a href="{{short_url}}">{{short_url}}</a><br/>
  Decryption Key: <b>{{decryption_key}}</b>
</div>
<form>
  <div class="alert alert-danger" role="alert" ng-show="error">{{error}}</div>
  <div class="form-group">
    <label>Secret</label>
    <textarea class="form-control" rows="3" ng-model="secret.secret"></textarea>
  </div>
  <label>Lifetime</label>
  <span class="help-block">Your secret will self destruct in...</span>
  <div class="radio">
    <label>
      <input ng-checked="true" type="radio" ng-model="secret.lifetime" value="1h">1 hour
    </label>
  </div>
  <div class="radio">
    <label>
      <input type="radio" ng-model="secret.lifetime" value="1d" checked>1 day
    </label>
  </div>
  <div class="radio">
    <label>
      <input type="radio" ng-model="secret.lifetime" value="1w">1 week
    </label>
  </div>
  <button type="submit" class="btn btn-primary" ng-click="save(secret)">Store Secret</button>
</form>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yopass-3.0.5 lib/public/create-secret.html
yopass-3.0.4 lib/public/create-secret.html
yopass-3.0.3 lib/public/create-secret.html
yopass-3.0.1 lib/public/create-secret.html
yopass-3.0.0 lib/public/create-secret.html