This allows adding and removing custom fields from node types. Currently does not work if the Node Type does not have any initial custom field.
103 lines
4.4 KiB
HTML
103 lines
4.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Attract</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<link href="{{ url_for('static', filename='assets/css/bootstrap.min.css') }}" rel="stylesheet">
|
|
<link href="{{ url_for('static', filename='assets/css/chosen.min.css') }}" rel="stylesheet">
|
|
<link href="{{ url_for('static', filename='assets/css/bootstrap-markdown.min.css') }}" rel="stylesheet">
|
|
<link href="{{ url_for('static', filename='assets/css/dataTables.bootstrap.css') }}" rel="stylesheet">
|
|
<link href="{{ url_for('static', filename='assets/css/attract.css') }}" rel="stylesheet">
|
|
<link href="{{ url_for('static', filename='assets/css/bootstrap-colorpicker.min.css') }}" rel="stylesheet">
|
|
|
|
<link rel="shortcut icon" href="{{ url_for('static', filename='assets/ico/favicon.png') }}">
|
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ url_for('static', filename='assets/ico/apple-touch-icon-144-precomposed.png') }}">
|
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ url_for('static', filename='assets/ico/apple-touch-icon-114-precomposed.png') }}">
|
|
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ url_for('static', filename='assets/ico/apple-touch-icon-72-precomposed.png') }}">
|
|
<link rel="apple-touch-icon-precomposed" href="{{ url_for('static', filename='assets/ico/apple-touch-icon-57-precomposed.png') }}">
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button data-target=".navbar-collapse" data-toggle="collapse" class="navbar-toggle" type="button">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a href="/" class="navbar-brand">Attract</a>
|
|
</div>
|
|
<div class="navbar-collapse collapse">
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
|
<li id="fat-menu" class="dropdown">
|
|
<a href="#" id="drop3" class="dropdown-toggle" data-toggle="dropdown">User <b class="caret"></b></a>
|
|
<ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
|
|
<li><a role="menuitem" tabindex="-1" href="">Tasks</a></li>
|
|
<li><a role="menuitem" tabindex="-1" href="">Profile</a></li>
|
|
<li class="divider"></li>
|
|
<li><a role="menuitem" tabindex="-1" href="{{url_for('node_types.index')}}">Node Types</a></li>
|
|
<li><a role="menuitem" tabindex="-1" href="{{url_for('nodes.index')}}">All Nodes</a></li>
|
|
<li class="divider"></li>
|
|
<li><a role="menuitem" tabindex="-1" href="">Log out</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
</div><!--/.navbar-collapse -->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
{% block sidebar %}
|
|
<div class="col-md-3">
|
|
<div class="list-group">
|
|
<a href="{{url_for('shots.index')}}" class="list-group-item {% if title == 'shots' %}active{% endif %}">Shots</a>
|
|
<a href="#" class="list-group-item {% if title == 'stats' %}active{% endif %}">Assets</a>
|
|
</div>
|
|
</div><!--/end col-md-3 -->
|
|
{% endblock %}
|
|
{% block body %}
|
|
{% endblock %}
|
|
</div><!--/row-->
|
|
<hr>
|
|
|
|
<footer>
|
|
<p>Attract 3 - Python powered</p>
|
|
</footer>
|
|
|
|
</div><!--/.fluid-container-->
|
|
|
|
{% assets filters="jsmin",
|
|
output="assets/packed/attract.js",
|
|
"assets/js/jquery.min.js",
|
|
"assets/js/bootstrap.min.js",
|
|
"assets/js/jquery.dataTables.min.js",
|
|
"assets/js/jquery.dataTables.fnGetColumnData.js",
|
|
"assets/js/jquery.dataTables.fnFilterClear.js",
|
|
"assets/js/jquery.dataTables.bootstrap.js",
|
|
"assets/js/jquery.chosen.min.js",
|
|
"assets/js/bootstrap-markdown.js",
|
|
"assets/js/markdown.js",
|
|
"assets/js/jquery.attract.js" %}
|
|
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
|
|
{% endassets %}
|
|
{% block footer_scripts %}
|
|
{% endblock %}
|
|
|
|
</body>
|
|
</html>
|
|
|