Albirew/nyaa-pantsu
Albirew
/
nyaa-pantsu
Archivé
1
0
Bifurcation 0

hardcode css and js source for now

Cette révision appartient à :
Eliot Whalan 2017-05-04 14:03:43 +10:00
Parent 8383341dcd
révision bfd629adb3
2 fichiers modifiés avec 5 ajouts et 5 suppressions

Voir le fichier

@ -19,7 +19,7 @@
<![endif]--> <![endif]-->
<!-- Website CSS --> <!-- Website CSS -->
<link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="nyaa.pantsu.cat/css/style.css">
</head> </head>
<body> <body>
<nav class="navbar navbar-default"> <nav class="navbar navbar-default">
@ -60,7 +60,7 @@
<option value="5_10" {{if eq .Category "5_10"}}selected{{end}}>Live Action - Idol/Promotional Video</option> <option value="5_10" {{if eq .Category "5_10"}}selected{{end}}>Live Action - Idol/Promotional Video</option>
<option value="5_11" {{if eq .Category "5_11"}}selected{{end}}>Live Action - Raw</option> <option value="5_11" {{if eq .Category "5_11"}}selected{{end}}>Live Action - Raw</option>
</select> </select>
<input name="q" class="form-control col-md-1" placeholder="Search" type="text"> <input name="q" class="form-control" placeholder="Search" type="text">
<select name="max" class="form-control" value> <select name="max" class="form-control" value>
<option value="">Nb Item per Page</option> <option value="">Nb Item per Page</option>
<option value="5" {{if eq .QueryRecordCount 5}}selected{{end}}>5</option> <option value="5" {{if eq .QueryRecordCount 5}}selected{{end}}>5</option>
@ -138,6 +138,6 @@
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Main Javascript File --> <!-- Main Javascript File -->
<script type="text/javascript" charset="utf-8" src="js/main.js"></script> <script type="text/javascript" charset="utf-8" src="nyaa.pantsu.cat/js/main.js"></script>
</body> </body>
</html> </html>

Voir le fichier

@ -23,8 +23,8 @@ func getDBHandle() *gorm.DB {
dbInit, err := gorm.Open("sqlite3", "./nyaa.db") dbInit, err := gorm.Open("sqlite3", "./nyaa.db")
// Migrate the schema of Torrents // Migrate the schema of Torrents
// dbInit.AutoMigrate(&Torrents{}) //dbInit.AutoMigrate(&Torrents{})
// dbInit.AutoMigrate(&SubCategories{}) //dbInit.AutoMigrate(&Sub_Categories{})
checkErr(err) checkErr(err)
return dbInit return dbInit