Skip to content

Commit 8cacdf2

Browse files
committed
added hover 'rename' button after file name [see #125]
1 parent b3d0e38 commit 8cacdf2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/main/webapp/WEB-INF/Index.jsp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,10 @@
399399
{{# if( entry.filePath != "/" ) { }}
400400
<div class="attribute-name">file name:</div>
401401
<div class="attribute-detail">
402-
<span class="on-not-edit text-archive-entry-filename">{{# print(escape(entry.fileName)); }}</span>
402+
<span class="on-not-edit text-archive-entry-filename edit-object">
403+
{{# print(escape(entry.fileName)); }}
404+
<span class="edit-link"><a href="#" class="archive-file-edit">[Rename]</a></span>
405+
</span>
403406
<input type="text" class="on-edit" name="archiveEntryFileName" value="{{# print(escape(entry.fileName)); }}" placeholder="file name" />
404407
</div>
405408
{{# } }}

0 commit comments

Comments
 (0)