add support for user stylesheets in mobile versions; specify ids for body elements in main pages
This commit is contained in:
parent
64eb624cad
commit
27f5a18fcd
|
@ -99,8 +99,13 @@
|
||||||
<link rel="stylesheet" type="text/css" href="mobile.css">
|
<link rel="stylesheet" type="text/css" href="mobile.css">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<script type="text/javascript" src="tt-rss.js"></script>
|
<script type="text/javascript" src="tt-rss.js"></script>
|
||||||
|
|
||||||
|
<?php $user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?>
|
||||||
|
<?php if ($user_css_url) { ?>
|
||||||
|
<link rel="stylesheet" type="text/css" href="<?php echo $user_css_url ?>"/>
|
||||||
|
<?php } ?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body id="ttrssMobile">
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body id="ttrssPrefs">
|
||||||
|
|
||||||
<div id="overlay">
|
<div id="overlay">
|
||||||
<div id="overlay_inner">
|
<div id="overlay_inner">
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onresize="resize_headlines()">
|
<body onresize="resize_headlines()" id="ttrssMain">
|
||||||
|
|
||||||
<div id="overlay">
|
<div id="overlay">
|
||||||
<div id="overlay_inner">
|
<div id="overlay_inner">
|
||||||
|
|
Loading…
Reference in New Issue