Compare commits

...

3 Commits

Author SHA1 Message Date
BitPickups c17d16b970 adding files login_image.png and login_video.mp4 to the images folder
#These files work in combination with a modified /view/templeates/login.tpl file that integrates the files into the
#login page.
#the video is is just a small example video
#The content of the files can be easily replaced by site specific files that have to have the same name and have to be
#uploaded to the /images folder.

#/view/templeates/login.tpl changes:
#add the following from line 32 on behind the command {{/foreach}}

<video src="/images/login_video.mp4" width="320" controls>
           <p>Your browser doesn't support HTML5 video. Here is no link to another video instead.</p>
        </video>
	<img src="/images/login_image.png">
2021-07-16 07:07:13 +00:00
BitPickups 415f5de926 modified login.tlp: login template with login_image.png and login_video.mp4
#The following code was added to the original login.tpl
#The respective files are located in the folder /images and can be easily replaced with files of the same name with #site specific content by uploading those respective files to the server
#no files no changes in the original login appearance.

<video src="/images/login_video.mp4" width="320" controls>
           <p>Your browser doesn't support HTML5 video. There is no link to another video instead.</p>
        </video>
	<img src="/images/login_image.png">
2021-07-16 06:50:46 +00:00
BitPickups 3bf9d6a0e6 image addons and .tar.gz to replace existing friendica buttons friendica-16→128px.png 2021-07-12 05:24:24 +00:00
7 changed files with 45 additions and 0 deletions

BIN
CCBYNCSA.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
CCfleur.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
friendicaCCfleur-128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

BIN
images/login_image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
images/login_video.mp4 Normal file

Binary file not shown.

View File

@ -0,0 +1,45 @@
<form id="login-form" action="{{$dest_url}}" role="form" method="post" >
<div id="login-group" role="group" aria-labelledby="login-head">
<input type="hidden" name="auth-params" value="login" />
<h3 id="login-head" class="sr-only">{{$login}}</h3>
<div id="login_standard">
{{include file="field_input.tpl" field=$lname}}
{{include file="field_password.tpl" field=$lpassword}}
<div id="login-lost-password-link">
<a href="lostpass" title="{{$lostpass}}" id="lost-password-link" >{{$lostlink}}</a>
</div>
</div>
{{if $openid}}
<div id="login_openid">
{{include file="field_openid.tpl" field=$lopenid}}
</div>
{{/if}}
<div id="login-submit-wrapper" >
<input type="submit" name="submit" id="login-submit-button" value="{{$login}}" />
</div>
{{include file="field_checkbox.tpl" field=$lremember}}
{{foreach $hiddens as $k=>$v}}
<input type="hidden" name="{{$k}}" value="{{$v}}" />
{{/foreach}}
<video src="/images/login_video.mp4" width="320" controls>
<p>Your browser doesn't support HTML5 video. There is no link to another video instead.</p>
</video>
<img src="/images/login_image.png">
</div>
</form>
{{if $register}}
<div id="login-extra-links">
<h3 id="login-head" class="sr-only">{{$register.title}}</h3>
<a href="{{$register.url}}" title="{{$register.title}}" id="register-link">{{$register.desc}}</a>
</div>
{{/if}}
<script type="text/javascript"> $(document).ready(function() { $("#id_{{$lname.0}}").focus();} );</script>