add menu for entering hidden share
This commit is contained in:
@@ -72,6 +72,13 @@ tr:nth-child(even) {
|
||||
margin-left: 5em;
|
||||
}
|
||||
|
||||
#index_menu {
|
||||
float:right;
|
||||
padding: 8px;
|
||||
border: 4px solid lightslategray;
|
||||
background-color: #f3f3fb;
|
||||
}
|
||||
|
||||
#index_table {
|
||||
border-collapse: collapse;
|
||||
margin-left: 2em;
|
||||
|
||||
12
code/static/js/scripts.js
Normal file
12
code/static/js/scripts.js
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
function index_form_enter(event) {
|
||||
if (event.which || event.keyCode) {
|
||||
if ((event.which == 13) || (event.keyCode == 13)) {
|
||||
index_form_submit();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
function index_form_submit() {
|
||||
window.location = window.location + "/list/" + document.getElementById("index_form_name").value;
|
||||
}
|
||||
Reference in New Issue
Block a user