Skip to content

Commit 8970cd6

Browse files
committed
INTEGRITY: Add navbar with logo.
1 parent 898ffd0 commit 8970cd6

File tree

5 files changed

+40
-0
lines changed

5 files changed

+40
-0
lines changed

fileset.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ def index():
4242
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
4343
</head>
4444
<body>
45+
<nav style="padding: 3px; border-bottom: 1px solid #ccc;">
46+
<a href="{{ url_for('index') }}">
47+
<img src="{{ url_for('static', filename='integrity_service_logo_256.png') }}" alt="Logo" style="height:60px; vertical-align:middle;">
48+
</a>
49+
</nav>
4550
<h1>Fileset Database</h1>
4651
<h2>Fileset Actions</h2>
4752
<ul>
@@ -138,6 +143,11 @@ def fileset():
138143
<link rel="stylesheet" type="text/css" href="{{{{ url_for('static', filename='style.css') }}}}">
139144
</head>
140145
<body>
146+
<nav style="padding: 3px; border-bottom: 1px solid #ccc;">
147+
<a href="{{{{ url_for('index') }}}}">
148+
<img src="{{{{ url_for('static', filename='integrity_service_logo_256.png') }}}}" alt="Logo" style="height:60px; vertical-align:middle;">
149+
</a>
150+
</nav>
141151
<h2><u>Fileset: {id}</u></h2>
142152
<table>
143153
"""
@@ -466,6 +476,11 @@ def match_fileset_route(id):
466476
<link rel="stylesheet" type="text/css" href="{{{{ url_for('static', filename='style.css') }}}}">
467477
</head>
468478
<body>
479+
<nav style="padding: 3px; border-bottom: 1px solid #ccc;">
480+
<a href="{{{{ url_for('index') }}}}">
481+
<img src="{{{{ url_for('static', filename='integrity_service_logo_256.png') }}}}" alt="Logo" style="height:60px; vertical-align:middle;">
482+
</a>
483+
</nav>
469484
<h2>Matched Filesets for Fileset: {id}</h2>
470485
<table>
471486
<tr>
@@ -553,6 +568,11 @@ def merge_fileset(id):
553568
<link rel="stylesheet" type="text/css" href="{{{{ url_for('static', filename='style.css') }}}}">
554569
</head>
555570
<body>
571+
<nav style="padding: 3px; border-bottom: 1px solid #ccc;">
572+
<a href="{{{{ url_for('index') }}}}">
573+
<img src="{{{{ url_for('static', filename='integrity_service_logo_256.png') }}}}" alt="Logo" style="height:60px; vertical-align:middle;">
574+
</a>
575+
</nav>
556576
<h2>Search Results for '{search_query}'</h2>
557577
<form method="POST">
558578
<input type="text" name="search" placeholder="Search fileset">
@@ -587,6 +607,11 @@ def merge_fileset(id):
587607
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
588608
</head>
589609
<body>
610+
<nav style="padding: 3px; border-bottom: 1px solid #ccc;">
611+
<a href="{{ url_for('index') }}">
612+
<img src="{{ url_for('static', filename='integrity_service_logo_256.png') }}" alt="Logo" style="height:60px; vertical-align:middle;">
613+
</a>
614+
</nav>
590615
<h2>Search Fileset to Merge</h2>
591616
<form method="POST">
592617
<input type="text" name="search" placeholder="Search fileset">
@@ -641,6 +666,11 @@ def possible_merge_filesets(id):
641666
<link rel="stylesheet" type="text/css" href="{{{{ url_for('static', filename='style.css') }}}}">
642667
</head>
643668
<body>
669+
<nav style="padding: 3px; border-bottom: 1px solid #ccc;">
670+
<a href="{{{{ url_for('index') }}}}">
671+
<img src="{{{{ url_for('static', filename='integrity_service_logo_256.png') }}}}" alt="Logo" style="height:60px; vertical-align:middle;">
672+
</a>
673+
</nav>
644674
<h2>Possible Merges for fileset-'{id}'</h2>
645675
<table>
646676
<tr><th>ID</th><th>Game Name</th><th>Platform</th><th>Language</th><th>Extra</th><th>Details</th><th>Action</th></tr>
@@ -748,6 +778,11 @@ def highlight_differences(source, target):
748778
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
749779
</head>
750780
<body>
781+
<nav style="padding: 3px; border-bottom: 1px solid #ccc;">
782+
<a href="{{ url_for('index') }}">
783+
<img src="{{ url_for('static', filename='integrity_service_logo_256.png') }}" alt="Logo" style="height:60px; vertical-align:middle;">
784+
</a>
785+
</nav>
751786
<h2>Confirm Merge</h2>
752787
<table border="1">
753788
<tr><th>Field</th><th>Source Fileset</th><th>Target Fileset</th></tr>

pagination.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ def create_page(
141141
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
142142
</head>
143143
<body>
144+
<nav style="padding: 3px; margin-bottom: 20px; border-bottom: 1px solid #ccc;">
145+
<a href="{{ url_for('index') }}">
146+
<img src="{{ url_for('static', filename='integrity_service_logo_256.png') }}" alt="Logo" style="height:60px; vertical-align:middle;">
147+
</a>
148+
</nav>
144149
<form id='filters-form' method='GET' onsubmit='remove_empty_inputs()'>
145150
<table>
146151
"""
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)