Created
February 4, 2018 19:32
-
-
Save mitrallex/6f8479f94b4fd292eb3a006d56bacead to your computer and use it in GitHub Desktop.
laravel-file-hosting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="card-content"> | |
| <div class="content"> | |
| <p v-if="file !== editingFile" @dblclick="editFile(file)" :title="'Double click for editing filename'"> | |
| @{{ file.name + '.' + file.extension}} | |
| </p> | |
| <input class="input" v-if="file === editingFile" v-autofocus @keyup.enter="endEditing(file)" @blur="endEditing(file)" type="text" :placeholder="file.name" v-model="file.name"> | |
| <time datetime="2016-1-1">@{{ file.created_at }}</time> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment