broad (small) changes to make style of all routes and jobs to be consistent, e.g. use underscords between words
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
<div class="dropdown-menu" aria-labelledby="PersonMenu">
|
||||
<a class="dropdown-item" href="{{url_for('new_person')}}">Create Person</a>
|
||||
<a class="dropdown-item" href="{{url_for('persons')}}">Show People</a>
|
||||
<a class="dropdown-item" href="{{url_for('aistats')}}">View stats of matches</a>
|
||||
<a class="dropdown-item" href="{{url_for('ai_stats')}}">View stats of matches</a>
|
||||
<a class="dropdown-item" href="{{url_for('run_ai_on_import')}}">Match in import path(s) </a>
|
||||
<a class="dropdown-item" href="{{url_for('run_ai_on_storage')}}">Match in storage path(s) </a>
|
||||
{% if config.ENV != "production" %}
|
||||
@@ -99,9 +99,9 @@
|
||||
<a class="dropdown-item" href="{{url_for('scan_ip')}}">Scan now (for new files)</a>
|
||||
<a class="dropdown-item" href="{{url_for('scan_sp')}}">Scan Storage Path</a>
|
||||
{% if config.ENV != "production" %}
|
||||
<a class="dropdown-item" href="{{url_for('forcescan')}}">Force Scan (delete data & rebuild)</a>
|
||||
<a class="dropdown-item" href="{{url_for('force_scan')}}">Force Scan (delete data & rebuild)</a>
|
||||
{% endif %}
|
||||
<a class="dropdown-item" href="{{url_for('wakeup')}}">Force wake the job manager</a>
|
||||
<a class="dropdown-item" href="{{url_for('wake_up')}}">Force wake the job manager</a>
|
||||
</div class="dropdow-menu">
|
||||
</div class="nav-item dropdown">
|
||||
<div class="d-flex nav-link flex-grow-1 justify-content-center p-0">
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</script>
|
||||
|
||||
<div class="container-fluid">
|
||||
<form id="main_form" method="POST" action="/ChangeFileOpts">
|
||||
<form id="main_form" method="POST" action="/change_file_opts">
|
||||
<input type="hidden" name="cwd" id="cwd" value="{{OPT.cwd}}">
|
||||
{% if search_term is defined %}
|
||||
<input type="hidden" name="search_term" id="view_term" value="{{search_term}}">
|
||||
@@ -253,7 +253,7 @@
|
||||
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<form id="nav_form" method="POST" action="/ChangeFileOpts">
|
||||
<form id="nav_form" method="POST" action="/change_file_opts">
|
||||
<input type="hidden" name="cwd" id="cwd" value="{{OPT.cwd}}">
|
||||
<div class="row">
|
||||
<div class="col my-auto d-flex justify-content-center">
|
||||
|
||||
@@ -27,9 +27,9 @@
|
||||
{% endif %}
|
||||
row+='<a href="{{url_for('joblog', id=job.id)}}">Job #{{job.id}} - {{job.name}}</a>'
|
||||
{% endif %}
|
||||
{% if job.name != "rmdups" %}
|
||||
{% if job.name != "rm_dups" %}
|
||||
{% for ex in job.extra %}
|
||||
{% if 'path' == ex.name or ('path_prefix'==ex.name and job.name == 'checkdups') %}
|
||||
{% if 'path' == ex.name or ('path_prefix'==ex.name and job.name == 'check_dups') %}
|
||||
row+=' ({{ex.name}} == {{ ex.value }})'
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
@@ -109,7 +109,7 @@ function ChangeDefault()
|
||||
data+="&default_grouping="+$('#grouping').val()
|
||||
data+="&default_import_folders="+$('#import_folders').val()
|
||||
data+="&default_storage_folders="+$('#storage_folders').val()
|
||||
$.ajax({ type: 'POST', data: data, url: '/changedefaults', success: function(data){ window.location='/states'; return false; } })
|
||||
$.ajax({ type: 'POST', data: data, url: '/change_defaults', success: function(data){ window.location='/states'; return false; } })
|
||||
}
|
||||
</script>
|
||||
{% endblock script_content %}
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
{% if search_term is defined %}
|
||||
data+="&search_term={{search_term}}"
|
||||
{% endif %}
|
||||
$.ajax({ type: 'POST', data: data, url: '/viewlist', success: function(res){
|
||||
$.ajax({ type: 'POST', data: data, url: '/view_list', success: function(res){
|
||||
current=res.current
|
||||
eids=res.eids
|
||||
objs=res.objs
|
||||
|
||||
Reference in New Issue
Block a user