Before the repair, there ___ two loose panels above the doorway.
Explanation
Two loose panels is plural, and before the repair places the clause in the past, so were supplies both number and tense. Was is singular, is is present, and be is non-finite in this context.