Added translation methods to JS and Python
Modified "Create"-form
This commit is contained in:
@ -3,7 +3,7 @@ vim: ts=2 noexpandtab
|
||||
-->
|
||||
{% set navigation_bar = [
|
||||
("/", "search", "Search", "glyphicon-search"),
|
||||
("/categorys", "categorys", "Categorys", "glyphicon-th"),
|
||||
("/categories", "categories", "Categories", "glyphicon-th"),
|
||||
("/create", "create", "Create", "glyphicon-plus")
|
||||
] -%}
|
||||
|
||||
@ -18,9 +18,14 @@ vim: ts=2 noexpandtab
|
||||
<title>{% block title %}TorrentIndexer{% endblock %}</title>
|
||||
<link href="{{ url_for("static", filename="css/bootstrap.css") }}" rel="stylesheet">
|
||||
<link href="{{ url_for("static", filename="css/style.css") }}" rel="stylesheet">
|
||||
<script src="{{ url_for("static", filename="js/main.js") }}"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
var global_strings = {{json.dumps(strings)|safe}};
|
||||
var global_categories = {{json.dumps(categories)|safe}};
|
||||
</script>
|
||||
<div class="site-wrapper">
|
||||
<div class="site-wrapper-inner">
|
||||
<div class="cover-container">
|
||||
|
Reference in New Issue
Block a user